diff options
author | Trevor Wu <trevor.wu@mediatek.com> | 2023-02-20 17:47:56 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-03-05 15:47:57 +0000 |
commit | abe3c16df2e110d4934ffdb2671243fc9e34c210 (patch) | |
tree | eb187c88e73cb3ac83f438c67378c14b55049901 /src/mainboard/google/geralt/Kconfig | |
parent | bc1fde310eb77111ad105c59883d6a05baa5f25d (diff) | |
download | coreboot-abe3c16df2e110d4934ffdb2671243fc9e34c210.tar.gz coreboot-abe3c16df2e110d4934ffdb2671243fc9e34c210.tar.bz2 coreboot-abe3c16df2e110d4934ffdb2671243fc9e34c210.zip |
mb/google/geralt: Add MAX98390 support for Geralt
Add a config "USE_MAX98390" to enable MAX98390 support.
MAX98390 is an I2S smart amplifier used in Geralt. It is also the
default speaker for Geralt reference board.
BUG=b:250459803
BRANCH=none
TEST=Verify beep function through CLI in depthcharge successfully.
Change-Id: I814f440cc5ac2a13404d01fb3baafeec092b1e74
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Signed-off-by: jason-ch chen <Jason-ch.Chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73412
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/geralt/Kconfig')
-rw-r--r-- | src/mainboard/google/geralt/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/Kconfig b/src/mainboard/google/geralt/Kconfig index 8de4fea93103..af4d7e0d8083 100644 --- a/src/mainboard/google/geralt/Kconfig +++ b/src/mainboard/google/geralt/Kconfig @@ -60,4 +60,14 @@ config DRIVER_TPM_I2C_ADDR config SDCARD_INIT bool default y + +choice + prompt "Speaker AMP for Geralt" + default USE_MAX98390 if BOARD_GOOGLE_GERALT + +config USE_MAX98390 + bool "MAX98390" + +endchoice + endif |