diff options
author | Harsha Priya <harshapriya.n@intel.com> | 2016-06-24 17:13:54 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-08 17:19:06 +0200 |
commit | 9217f9def0fa1282fc2b510ac143c751a055dee2 (patch) | |
tree | 2b14f601a47f6d3ac1d010bfa6167530eb689177 | |
parent | a845f427fee1f0870b7b673a0675ba04408bea57 (diff) | |
download | coreboot-9217f9def0fa1282fc2b510ac143c751a055dee2.tar.xz |
google/reef: Add Maxim98357a support
Adds Maxim98357a support for reef using the generic driver
in drivers/generic/max98357
Change-Id: I333d4e810e42309ac76dd90c19f05cf3e3a517e0
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-on: https://review.coreboot.org/15435
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | src/mainboard/google/reef/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/google/reef/devicetree.cb | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index 194a6ba64f..8bf2cbfeef 100644 --- a/src/mainboard/google/reef/Kconfig +++ b/src/mainboard/google/reef/Kconfig @@ -54,4 +54,7 @@ config INCLUDE_NHLT_BLOBS select NHLT_DA7219 select NHLT_MAX98357 +config DRIVERS_GENERIC_MAX98357A + default y + endif # BOARD_GOOGLE_REEF diff --git a/src/mainboard/google/reef/devicetree.cb b/src/mainboard/google/reef/devicetree.cb index e0831f4d91..89f6c2c21d 100644 --- a/src/mainboard/google/reef/devicetree.cb +++ b/src/mainboard/google/reef/devicetree.cb @@ -46,7 +46,12 @@ chip soc/intel/apollolake device pci 0d.1 on end # - PMC device pci 0d.2 on end # - SPI device pci 0d.3 on end # - Shared SRAM - device pci 0e.0 on end # - Audio + device pci 0e.0 on # - Audio + chip drivers/generic/max98357a + register "sdmode_gpio" = "ACPI_GPIO_OUTPUT(GPIO_76)" + device generic 0 on end + end + end device pci 11.0 on end # - ISH device pci 12.0 off end # - SATA device pci 13.0 off end # - Root Port 2 - PCIe-A 0 |