From 0c8d64cc63bfb05bae42ff9ddcf99269338dd64a Mon Sep 17 00:00:00 2001 From: Dtrain Hsu Date: Fri, 15 Dec 2023 11:44:15 +0800 Subject: mb/google/nissa/var/uldren: Reduce boot time for non-touchscreen sku Non-touchscreen sku will set related GPIOs to NC. If touchscreen enabled in overridetree for non-touchscreen sku, the boot time will be 6-7s. Set touchscreen probed to TOUCHSCREEN_UNKNOWN for reduce boot time from 6-7s to under 1s. BUG=b:316434359 BRANCH=firmware-nissa-15217.B TEST=Boot time (cbmem -t) from 6,460,972 to 922,844 Change-Id: I016ce762f726b7624bd060284f74f0992cb129b6 Signed-off-by: Dtrain Hsu Reviewed-on: https://review.coreboot.org/c/coreboot/+/79585 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: John Su Reviewed-by: Ian Feng Reviewed-by: Frank Wu --- .../google/brya/variants/uldren/overridetree.cb | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/brya/variants/uldren/overridetree.cb b/src/mainboard/google/brya/variants/uldren/overridetree.cb index 829f877a76..389b84205d 100644 --- a/src/mainboard/google/brya/variants/uldren/overridetree.cb +++ b/src/mainboard/google/brya/variants/uldren/overridetree.cb @@ -222,7 +222,9 @@ chip soc/intel/alderlake register "generic.enable_delay_ms" = "1" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x20" - device i2c 2c on end + device i2c 2c on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end chip drivers/i2c/generic register "hid" = ""ELAN0001"" @@ -238,7 +240,9 @@ chip soc/intel/alderlake register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" register "enable_delay_ms" = "1" register "has_power_resource" = "1" - device i2c 10 on end + device i2c 10 on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end chip drivers/i2c/hid register "generic.hid" = ""ELAN900C"" @@ -254,7 +258,9 @@ chip soc/intel/alderlake register "generic.enable_delay_ms" = "6" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" - device i2c 16 on end + device i2c 16 on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end chip drivers/i2c/hid register "generic.hid" = ""GXTP7996"" @@ -269,7 +275,9 @@ chip soc/intel/alderlake register "generic.enable_delay_ms" = "10" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" - device i2c 5d on end + device i2c 5d on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end chip drivers/i2c/hid register "generic.hid" = ""GTCH7502"" @@ -284,7 +292,9 @@ chip soc/intel/alderlake register "generic.enable_delay_ms" = "30" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x01" - device i2c 40 on end + device i2c 40 on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end chip drivers/i2c/hid register "generic.hid" = ""WDHT2601"" @@ -299,7 +309,9 @@ chip soc/intel/alderlake register "generic.enable_delay_ms" = "1" register "generic.has_power_resource" = "1" register "hid_desc_reg_offset" = "0x20" - device i2c 3c on end + device i2c 3c on + probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN + end end end device ref i2c3 on -- cgit v1.2.3