David Wu has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/55249 )
Change subject: mb/google/dedede/var/metaknight: Turn off lte power when s0ix
......................................................................
mb/google/dedede/var/metaknight: Turn off lte power when s0ix
Turn off lte power when s0ix for power saving.
BUG=b:188614547
TEST= measure lte power comsumption is 0mV under s0ix
Change-Id: I78a39d8cd7a348ad36be9b5969f5c75ed48df833
Signed-off-by: David Wu <david_wu(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/dedede/Kconfig
M src/mainboard/google/dedede/Kconfig.name
M src/mainboard/google/dedede/dsdt.asl
A src/mainboard/google/dedede/variants/metaknight/include/variant/acpi/lte.asl
4 files changed, 27 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/55249/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55249
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I78a39d8cd7a348ad36be9b5969f5c75ed48df833
Gerrit-Change-Number: 55249
Gerrit-PatchSet: 2
Gerrit-Owner: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/55221 )
Change subject: mb/intel/{adlrvp, sm}: Remove ADL-S devices from ADL-P/M devicetree.cb
......................................................................
mb/intel/{adlrvp, sm}: Remove ADL-S devices from ADL-P/M devicetree.cb
Change-Id: I095394d9a79506346b8464c850d03cbd8ce2b812
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55221
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/intel/adlrvp/devicetree.cb
M src/mainboard/intel/adlrvp/devicetree_m.cb
M src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb
3 files changed, 0 insertions(+), 30 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
diff --git a/src/mainboard/intel/adlrvp/devicetree.cb b/src/mainboard/intel/adlrvp/devicetree.cb
index 23913cc..04c3272 100644
--- a/src/mainboard/intel/adlrvp/devicetree.cb
+++ b/src/mainboard/intel/adlrvp/devicetree.cb
@@ -319,19 +319,9 @@
device pci 0e.0 off end # VMD
device pci 10.0 off end
device pci 10.1 off end
- device pci 10.6 off end # THC0
- device pci 10.7 off end # THC1
- device pci 11.0 off end
- device pci 11.1 off end
- device pci 11.2 off end
- device pci 11.3 off end
- device pci 11.4 off end
- device pci 11.5 off end
device pci 12.0 off end # SensorHUB
- device pci 12.5 off end
device pci 12.6 off end # GSPI2
device pci 13.0 off end # GSPI3
- device pci 13.1 off end
device pci 14.0 on
chip drivers/usb/acpi
register "desc" = ""Root Hub""
diff --git a/src/mainboard/intel/adlrvp/devicetree_m.cb b/src/mainboard/intel/adlrvp/devicetree_m.cb
index 4e4135f..4ebfff2 100644
--- a/src/mainboard/intel/adlrvp/devicetree_m.cb
+++ b/src/mainboard/intel/adlrvp/devicetree_m.cb
@@ -174,19 +174,9 @@
device pci 0e.0 off end # VMD
device pci 10.0 off end
device pci 10.1 off end
- device pci 10.6 off end # THC0
- device pci 10.7 off end # THC1
- device pci 11.0 off end
- device pci 11.1 off end
- device pci 11.2 off end
- device pci 11.3 off end
- device pci 11.4 off end
- device pci 11.5 off end
device pci 12.0 off end # SensorHUB
- device pci 12.5 off end
device pci 12.6 off end # GSPI2
device pci 13.0 off end # GSPI3
- device pci 13.1 off end
device pci 14.0 on
chip drivers/usb/acpi
register "desc" = ""Root Hub""
diff --git a/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb b/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb
index 43a23a1..52b35fa 100644
--- a/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb
+++ b/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb
@@ -200,19 +200,9 @@
device pci 0e.0 off end # VMD
device pci 10.0 off end
device pci 10.1 off end
- device pci 10.6 off end # THC0
- device pci 10.7 off end # THC1
- device pci 11.0 off end
- device pci 11.1 off end
- device pci 11.2 off end
- device pci 11.3 off end
- device pci 11.4 off end
- device pci 11.5 off end
device pci 12.0 off end # SensorHUB
- device pci 12.5 off end
device pci 12.6 off end # GSPI2
device pci 13.0 off end # GSPI3
- device pci 13.1 off end
device pci 14.0 on
chip drivers/usb/acpi
register "desc" = ""Root Hub""
--
To view, visit https://review.coreboot.org/c/coreboot/+/55221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I095394d9a79506346b8464c850d03cbd8ce2b812
Gerrit-Change-Number: 55221
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/55209 )
Change subject: soc/intel/alderlake: Add IDE-R and KT device into chipset.cb
......................................................................
soc/intel/alderlake: Add IDE-R and KT device into chipset.cb
Add IDE-R and KT device to chipset.cb and leave it off by default.
Change-Id: Iaa51e3dc107eb3f06ad7b2aad72a6bc112999d98
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55209
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/soc/intel/alderlake/chipset.cb
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
diff --git a/src/soc/intel/alderlake/chipset.cb b/src/soc/intel/alderlake/chipset.cb
index 53d75e4..c51f92c 100644
--- a/src/soc/intel/alderlake/chipset.cb
+++ b/src/soc/intel/alderlake/chipset.cb
@@ -121,6 +121,8 @@
device pci 15.3 alias i2c3 off end
device pci 16.0 alias heci1 off end
device pci 16.1 alias heci2 off end
+ device pci 16.2 alias ide_r off end
+ device pci 16.3 alias kt off end
device pci 16.4 alias heci3 off end
device pci 16.5 alias heci4 off end
device pci 17.0 alias sata off end
--
To view, visit https://review.coreboot.org/c/coreboot/+/55209
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaa51e3dc107eb3f06ad7b2aad72a6bc112999d98
Gerrit-Change-Number: 55209
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Sean Rhodes.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55128 )
Change subject: src/mainboard: Add Star Labs labtop series
......................................................................
Patch Set 15:
(10 comments)
Patchset:
PS15:
> Does this mean the patch has to submitted again?
Yes. I would create a separate change for the KBL and the CML boards, which should be easier to review. With the current state of affairs, using a variant setup with different SoCs is too impractical. I'd do something like what Purism does: mb/starlabs/labtop_kbl and mb/starlabs/labtop_cml.
PS15:
Looks like I forgot to send these comments
File src/mainboard/starlabs/labtop/Kconfig:
https://review.coreboot.org/c/coreboot/+/55128/comment/a5e42e4b_98e03efb
PS15, Line 26: # select HAVE_IFD_BIN
: # select HAVE_ME_BIN
> Nope. See previous comment.
Which one is the previous comment?
File src/mainboard/starlabs/labtop/acpi/mainboard.asl:
https://review.coreboot.org/c/coreboot/+/55128/comment/20676505_49e6aab7
PS15, Line 6: /* Power button device. */
: Device (PWRB)
: {
: Name (_HID, EisaId ("PNP0C0C"))
: Name (PBST, One)
:
: Method (_STA, 0, NotSerialized)
: {
: Return (0x0F)
: }
: }
> For what reason?
See ACPI spec, section 4.8.2.2.1 Power Button
The fixed power button should be good enough. I recall having a PWRB device in ASL caused two power button devices to appear. CB:27272 has a good explanation about it.
File src/mainboard/starlabs/labtop/mainboard.c:
https://review.coreboot.org/c/coreboot/+/55128/comment/928e9402_7b30369c
PS15, Line 33: #if CONFIG(BOARD_STARLABS_LABTOP_CML)
> How?
Just use C code, and let the compiler optimise out the unreachable paths:
if (CONFIG(BOARD_STARLABS_LABTOP_CML))
return "L4";
else
return "L3-U";
endif
https://review.coreboot.org/c/coreboot/+/55128/comment/6366463c_9a331925
PS15, Line 52: /* Override smbios_mainboard_board_type */
: smbios_board_type smbios_mainboard_board_type(void)
: {
: return SMBIOS_BOARD_TYPE_MOTHERBOARD;
: }
> Why?
It's the default board type since CB:50180
File src/mainboard/starlabs/labtop/ramstage.c:
https://review.coreboot.org/c/coreboot/+/55128/comment/e8b18f5d_d25e16f6
PS15, Line 10: #if CONFIG(BOARD_STARLABS_LABTOP_CML)
> Is there any advantage? Not being difficult, simply interested.
It's cleaner. Plus, FSP likes to reconfigure GPIOs: having coreboot configure GPIOs after FSP is done can prevent weird issues if FSP decides it knows better.
File src/mainboard/starlabs/labtop/variants/cml/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/55128/comment/2cb0907b_9018fc56
PS15, Line 140: device pci 00.0 on end
> It will always be present on our hardware, can remove though
I would remove it for the sake of correctness. The only difference it makes is that the `on_mainboard` field of the device gets unset.
File src/mainboard/starlabs/labtop/variants/cml/include/variant/hda_verb.h:
https://review.coreboot.org/c/coreboot/+/55128/comment/00a34c34_73ea9eb1
PS15, Line 36: /* ONE DOES NOT SIMPLY
: MAKE IT WORK WITH WINDOWS */
> A comment is necassary. […]
Well, we can have the best of both worlds: the helpful reasoning and the meme 😉
File src/mainboard/starlabs/labtop/variants/kbl/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/55128/comment/c954dec1_21e8fd51
PS15, Line 24: .up_delay_ms= 200,// T3
: .down_delay_ms= 0,// T10
: .cycle_delay_ms = 500,// T12
: .backlight_on_delay_ms=50,// T7
: .backlight_off_delay_ms = 0,// T9
: .backlight_pwm_hz = 200,
> As far as I know, nit is an achaic term for brightness of a display. […]
In the context of code reviews, it means something is a minor issue. This one, for instance, is just a matter of aesthetics. I... honestly don't know where this meaning of "nit" comes from, though.
--
To view, visit https://review.coreboot.org/c/coreboot/+/55128
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iffa6061b0e600880b0c93746f35b1731e4841e31
Gerrit-Change-Number: 55128
Gerrit-PatchSet: 15
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Comment-Date: Sat, 05 Jun 2021 14:08:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Rhodes <admin(a)starlabs.systems>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Sean Rhodes.
Andy Pont has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55128 )
Change subject: src/mainboard: Add Star Labs labtop series
......................................................................
Patch Set 15:
(3 comments)
File src/mainboard/starlabs/labtop/mainboard.c:
https://review.coreboot.org/c/coreboot/+/55128/comment/1d4b3640_97d7391a
PS15, Line 33: #if CONFIG(BOARD_STARLABS_LABTOP_CML)
> How?
if (CONFIG(BOARD_STARLABS_LABTOP_CML))
return "L4";
else
return "L3-U";
https://review.coreboot.org/c/coreboot/+/55128/comment/4d78cb3d_15bae972
PS15, Line 52: /* Override smbios_mainboard_board_type */
: smbios_board_type smbios_mainboard_board_type(void)
: {
: return SMBIOS_BOARD_TYPE_MOTHERBOARD;
: }
> Why?
When this file was originally created this function returned SMBIOS_BOARD_TYPE_UNKNOWN. As of commit d37cfb7 it was changed to SMBIOS_BOARD_TYPE_MOTHERBOARD and no longer needs to be overridden.
File src/mainboard/starlabs/labtop/variants/kbl/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/55128/comment/1a10a42a_6b5c118f
PS15, Line 24: .up_delay_ms= 200,// T3
: .down_delay_ms= 0,// T10
: .cycle_delay_ms = 500,// T12
: .backlight_on_delay_ms=50,// T7
: .backlight_off_delay_ms = 0,// T9
: .backlight_pwm_hz = 200,
> As far as I know, nit is an achaic term for brightness of a display. […]
Short for "nit-pick"!
Have a look at src/mainboard/51nb/x210/devicetree.cb all the equals signs and hence the comments are aligned.
--
To view, visit https://review.coreboot.org/c/coreboot/+/55128
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iffa6061b0e600880b0c93746f35b1731e4841e31
Gerrit-Change-Number: 55128
Gerrit-PatchSet: 15
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Comment-Date: Sat, 05 Jun 2021 14:06:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Rhodes <admin(a)starlabs.systems>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment