From 76e9d6b1ac5b89fbc5fb5ad77b128920c11b995d Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Thu, 8 Feb 2018 11:52:48 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/23658 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Justin TerAvest --- src/mainboard/google/kahlee/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainboard/google/kahlee/Kconfig') 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 -- cgit v1.2.3