[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nautilus: add nhlt support

Naveen Manohar (Code Review) gerrit at coreboot.org
Fri Nov 3 23:53:17 CET 2017


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


Change subject: mb/google/poppy/variants/nautilus: add nhlt support
......................................................................

mb/google/poppy/variants/nautilus: add nhlt support

Nautilus board uses Dialog da7219 headset codec,
Select the appropriate NHLT blob to be packaged in CBFS.
Also generate the required ACPI NHLT table for codec
and the supported topology in nautilus.

BUG=b:68686020
TEST=With the required driver support in kernel verify that
the Audio plays on headset and recording on headset mic

Change-Id: I104889f54da1de38854bcb72aabbc88b739d6c09
Signed-off-by: Naveen Manohar <naveen.m at intel.com>
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/variants/baseboard/nhlt.c
2 files changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/22325/1

diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index ceaf7eb..b2c9540 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -58,6 +58,7 @@
 	bool "Include blobs for nautilus audio."
 	select NHLT_DMIC_2CH
 	select NHLT_DMIC_4CH
+	select NHLT_DA7219
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/google/poppy/variants/baseboard/nhlt.c b/src/mainboard/google/poppy/variants/baseboard/nhlt.c
index 81557e4..9fb6ad9 100644
--- a/src/mainboard/google/poppy/variants/baseboard/nhlt.c
+++ b/src/mainboard/google/poppy/variants/baseboard/nhlt.c
@@ -28,6 +28,10 @@
 	if (nhlt_soc_add_dmic_array(nhlt, 4))
 		printk(BIOS_ERR, "Couldn't add 4CH DMIC arrays.\n");
 
+	/* Dialog DA7219 Headset codec. */
+	if (nhlt_soc_add_da7219(nhlt, AUDIO_LINK_SSP1))
+		printk(BIOS_ERR, "Couldn't add Dialog DA7219.\n");
+
 	/* Maxim MAX98927 Smart Amps for left and right channel */
 	if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0))
 		printk(BIOS_ERR, "Couldn't add Maxim MAX98927\n");

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I104889f54da1de38854bcb72aabbc88b739d6c09
Gerrit-Change-Number: 22325
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/20171103/2f89eebe/attachment-0001.html>


More information about the coreboot-gerrit mailing list