EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32330
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
mb/google/sarein: Add power control for Sarien touchscreen
This change will save touchscreen power leakage 2-3mW in S0iX and increase T2 display time delay to meet display panel requirement.
BUG=b:129899315 TEST= Measure touchscreen power from Sarien during S0iX
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: I48419132ba734f20ad5cf484c2dda609570a6dd0 --- M src/mainboard/google/sarien/variants/sarien/devicetree.cb 1 file changed, 14 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/32330/1
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb index e4a92a9..bdd134a 100644 --- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb +++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb @@ -311,10 +311,12 @@ register "generic.desc" = ""Touchscreen"" register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "generic.probed" = "1" + register "generic.reset_gpio" = + "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E7)" + register "generic.reset_delay_ms" = "10" register "generic.enable_gpio" = - "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" - register "generic.enable_delay_ms" = "5" - register "generic.enable_off_delay_ms" = "100" + "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" + register "generic.enable_delay_ms" = "55" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x0" device i2c 10 on end @@ -324,10 +326,12 @@ register "generic.desc" = ""ELAN Touchscreen"" register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "generic.probed" = "1" + register "generic.reset_gpio" = + "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E7)" + register "generic.reset_delay_ms" = "10" register "generic.enable_gpio" = - "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" - register "generic.enable_delay_ms" = "5" - register "generic.enable_off_delay_ms" = "100" + "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" + register "generic.enable_delay_ms" = "55" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" device i2c 10 on end @@ -337,8 +341,10 @@ register "desc" = ""Melfas Touchscreen"" register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "probed" = "1" - register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" - register "enable_delay_ms" = "5" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E7)" + register "reset_delay_ms" = "10" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" + register "enable_delay_ms" = "55" register "has_power_resource" = "1" device i2c 34 on end end
EricR Lai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
Patch Set 1:
This change is ready for review.
Simon Glass has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
Patch Set 1: Code-Review+1
Hello Simon Glass, Lijian Zhao, Duncan Laurie, build bot (Jenkins), Patrick Georgi, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32330
to look at the new patch set (#2).
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
mb/google/sarein: Add power control for Sarien touchscreen
This change will save touchscreen power leakage 2-3mW in S0iX and increase T2 display time delay to meet display panel requirement.
BUG=b:129899315 TEST= Measure touchscreen power from Sarien during S0iX
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: I48419132ba734f20ad5cf484c2dda609570a6dd0 --- M src/mainboard/google/sarien/variants/sarien/devicetree.cb 1 file changed, 9 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/32330/2
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
Patch Set 3: Code-Review+1
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarein: Add power control for Sarien touchscreen ......................................................................
Patch Set 3: Code-Review+1
(1 comment)
https://review.coreboot.org/#/c/32330/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32330/3//COMMIT_MSG@7 PS3, Line 7: sarein sarien
Hello Simon Glass, Angel Pons, Lijian Zhao, Paul Menzel, Duncan Laurie, build bot (Jenkins), Patrick Georgi, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32330
to look at the new patch set (#4).
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
mb/google/sarien: Add power control for Sarien touchscreen
This change will save touchscreen power leakage 2-3mW in S0iX and increase T2 display time delay to meet display panel requirement.
BUG=b:129899315 TEST= Measure touchscreen power from Sarien during S0iX
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: I48419132ba734f20ad5cf484c2dda609570a6dd0 --- M src/mainboard/google/sarien/variants/sarien/devicetree.cb 1 file changed, 9 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/32330/4
EricR Lai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/#/c/32330/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32330/3//COMMIT_MSG@7 PS3, Line 7: sarein
sarien
Done
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
Patch Set 4: Code-Review+2
Duncan Laurie has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
mb/google/sarien: Add power control for Sarien touchscreen
This change will save touchscreen power leakage 2-3mW in S0iX and increase T2 display time delay to meet display panel requirement.
BUG=b:129899315 TEST= Measure touchscreen power from Sarien during S0iX
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: I48419132ba734f20ad5cf484c2dda609570a6dd0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32330 Reviewed-by: Duncan Laurie dlaurie@chromium.org Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/sarien/variants/sarien/devicetree.cb 1 file changed, 9 insertions(+), 5 deletions(-)
Approvals: build bot (Jenkins): Verified Duncan Laurie: Looks good to me, approved Paul Menzel: Looks good to me, but someone else must approve Angel Pons: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb index d5e8afb..27c0913 100644 --- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb +++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb @@ -310,10 +310,12 @@ register "generic.desc" = ""ELAN Touchscreen"" register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "generic.probed" = "1" + register "generic.reset_gpio" = + "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E7)" + register "generic.reset_delay_ms" = "10" register "generic.enable_gpio" = - "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" - register "generic.enable_delay_ms" = "5" - register "generic.enable_off_delay_ms" = "100" + "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" + register "generic.enable_delay_ms" = "55" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" register "generic.device_present_gpio" = "GPP_B4" @@ -325,8 +327,10 @@ register "desc" = ""Melfas Touchscreen"" register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "probed" = "1" - register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" - register "enable_delay_ms" = "5" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E7)" + register "reset_delay_ms" = "10" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" + register "enable_delay_ms" = "55" register "has_power_resource" = "1" register "device_present_gpio" = "GPP_B4" register "device_present_gpio_invert" = "1"
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5: I finally got a google/sarien, and in developer mode, I am having trouble with the Melfas Touchscreen (panel). Eric, can you please check if 55 ms is enough time?
EricR Lai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5: I think if's follow the spec, I can help check the latest one.
EricR Lai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32330 )
Change subject: mb/google/sarien: Add power control for Sarien touchscreen ......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
I think if's follow the spec, I can help check the latest one.
oh, typo, it's followed the spec in that time.