Attention is currently required from: Nicholas Sudsgaard, Nico Huber.
Michał Żygowski has posted comments on this change by Michał Żygowski. ( https://review.coreboot.org/c/coreboot/+/83355?usp=email )
Change subject: superio/ite/common: Add common driver for GPIO and LED configuration
......................................................................
Patch Set 3:
(10 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/83355/comment/6a22d92c_1dacb046?us… :
PS1, Line 22: - Refactors the mainboards' code to use the new driver where possible
> When a patch has hundreds of lines and a list of things it does […]
Split into 3:
- this one
- CB:83468 (enabling the driver for in chip Kconfig)
- CB:83469 (MB code refactoring)
File src/mainboard/google/beltino/variants/mccloud/led.c:
https://review.coreboot.org/c/coreboot/+/83355/comment/4f992d5c_c32717cf?us… :
PS1, Line 18: ITE_LED_SHORT_PULSE_DISABLE,
: ITE_LED_PINMAP_CLEAR_DISABLE,
: ITE_LED_OUTPUT_LOW_DISABLE,
: ITE_LED_FREQ_1HZ);
> Random thought: Making the enum values masks (i.e. with the 1 shifted already) […]
I have added gpio_ctrl and led_ctrl for these properties/flags, although I have left the frequency as a separate parameter.
File src/mainboard/samsung/stumpy/smihandler.c:
https://review.coreboot.org/c/coreboot/+/83355/comment/af5b83d5_603ac0df?us… :
PS1, Line 25: ite_reg_write(GPIO_DEV, IT8772F_GPIO_REG_SELECT(3), 0x20);
> Yes, setup_sio_gpios already does it and further writes should not be necessary.
Done in CB:83469
https://review.coreboot.org/c/coreboot/+/83355/comment/9553f431_eb7bce44?us… :
PS1, Line 39: ite_reg_write(GPIO_DEV, IT8772F_GPIO_REG_SELECT(3), 0x20);
> Same.
Done in CB:83469
https://review.coreboot.org/c/coreboot/+/83355/comment/a3de068c_7f40d524?us… :
PS1, Line 49: ITE_LED_FREQ_1HZ);
> Right, enabling SIMPLE_IO_MODE in the ite_gpio_setup call should already disable the LED blinking fu […]
Done in CB:83469
File src/superio/ite/common/gpio.c:
https://review.coreboot.org/c/coreboot/+/83355/comment/c20e78a2_9a0f4b7b?us… :
PS1, Line 16: This ITE SIO GPIO driver support up to 10 GPIO sets
> "ITE SIO GPIO drivers only support up to 10 GPIO sets" sounds more natural as an error message.
Changed per suggestion
https://review.coreboot.org/c/coreboot/+/83355/comment/2ab25276_dd42fe53?us… :
PS1, Line 130: */
> Right, I will revisit these datasheets and fix
Added the function which checks for the register presence like for the other 2 registers. Haven't found any other chips which would have some oddities here.
File src/superio/ite/common/ite_gpio.h:
https://review.coreboot.org/c/coreboot/+/83355/comment/e415e5f0_f3415c81?us… :
PS1, Line 15: ITE_GPIO_PULLUP_DIS,
: ITE_GPIO_PULLUP_EN
> To keep the naming consistent with the other enums. […]
It has been converted to a single flag: ITE_GPIO_PULLUP_ENABLE
https://review.coreboot.org/c/coreboot/+/83355/comment/41548814_33b25d60?us… :
PS1, Line 63: ITE_LED_FREQ_2Hz_DUTY_50 = 3,
: ITE_LED_FREQ_0P25HZ_DUTY_25 = 4,
: ITE_LED_FREQ_0P25HZ_DUTY_75 = 5,
: ITE_LED_FREQ_0P125HZ_DUTY_25 = 6,
: ITE_LED_FREQ_0P125Hz_DUTY_75 = 7,
: ITE_LED_FREQ_0P4Hz_DUTY_20 = 8,
: ITE_LED_FREQ_0P5Hz_DUTY_50 = 16,
: ITE_LED_FREQ_0P125Hz_DUTY_50 = 24,
> Is there a reason the 'z' is not capitalized for some of these enums? […]
Applied.
File src/superio/ite/it8772f/it8772f.h:
https://review.coreboot.org/c/coreboot/+/83355/comment/01c5a181_ae782c65?us… :
PS1, Line 16:
: /* GPIO Polarity Select: 1: Inverting, 0: Non-inverting */
: #define IT8772F_GPIO_REG_POLARITY(x) (0xb0 + (x))
:
: /* GPIO Internal Pull-up: 1: Enable, 0: Disable */
: #define IT8772F_GPIO_REG_PULLUP(x) (0xb8 + (x))
:
: /* GPIO Function Select: 1: Simple I/O, 0: Alternate function */
: #define IT8772F_GPIO_REG_ENABLE(x) (0xc0 + (x))
:
: /* GPIO Mode: 0: input mode, 1: output mode */
: #define IT8772F_GPIO_REG_OUTPUT(x) (0xc8 + (x))
:
> Forgot to leave IT8772F_GPIO_REG_SELECT only. […]
Removed in CB:83469
ITE_GPIO_REG_SELECT moved to superio/ite/common/ite_gpio.h in this patch.
--
To view, visit https://review.coreboot.org/c/coreboot/+/83355?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If610d2809b56c63444c3406c26fad412c94136a5
Gerrit-Change-Number: 83355
Gerrit-PatchSet: 3
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Comment-Date: Mon, 15 Jul 2024 10:49:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Comment-In-Reply-To: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Attention is currently required from: Derek Huang, Terry Cheong.
Terry Cheong has posted comments on this change by Garen Wu. ( https://review.coreboot.org/c/coreboot/+/83465?usp=email )
Change subject: mb/google/brox/var/greenbayupoc: update ALC236 verb table
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/83465?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib9a8248c4a437fd204f40918d801a4a010a5c4df
Gerrit-Change-Number: 83465
Gerrit-PatchSet: 1
Gerrit-Owner: Garen Wu <wu.garen(a)inventec.corp-partner.google.com>
Gerrit-Reviewer: Derek Huang <derekhuang(a)google.com>
Gerrit-Reviewer: Ivan Chen <yulunchen(a)google.com>
Gerrit-Reviewer: Terry Cheong <htcheong(a)chromium.org>
Gerrit-Reviewer: Terry Cheong <htcheong(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Eren Peng <peng.eren(a)inventec.corp-partner.google.com>
Gerrit-Attention: Derek Huang <derekhuang(a)google.com>
Gerrit-Attention: Terry Cheong <htcheong(a)google.com>
Gerrit-Comment-Date: Mon, 15 Jul 2024 10:47:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Nico Huber.
Hello Nicholas Sudsgaard, Nico Huber, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/83355?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by Nico Huber, Verified+1 by build bot (Jenkins)
Change subject: superio/ite/common: Add common driver for GPIO and LED configuration
......................................................................
superio/ite/common: Add common driver for GPIO and LED configuration
Add a generic driver to configure GPIOs and LEDs on common ITE
SuperIOs. The driver supports most ITE SuperIOs, except Embedded
Controllers. The driver allows configuring every GPIO property
with pin granularity.
Verified against datasheets of all ITE SIOs currently supported by
coreboot, except IT8721F (assumed to be the same as IT8720F),
IT8623E and IT8629E.
Change-Id: If610d2809b56c63444c3406c26fad412c94136a5
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
M src/superio/ite/Makefile.mk
M src/superio/ite/common/Kconfig
A src/superio/ite/common/gpio.c
A src/superio/ite/common/ite_gpio.h
4 files changed, 297 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/83355/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/83355?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If610d2809b56c63444c3406c26fad412c94136a5
Gerrit-Change-Number: 83355
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Attention is currently required from: Felix Singer, Maciej Pijanowski, Nico Huber, Piotr Król.
Hello Nico Huber, Piotr Król, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/80501?usp=email
to look at the new patch set (#10).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: mb/protectli/vault_adl_p: Add initial support for VP6630/VP6650/VP6670
......................................................................
mb/protectli/vault_adl_p: Add initial support for VP6630/VP6650/VP6670
It is a new incoming Protectli product based on Alder Lake-P SoC.
More details and documentation will be added later.
TEST=Boot Ubuntu 22.04 LTS and Windows 11 on VP6670.
Change-Id: If4ae5b14b69806b6b0727d1ca1dcf56f47cfcd8e
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
A src/mainboard/protectli/vault_adl_p/Kconfig
A src/mainboard/protectli/vault_adl_p/Kconfig.name
A src/mainboard/protectli/vault_adl_p/Makefile.mk
A src/mainboard/protectli/vault_adl_p/acpi/superio.asl
A src/mainboard/protectli/vault_adl_p/board_beep.c
A src/mainboard/protectli/vault_adl_p/board_beep.h
A src/mainboard/protectli/vault_adl_p/board_info.txt
A src/mainboard/protectli/vault_adl_p/bootblock.c
A src/mainboard/protectli/vault_adl_p/data.vbt
A src/mainboard/protectli/vault_adl_p/devicetree.cb
A src/mainboard/protectli/vault_adl_p/die.c
A src/mainboard/protectli/vault_adl_p/dsdt.asl
A src/mainboard/protectli/vault_adl_p/gpio.c
A src/mainboard/protectli/vault_adl_p/gpio.h
A src/mainboard/protectli/vault_adl_p/hda_verb.c
A src/mainboard/protectli/vault_adl_p/mainboard.c
A src/mainboard/protectli/vault_adl_p/romstage_fsp_params.c
A src/mainboard/protectli/vault_adl_p/vboot-rwa.fmd
18 files changed, 1,268 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/80501/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/80501?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If4ae5b14b69806b6b0727d1ca1dcf56f47cfcd8e
Gerrit-Change-Number: 80501
Gerrit-PatchSet: 10
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Maciej Pijanowski <maciej.pijanowski(a)3mdeb.com>
Gerrit-Attention: Piotr Król <piotr.krol(a)3mdeb.com>
Attention is currently required from: Anastasios Koutian, Angel Pons.
Hello Nico Huber, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/83270?usp=email
to look at the new patch set (#7).
Change subject: cpu/intel/model_206ax: Allow package power limit clamping
......................................................................
cpu/intel/model_206ax: Allow package power limit clamping
Setting the clamp bit allows the CPU to operate below the highest
non-turbo frequency in order to obey the power limit.
Tested on ThinkPad T420 with the i7-3940XM.
Change-Id: Id0c0aedc29aca121d0fd1d8f8826089e13a026be
Signed-off-by: Anastasios Koutian <akoutian2(a)gmail.com>
---
M src/cpu/intel/model_206ax/chip.h
M src/cpu/intel/model_206ax/model_206ax_init.c
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/83270/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/83270?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id0c0aedc29aca121d0fd1d8f8826089e13a026be
Gerrit-Change-Number: 83270
Gerrit-PatchSet: 7
Gerrit-Owner: Anastasios Koutian <akoutian2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Anastasios Koutian <akoutian2(a)gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Attention is currently required from: Anastasios Koutian, Angel Pons.
Nico Huber has posted comments on this change by Anastasios Koutian. ( https://review.coreboot.org/c/coreboot/+/83270?usp=email )
Change subject: cpu/intel/model_206ax: Allow package power limit clamping
......................................................................
Patch Set 5: Code-Review+2
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/83270/comment/0ea0e615_f48049ef?us… :
PS5, Line 8:
> > "Package Clamping Limitation #1 (bit 16): Allow going below OS-requested P/T state setting during […]
Hmmm, that wasn't very accurate. More technically: The enable bit makes
to go down to the highest non-turbo state if necessary. And the clamping
bit makes it to go below that if necessary.
--
To view, visit https://review.coreboot.org/c/coreboot/+/83270?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id0c0aedc29aca121d0fd1d8f8826089e13a026be
Gerrit-Change-Number: 83270
Gerrit-PatchSet: 5
Gerrit-Owner: Anastasios Koutian <akoutian2(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Anastasios Koutian <akoutian2(a)gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Mon, 15 Jul 2024 09:55:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Anastasios Koutian <akoutian2(a)gmail.com>