summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorVictor Ding <victording@google.com>2022-11-03 02:16:13 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-11-07 14:14:38 +0000
commit00f227a21616f6b771b896ac117dcc9b341651c8 (patch)
tree251e08014e1e631cbd2c48bf35d3d1cf147a8ab2 /src/mainboard/google/brya
parent36695f278f0ca3cb3a3b0a8ca50b317505882df2 (diff)
mb/google: Probe p-sensor only for selected variants
Only a subset of variants has proximity sensors. This patch by itself does not introduce functional changes to any board. It is mainly to ease migrating SX9324 from the legacy driver to the linux one - allowing gradual migration variant by variant. BUG=b:242662878 TEST=Dump ACPI SSDT then verify they are identical w/ and w/o this patch Change-Id: Ic00e0d9eafcef2c9eaf32571fecf6190777cec36 Signed-off-by: Victor Ding <victording@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69191 Reviewed-by: Reka Norman <rekanorman@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/Kconfig.name5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 68c2780c19..a114860a3c 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -6,7 +6,6 @@ config BOARD_GOOGLE_BRYA_COMMON
select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_HID
select DRIVERS_I2C_NAU8825
- select DRIVERS_I2C_SX9324
select DRIVERS_INTEL_DPTF
select DRIVERS_INTEL_DPTF_SUPPORTS_TPCH
select DRIVERS_INTEL_PMC
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index fc912054dd..4ead1f99e0 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -39,6 +39,7 @@ config BOARD_GOOGLE_BRYA0
select BOARD_GOOGLE_BASEBOARD_BRYA
select SOC_INTEL_RAPTORLAKE
select DRIVERS_GENESYSLOGIC_GL9755
+ select DRIVERS_I2C_SX9324
select DRIVERS_INTEL_MIPI_CAMERA
select SOC_INTEL_COMMON_BLOCK_IPU
select SOC_INTEL_CRASHLOG
@@ -83,6 +84,7 @@ config BOARD_GOOGLE_NIVVIKS
select BOARD_ROMSIZE_KB_32768
select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENESYSLOGIC_GL9750
+ select DRIVERS_I2C_SX9324
select DRIVERS_INTEL_MIPI_CAMERA
select HAVE_WWAN_POWER_SEQUENCE
@@ -136,6 +138,7 @@ config BOARD_GOOGLE_SKOLAS
select BOARD_GOOGLE_BASEBOARD_SKOLAS
select DRIVERS_GENESYSLOGIC_GL9755
select DRIVERS_INTEL_MIPI_CAMERA
+ select DRIVERS_I2C_SX9324
select SOC_INTEL_COMMON_BLOCK_IPU
config BOARD_GOOGLE_SKOLAS4ES
@@ -143,6 +146,7 @@ config BOARD_GOOGLE_SKOLAS4ES
select BOARD_GOOGLE_BASEBOARD_SKOLAS
select DRIVERS_GENESYSLOGIC_GL9755
select DRIVERS_INTEL_MIPI_CAMERA
+ select DRIVERS_I2C_SX9324
select SOC_INTEL_COMMON_BLOCK_IPU
config BOARD_GOOGLE_TAEKO
@@ -252,6 +256,7 @@ config BOARD_GOOGLE_PUJJO
select DRIVERS_GENERIC_BAYHUB_LV2
select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENESYSLOGIC_GL9750
+ select DRIVERS_I2C_SX9324
select HAVE_WWAN_POWER_SEQUENCE
config BOARD_GOOGLE_XIVU