From 141ce4111220c317b318bce4cc5e378185a576be Mon Sep 17 00:00:00 2001 From: Harsha Priya Date: Mon, 11 Jul 2016 13:11:12 -0700 Subject: intel/amenia: Add Maxim98357a support Adds Maxim98357a support for amenia using the generic driver in drivers/generic/max98357 Change-Id: I333d4e810e42309ac76dd90c19f05cf3e3a518f1 Signed-off-by: Sathyanarayana Nujella Reviewed-on: https://review.coreboot.org/15624 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/intel/amenia/Kconfig | 3 +++ src/mainboard/intel/amenia/devicetree.cb | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mainboard/intel/amenia') diff --git a/src/mainboard/intel/amenia/Kconfig b/src/mainboard/intel/amenia/Kconfig index b3ef17bef4..36fde1b6e8 100644 --- a/src/mainboard/intel/amenia/Kconfig +++ b/src/mainboard/intel/amenia/Kconfig @@ -50,4 +50,7 @@ config INCLUDE_NHLT_BLOBS select NHLT_DA7219 select NHLT_MAX98357 +config DRIVERS_GENERIC_MAX98357A + default y + endif # BOARD_INTEL_AMENIA diff --git a/src/mainboard/intel/amenia/devicetree.cb b/src/mainboard/intel/amenia/devicetree.cb index dc6182c157..3f5873e784 100644 --- a/src/mainboard/intel/amenia/devicetree.cb +++ b/src/mainboard/intel/amenia/devicetree.cb @@ -37,7 +37,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 on end # - SATA device pci 13.0 off end # - PCIe-A 0 -- cgit v1.2.3