[coreboot-gerrit] New patch to review for coreboot: intel/amenia: Add Maxim98357a support
HARSHAPRIYA N (harshapriya.n@intel.com)
gerrit at coreboot.org
Tue Jul 12 21:55:03 CEST 2016
HARSHAPRIYA N (harshapriya.n at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15624
-gerrit
commit cb5cea8426471f202f82290208aacbac9e7ca83d
Author: Harsha Priya <harshapriya.n at intel.com>
Date: Mon Jul 11 13:11:12 2016 -0700
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 <sathyanarayana.nujella at intel.com>
---
src/mainboard/intel/amenia/Kconfig | 3 +++
src/mainboard/intel/amenia/devicetree.cb | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/intel/amenia/Kconfig b/src/mainboard/intel/amenia/Kconfig
index b3ef17b..36fde1b 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 3b25b2b..b62c924 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 on end # - PCIe-A 0
More information about the coreboot-gerrit
mailing list