[coreboot-gerrit] Patch set updated for coreboot: google/reef: Add Maxim98357a support
HARSHAPRIYA N (harshapriya.n@intel.com)
gerrit at coreboot.org
Fri Jul 1 21:19:46 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/15435
-gerrit
commit 9b09a399315f8197373676cff0f423c092bd63f8
Author: Harsha Priya <harshapriya.n at intel.com>
Date: Fri Jun 24 17:13:54 2016 -0700
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 at intel.com>
---
src/mainboard/google/reef/Kconfig | 3 +++
src/mainboard/google/reef/devicetree.cb | 7 ++++++-
src/soc/intel/apollolake/Kconfig | 1 +
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index d64598d..bce6dce 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -45,4 +45,7 @@ config UART_FOR_CONSOLE
int
default 2
+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 d2b295f..4a3c8a3 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(114)"
+ 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
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 98ce7d8..9317827 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -50,6 +50,7 @@ config CPU_SPECIFIC_OPTIONS
select SOC_INTEL_COMMON
select SOC_INTEL_COMMON_GFX_OPREGION
select ADD_VBT_DATA_FILE
+ select DRIVERS_GENERIC_MAX98357A
config TPM_ON_FAST_SPI
bool
More information about the coreboot-gerrit
mailing list