From 386ef64fb2ac84b88b948fcc0d16096d9325e7a3 Mon Sep 17 00:00:00 2001 From: Kun Liu Date: Wed, 2 Aug 2023 20:03:07 +0800 Subject: mb/google/rex/var/screebo: Add fw_config probe for GL9750 and RTS5227S Add support for SD card reader GL9750 and RTS5227S BUG=b:284273384 TEST=emerge-rex coreboot Change-Id: I98aa0d3e52c355f6c1528c912a6fa0f32652dda8 Signed-off-by: Kun Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/76912 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Rui Zhou Reviewed-by: Paul Menzel Reviewed-by: Kapil Porwal Reviewed-by: Subrata Banik --- src/mainboard/google/rex/Kconfig | 1 + src/mainboard/google/rex/variants/screebo/overridetree.cb | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig index 08382cb9bfa6..69bebe598bf7 100644 --- a/src/mainboard/google/rex/Kconfig +++ b/src/mainboard/google/rex/Kconfig @@ -59,6 +59,7 @@ config BOARD_GOOGLE_MODEL_SCREEBO def_bool n select BOARD_GOOGLE_BASEBOARD_REX select DRIVERS_GENERIC_ALC1015 + select DRIVERS_GENESYSLOGIC_GL9750 config BOARD_GOOGLE_BASEBOARD_OVIS def_bool n diff --git a/src/mainboard/google/rex/variants/screebo/overridetree.cb b/src/mainboard/google/rex/variants/screebo/overridetree.cb index a7b7d54e25ec..9320011a053e 100644 --- a/src/mainboard/google/rex/variants/screebo/overridetree.cb +++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb @@ -18,6 +18,11 @@ fw_config option TOUCHSCREEN_ILITEK 1 option TOUCHSCREEN_ELAN 2 end + field DB_SD 11 12 + option SD_ABSENT 0 + option SD_GL9750 1 + option SD_RTS5227S 2 + end end chip soc/intel/meteorlake @@ -251,7 +256,10 @@ chip soc/intel/meteorlake register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D03)" register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D02)" register "srcclk_pin" = "7" - device generic 0 on end + device generic 0 on + probe DB_SD SD_GL9750 + probe DB_SD SD_RTS5227S + end end end device ref tbt_pcie_rp0 on end -- cgit v1.2.3