Attention is currently required from: Ravi kumar, Taniya Das.
Hello build bot (Jenkins), Taniya Das,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/55949
to look at the new patch set (#2).
Change subject: soc/qualcomm/sc7280: Replace gpio offset value with macro
......................................................................
soc/qualcomm/sc7280: Replace gpio offset value with macro
Use the gpio offset macro instead of a constant value.
BUG=b:182963902
TEST=Validated on qualcomm sc7280 development board
Signed-off-by: Taniya Das <tdas(a)codeaurora.org>
Change-Id: Ia9e4b9ca7216092665f0a06ce467da01963c2364
---
M src/soc/qualcomm/sc7280/include/soc/gpio.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/55949/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55949
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia9e4b9ca7216092665f0a06ce467da01963c2364
Gerrit-Change-Number: 55949
Gerrit-PatchSet: 2
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Reviewer: Taniya Das <tdas(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Attention: Taniya Das <tdas(a)codeaurora.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Ravi kumar, Taniya Das, Ravi Kumar Bokka.
Hello build bot (Jenkins), Taniya Das,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/55948
to look at the new patch set (#2).
Change subject: soc/qualcomm/common/gpio: Define a macro for the gpio offset
......................................................................
soc/qualcomm/common/gpio: Define a macro for the gpio offset
Defining a macro for the gpio offset instead of a constant value.
BUG=b:182963902
TEST=Validated on qualcomm sc7280 development board
Signed-off-by: Taniya Das <tdas(a)codeaurora.org>
Change-Id: Iefdde8f8331cf1df2e88a2c8915aefb4fa091d65
---
M src/soc/qualcomm/common/include/soc/gpio_common.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/55948/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55948
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iefdde8f8331cf1df2e88a2c8915aefb4fa091d65
Gerrit-Change-Number: 55948
Gerrit-PatchSet: 2
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Reviewer: Taniya Das <tdas(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Ravi Kumar Bokka <c_rbokka(a)qualcomm.corp-partner.google.com>
Gerrit-CC: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Attention: Taniya Das <tdas(a)codeaurora.org>
Gerrit-Attention: Ravi Kumar Bokka <c_rbokka(a)qualcomm.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Ravi kumar, Shelley Chen, Julius Werner, mturney mturney.
Hello Shelley Chen, build bot (Jenkins), Julius Werner, mturney mturney,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/52662
to look at the new patch set (#22).
Change subject: sc7180: Add display support for mipi panels
......................................................................
sc7180: Add display support for mipi panels
Change-Id: Id698265a4e2399ad1c26e026e9a5f8ecd305467f
Signed-off-by: Vinod Polimera <vpolimer(a)codeaurora.org>
---
M src/mainboard/google/trogdor/Kconfig
M src/mainboard/google/trogdor/mainboard.c
M src/soc/qualcomm/sc7180/Makefile.inc
M src/soc/qualcomm/sc7180/display/dsi.c
A src/soc/qualcomm/sc7180/display/panel_driver.c
M src/soc/qualcomm/sc7180/include/soc/display/mipi_dsi.h
A src/soc/qualcomm/sc7180/include/soc/display/panel.h
7 files changed, 264 insertions(+), 22 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/52662/22
--
To view, visit https://review.coreboot.org/c/coreboot/+/52662
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id698265a4e2399ad1c26e026e9a5f8ecd305467f
Gerrit-Change-Number: 52662
Gerrit-PatchSet: 22
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: mturney mturney <mturney(a)codeaurora.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Ravi Kumar Bokka <c_rbokka(a)qualcomm.corp-partner.google.com>
Gerrit-CC: Vinod Polimera <vpolimer(a)qualcomm.corp-partner.google.com>
Gerrit-Attention: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: mturney mturney <mturney(a)codeaurora.org>
Gerrit-MessageType: newpatchset
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56056 )
Change subject: util/board_status: Do not display grep message
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/56056/comment/e7f1d96c_7cf3f15d
PS1, Line 14: Datei oder Verzeichnis nicht gefunden
> No such file or directory
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/56056
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib5400d4bd17e957b4cc1bf75bbd332d60ad226f5
Gerrit-Change-Number: 56056
Gerrit-PatchSet: 2
Gerrit-Owner: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Sun, 04 Jul 2021 17:51:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel, Nico Huber, Michał Żygowski, Marshall Dawson, Felix Held.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56062 )
Change subject: libpayload: Continue in ahci_cmdslot_exec() despite unset HBA_PxCMD_CR
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Those folks working with AMD devices, have you seen this on your systems? Or are you only using NVMe, so are not affected?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56062
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2b94cf4aa40dce587f52350ff4624946aeaafcc0
Gerrit-Change-Number: 56062
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 04 Jul 2021 17:49:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Ben Kao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56063 )
Change subject: soc/intel/jasperlake: Set xHCI LFPS period sampling off time
......................................................................
soc/intel/jasperlake: Set xHCI LFPS period sampling off time
Provide a option to set xHCI LFPS period sampling off time.
If the option is set in the devicetree, the bits[7:4] in
xHCI MMIO BAR + offset 0x80A4 (PMCTRL_REG) will be updated.
BUG=b:187801363
TEST=build coreboot with XhciLfpsSamplingOffTime and flash the
image to the device. Run following command to check the bits[7:4]:
iotools mmio_read32 "XHCI MMIO BAR + 0x80A4"
Signed-off-by: Ben Kao <ben.kao(a)intel.com>
Change-Id: I0e13b7f51771dc185a105c5a84a8e377ee4d7d73
---
M src/mainboard/google/dedede/variants/baseboard/devicetree.cb
M src/soc/intel/jasperlake/chip.h
M src/soc/intel/jasperlake/finalize.c
3 files changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/56063/1
diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
index 9064297..ae4d5a3 100644
--- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
@@ -206,6 +206,9 @@
# Enable HECI
register "HeciEnabled" = "1"
+ # Set xHCI LFPS period sampling off time, the default is 9.
+ register "XhciLfpsSamplingOffTime" = "9"
+
device domain 0 on
device pci 00.0 on end # Host Bridge
device pci 02.0 on end # Integrated Graphics Device
diff --git a/src/soc/intel/jasperlake/chip.h b/src/soc/intel/jasperlake/chip.h
index 36e9a13..cd71501 100644
--- a/src/soc/intel/jasperlake/chip.h
+++ b/src/soc/intel/jasperlake/chip.h
@@ -85,6 +85,11 @@
/* Wake Enable Bitmap for USB3 ports */
uint16_t usb3_wake_enable_bitmap;
+ /* Set the LFPS periodic sampling off time for USB3 Ports.
+ * Default value of PMCTRL_REG bits[7:4] is 9 which means periodic
+ * sampling off interval is 9ms, the range is from 0 to 15. */
+ uint8_t XhciLfpsSamplingOffTime;
+
/* SATA related */
uint8_t SataMode;
uint8_t SataSalpSupport;
diff --git a/src/soc/intel/jasperlake/finalize.c b/src/soc/intel/jasperlake/finalize.c
index 8219f0c..0ff55ee 100644
--- a/src/soc/intel/jasperlake/finalize.c
+++ b/src/soc/intel/jasperlake/finalize.c
@@ -26,6 +26,11 @@
#define MIPI_CLK (1 << 0)
#define HDPLL_CLK (0 << 0)
+#define XHCI_PMCTRL 0x80A4
+/* BIT[7:4] LFPS periodic sampling off time for USB3 Ports */
+#define PMCTRL_LFPS_OFFTIME_OFFSET 4
+#define PMCTRL_LFPS_OFFTIME_MAX 0xF
+
static void pch_enable_isclk(void)
{
pcr_or32(PID_ISCLK, CAMERA1_CLK, CAM_CLK_EN | MIPI_CLK);
@@ -38,6 +43,32 @@
pch_enable_isclk();
}
+static void set_xhci_lfps_sampling_offtime(uint8_t time_ms)
+{
+ void *addr;
+ uint32_t reg;
+ struct device *xhci_dev = PCH_DEV_XHCI;
+ const struct resource *res;
+
+ res = find_resource(xhci_dev, PCI_BASE_ADDRESS_0);
+ if (!res)
+ return;
+
+ if (time_ms > PMCTRL_LFPS_OFFTIME_MAX)
+ time_ms = PMCTRL_LFPS_OFFTIME_MAX;
+
+ addr = (void *)(uintptr_t)(res->base + XHCI_PMCTRL);
+ reg = read32(addr);
+ if ((reg >> PMCTRL_LFPS_OFFTIME_OFFSET & PMCTRL_LFPS_OFFTIME_MAX) ==
+ time_ms)
+ return;
+
+ reg &= ~(PMCTRL_LFPS_OFFTIME_MAX << PMCTRL_LFPS_OFFTIME_OFFSET);
+ reg |= time_ms << PMCTRL_LFPS_OFFTIME_OFFSET;
+ write32(addr, reg);
+ printk(BIOS_DEBUG, "Set XHCI PMCTRL register value 0x%x\n", reg);
+}
+
static void pch_finalize(void)
{
uint32_t reg32;
@@ -75,6 +106,9 @@
write32(pmcbase + CPPMVRIC3, reg32);
}
+ /* Set xHCI LFPS period sampling off time */
+ set_xhci_lfps_sampling_offtime(config->XhciLfpsSamplingOffTime);
+
pch_handle_sideband(config);
pmc_clear_pmcon_sts();
--
To view, visit https://review.coreboot.org/c/coreboot/+/56063
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e13b7f51771dc185a105c5a84a8e377ee4d7d73
Gerrit-Change-Number: 56063
Gerrit-PatchSet: 1
Gerrit-Owner: Ben Kao <ben.kao(a)intel.com>
Gerrit-MessageType: newchange
Attention is currently required from: Martin Roth, Stefan Reinauer, David Hendricks, Angel Pons, Public Gerrit, Werner Zeh.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/51208 )
Change subject: Add public gerrit account
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS4:
Nothing to add to my previous writers. I only can give -1, but I would give -2 if I could.
--
To view, visit https://review.coreboot.org/c/coreboot/+/51208
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf6d7c47bba10d89956cbb683b8da2e8e04e269d
Gerrit-Change-Number: 51208
Gerrit-PatchSet: 4
Gerrit-Owner: Public Gerrit <public-gerrit(a)guerrillamail.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <reinauer(a)chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Stefan Reinauer <reinauer(a)chromium.org>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Public Gerrit <public-gerrit(a)guerrillamail.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Sun, 04 Jul 2021 13:33:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Martin Roth, Stefan Reinauer, David Hendricks, Angel Pons, Public Gerrit, Werner Zeh.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/51208 )
Change subject: Add public gerrit account
......................................................................
Patch Set 4: Code-Review-1
--
To view, visit https://review.coreboot.org/c/coreboot/+/51208
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf6d7c47bba10d89956cbb683b8da2e8e04e269d
Gerrit-Change-Number: 51208
Gerrit-PatchSet: 4
Gerrit-Owner: Public Gerrit <public-gerrit(a)guerrillamail.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Stefan Reinauer <reinauer(a)chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Stefan Reinauer <reinauer(a)chromium.org>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Public Gerrit <public-gerrit(a)guerrillamail.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Sun, 04 Jul 2021 13:30:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment