diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-02-08 11:52:48 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-10 23:53:29 +0000 |
commit | 76e9d6b1ac5b89fbc5fb5ad77b128920c11b995d (patch) | |
tree | 7bf5d75374b1bf15b412b3dc05a4432ea11e186d /src/mainboard/google/kahlee/Kconfig | |
parent | 2bfae02d1df992d20f27abbb081eb0efbb1b58f5 (diff) |
mb/google/kahlee: Add grunt audio codecs to devicetree
Remove manually written asl entries for grunt's DA7219 and MAX98357A
audio codecs, and replace them with equivalent devicetree entries.
BUG=b:72121803
TEST=With grunt audio kernel patches, "aplay -l" shows playback devices:
**** List of PLAYBACK Hardware Devices ****
card 0: acpd7219m98357 [acpd7219m98357], device 0: Playback da7219-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: acpd7219m98357 [acpd7219m98357], device 2: HiFi Playback HiFi-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Change-Id: Ia658c54a28a5363aabb4c50478adaca1f46d166a
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/23658
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'src/mainboard/google/kahlee/Kconfig')
-rw-r--r-- | src/mainboard/google/kahlee/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig index 6e4e971de1..988afc3406 100644 --- a/src/mainboard/google/kahlee/Kconfig +++ b/src/mainboard/google/kahlee/Kconfig @@ -121,4 +121,10 @@ config DRIVER_TPM_I2C_ADDR depends on KAHLEE_USE_I2C_TPM default 0x50 +config GRUNT_AUDIO + bool + default y if !BOARD_GOOGLE_KAHLEE + select DRIVERS_GENERIC_MAX98357A + select DRIVERS_I2C_DA7219 + endif # BOARD_GOOGLE_BASEBOARD_KAHLEE |