summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunlong Jia <yunlong.jia@ecs.corp-partner.google.com>2023-06-27 02:43:03 +0000
committerSubrata Banik <subratabanik@google.com>2023-07-18 05:53:37 +0000
commit9e4968a623eae3e7cf6481c74faf8e0a4640fd54 (patch)
treebda895c6e0de546a5442b9510646dc4daf07077b
parent70c6fb42519d27bfce55a6825f52caf29fc58b71 (diff)
mb/google/nissa/var/gothrax: Set up driver as per schematics
Drivers for Pen Garage/SDCard Reader/LTE/SAR/WWAN and I2C for TPM. BUG=b:274707912 BRANCH=None Signed-off-by: Yunlong Jia <yunlong.jia@ecs.corp-partner.google.com> Change-Id: I1203ca13bd55b8ab96ce5d323a36ffde06860fa9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76104 Reviewed-by: Derek Huang <derekhuang@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyle Lin <kylelinck@google.com>
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/Kconfig.name5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index a8d6073a29..1a56d35dd8 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -165,6 +165,7 @@ config DRIVER_TPM_I2C_BUS
default 0x0 if BOARD_GOOGLE_YAVILLA
default 0x0 if BOARD_GOOGLE_ULDREN
default 0x0 if BOARD_GOOGLE_CRAASKOV
+ default 0x0 if BOARD_GOOGLE_GOTHRAX
config DRIVER_TPM_I2C_ADDR
hex
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 4e6b2dc033..f7f2b75fd2 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -386,6 +386,11 @@ config BOARD_GOOGLE_YAVILLA
config BOARD_GOOGLE_GOTHRAX
bool "-> Gothrax"
select BOARD_GOOGLE_BASEBOARD_NISSA
+ select DRIVERS_GENERIC_GPIO_KEYS
+ select DRIVERS_GENESYSLOGIC_GL9750
+ select DRIVERS_I2C_SX9324
+ select DRIVERS_I2C_SX9324_SUPPORT_LEGACY_LINUX_DRIVER
+ select HAVE_WWAN_POWER_SEQUENCE
config BOARD_GOOGLE_CRAASKOV
bool "-> Craaskov"