summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKun Liu <liukun11@huaqin.corp-partner.google.com>2023-08-02 20:03:07 +0800
committerSubrata Banik <subratabanik@google.com>2023-08-04 04:16:06 +0000
commit386ef64fb2ac84b88b948fcc0d16096d9325e7a3 (patch)
treec95eccabf3a5ba7f6f896f2ce06e9e5e74d6195c /src/mainboard/google
parent74d7192f22fc5355cec8b02291d8fb77678163d4 (diff)
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 <liukun11@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76912 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Rui Zhou <zhourui@huaqin.corp-partner.google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/rex/Kconfig1
-rw-r--r--src/mainboard/google/rex/variants/screebo/overridetree.cb10
2 files changed, 10 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 08382cb9bf..69bebe598b 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 a7b7d54e25..9320011a05 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