[coreboot-gerrit] Change in coreboot[master]: google/nautilus: Add Maxim98357a support

Naveen Manohar (Code Review) gerrit at coreboot.org
Mon Nov 13 21:00:41 CET 2017


Naveen Manohar has uploaded this change for review. ( https://review.coreboot.org/22458


Change subject: google/nautilus: Add Maxim98357a support
......................................................................

google/nautilus: Add Maxim98357a support

Adds Maxim98357a support for Nautilus using the generic driver
in drivers/generic/max98357

BUG=b:68686020
TEST=With entire merged audio should be enabled on max98357
speaker codec.

Change-Id: I958bf7c1395259b3e3fb30332882fd51a48dc0cc
Signed-off-by: Naveen Manohar <naveen.m at intel.com>
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/variants/nautilus/devicetree.cb
2 files changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/22458/1

diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 596c33f..683adb3 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -60,6 +60,9 @@
 	select NHLT_DA7219
 	select NHLT_MAX98927
 
+config DRIVERS_GENERIC_MAX98357A
+	default y
+
 config MAINBOARD_DIR
 	string
 	default "google/poppy"
diff --git a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
index efaea3f..184318e 100644
--- a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
@@ -249,6 +249,11 @@
 		device pci 17.0 off end # SATA
 		device pci 19.0 on  end # UART #2
 		device pci 19.1 on
+			chip drivers/generic/max98357a
+				register "sdmode_gpio" =  "ACPI_GPIO_OUTPUT(GPP_A23)"
+				register "sdmode_delay" = "5"
+				device generic 0 on end
+			end
 			chip drivers/i2c/da7219
 				register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
 				register "btn_cfg" = "50"

-- 
To view, visit https://review.coreboot.org/22458
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I958bf7c1395259b3e3fb30332882fd51a48dc0cc
Gerrit-Change-Number: 22458
Gerrit-PatchSet: 1
Gerrit-Owner: Naveen Manohar <naveen.m at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171113/b574a25f/attachment.html>


More information about the coreboot-gerrit mailing list