summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/ghost/overridetree.cb17
2 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 010b1b8bfe..2c27c71a57 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -65,6 +65,7 @@ config BOARD_GOOGLE_BASEBOARD_GHOST
select BOARD_GOOGLE_BASEBOARD_BRYA if BOARD_GOOGLE_GHOST4ADL
select BOARD_GOOGLE_BASEBOARD_SKOLAS if !BOARD_GOOGLE_GHOST4ADL
select DRIVERS_I2C_CS42L42
+ select DRIVERS_I2C_MAX98396
select DRIVERS_INTEL_MIPI_CAMERA
select GBB_FLAG_DISABLE_LID_SHUTDOWN if VBOOT
select SOC_INTEL_COMMON_BLOCK_IPU
diff --git a/src/mainboard/google/brya/variants/ghost/overridetree.cb b/src/mainboard/google/brya/variants/ghost/overridetree.cb
index 76822a47f6..211819fa22 100644
--- a/src/mainboard/google/brya/variants/ghost/overridetree.cb
+++ b/src/mainboard/google/brya/variants/ghost/overridetree.cb
@@ -99,6 +99,23 @@ chip soc/intel/alderlake
register "hs_bias_sense_disable" = "true"
device i2c 48 on end
end
+ chip drivers/i2c/max98396
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
+ register "vmon_slot_no" = "0"
+ register "imon_slot_no" = "1"
+ register "uid" = "0"
+ register "desc" = ""Right Speaker Amp""
+ register "name" = ""MAXR""
+ device i2c 3c on end
+ end
+ chip drivers/i2c/max98396
+ register "vmon_slot_no" = "2"
+ register "imon_slot_no" = "3"
+ register "uid" = "1"
+ register "desc" = ""Left Speaker Amp""
+ register "name" = ""MAXL""
+ device i2c 3d on end
+ end
end
device ref i2c1 on
chip drivers/i2c/tpm