diff options
author | Anil Kumar <anil.kumar.k@intel.com> | 2024-10-27 20:42:39 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-11-02 04:54:08 +0000 |
commit | 214e9743f8476b14f2b59ec51a790f88289874e6 (patch) | |
tree | aa5afb6ea3a3592428a042462d4512832905172f /src/mainboard/google/fatcat | |
parent | 91ef89b8af3fbee83b9b2ecf4e895330e7e4d58f (diff) |
mb/google/fatcat: Add devicetree for MAX98357A codec
Update device tree to support speaker o/p on MAX98357A AIC.
BUG=b:357011633
TEST=build coreboot image and test audio playback on Google/Fatcat board.
Signed-off-by: Anil Kumar <anil.kumar.k@intel.com>
Change-Id: I20de87f673e947f0e2332b818ebca01c0fa5e200
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84888
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/fatcat')
-rw-r--r-- | src/mainboard/google/fatcat/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/fatcat/variants/fatcat/overridetree.cb | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/Kconfig b/src/mainboard/google/fatcat/Kconfig index f47e5a518d..bc689725e9 100644 --- a/src/mainboard/google/fatcat/Kconfig +++ b/src/mainboard/google/fatcat/Kconfig @@ -53,6 +53,7 @@ config BOARD_GOOGLE_BASEBOARD_FATCAT config BOARD_GOOGLE_MODEL_FATCAT def_bool n select BOARD_GOOGLE_BASEBOARD_FATCAT + select DRIVERS_GENERIC_MAX98357A config BOARD_GOOGLE_FATCAT select BOARD_GOOGLE_MODEL_FATCAT diff --git a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb index bcaf92a9fe..efea05413a 100644 --- a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb @@ -614,6 +614,14 @@ chip soc/intel/pantherlake end end end + chip drivers/generic/max98357a + register "hid" = ""MX98360A"" + register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E19)" + register "sdmode_delay" = "5" + device generic 0 on + probe AUDIO AUDIO_MAX98360_ALC5682I_I2S + end + end end end end |