summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>2023-12-15 11:44:15 +0800
committerEric Lai <ericllai@google.com>2023-12-16 13:48:31 +0000
commit0c8d64cc63bfb05bae42ff9ddcf99269338dd64a (patch)
treebcab74c101477424b00a7aecdb9d048ce32b9aa8
parentf0c67127a90862de46625880e0d05b3c63081359 (diff)
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 <dtrain_hsu@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79585 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: John Su <john_su@compal.corp-partner.google.com> Reviewed-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/variants/uldren/overridetree.cb24
1 files changed, 18 insertions, 6 deletions
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