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>
This commit is contained in:
Dtrain Hsu 2023-12-15 11:44:15 +08:00 committed by Eric Lai
parent f0c67127a9
commit 0c8d64cc63
1 changed files with 18 additions and 6 deletions

View File

@ -222,7 +222,9 @@ chip soc/intel/alderlake
register "generic.enable_delay_ms" = "1" register "generic.enable_delay_ms" = "1"
register "generic.has_power_resource" = "1" register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x20" register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end device i2c 2c on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0001"" register "hid" = ""ELAN0001""
@ -238,7 +240,9 @@ chip soc/intel/alderlake
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
register "enable_delay_ms" = "1" register "enable_delay_ms" = "1"
register "has_power_resource" = "1" register "has_power_resource" = "1"
device i2c 10 on end device i2c 10 on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""ELAN900C"" register "generic.hid" = ""ELAN900C""
@ -254,7 +258,9 @@ chip soc/intel/alderlake
register "generic.enable_delay_ms" = "6" register "generic.enable_delay_ms" = "6"
register "generic.has_power_resource" = "1" register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01" register "hid_desc_reg_offset" = "0x01"
device i2c 16 on end device i2c 16 on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""GXTP7996"" register "generic.hid" = ""GXTP7996""
@ -269,7 +275,9 @@ chip soc/intel/alderlake
register "generic.enable_delay_ms" = "10" register "generic.enable_delay_ms" = "10"
register "generic.has_power_resource" = "1" register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01" register "hid_desc_reg_offset" = "0x01"
device i2c 5d on end device i2c 5d on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""GTCH7502"" register "generic.hid" = ""GTCH7502""
@ -284,7 +292,9 @@ chip soc/intel/alderlake
register "generic.enable_delay_ms" = "30" register "generic.enable_delay_ms" = "30"
register "generic.has_power_resource" = "1" register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01" register "hid_desc_reg_offset" = "0x01"
device i2c 40 on end device i2c 40 on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""WDHT2601"" register "generic.hid" = ""WDHT2601""
@ -299,7 +309,9 @@ chip soc/intel/alderlake
register "generic.enable_delay_ms" = "1" register "generic.enable_delay_ms" = "1"
register "generic.has_power_resource" = "1" register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x20" register "hid_desc_reg_offset" = "0x20"
device i2c 3c on end device i2c 3c on
probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
end
end end
end end
device ref i2c3 on device ref i2c3 on