[coreboot-gerrit] New patch to review for coreboot: Enable DMIC-4ch for Reef variant

Sathyanarayana Nujella (sathyanarayana.nujella@intel.com) gerrit at coreboot.org
Thu Oct 27 03:15:39 CEST 2016


Sathyanarayana Nujella (sathyanarayana.nujella at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17158

-gerrit

commit 7609db864d657115fc0702cfd09ad60a650702f6
Author: Sathyanarayana Nujella <sathyanarayana.nujella at intel.com>
Date:   Wed Oct 26 17:35:39 2016 -0700

    Enable DMIC-4ch for Reef variant
    
    Update KConfig to include DMIC-4ch
    
    BUG=chrome-os-partner:56918
    BRANCH=none
    
    Change-Id: I5b2825b5f39f8962985a129f8ec65265fb18f0b2
    Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella at intel.com>
---
 src/mainboard/google/reef/Kconfig                   | 1 +
 src/mainboard/google/reef/variants/baseboard/nhlt.c | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index 33c9a6b..6f67cb1 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -94,6 +94,7 @@ config HEAP_SIZE
 config INCLUDE_NHLT_BLOBS
 	bool "Include blobs for audio."
 	select NHLT_DMIC_2CH_16B
+	select NHLT_DMIC_4CH_16B
 	select NHLT_DA7219
 	select NHLT_MAX98357
 
diff --git a/src/mainboard/google/reef/variants/baseboard/nhlt.c b/src/mainboard/google/reef/variants/baseboard/nhlt.c
index ef9ec6c..a27dd77 100644
--- a/src/mainboard/google/reef/variants/baseboard/nhlt.c
+++ b/src/mainboard/google/reef/variants/baseboard/nhlt.c
@@ -20,10 +20,13 @@
 
 void __attribute__((weak)) variant_nhlt_init(struct nhlt *nhlt)
 {
-	/* 2 Channel DMIC array. */
+	/* 2 & 4 Channel DMIC array. */
 	if (!nhlt_soc_add_dmic_array(nhlt, 2))
 		printk(BIOS_ERR, "Added 2CH DMIC array.\n");
 
+	if (!nhlt_soc_add_dmic_array(nhlt, 4))
+		printk(BIOS_ERR, "Added 4CH DMIC array.\n");
+
 	/* Dialog for Headset codec.
 	 * Headset codec is bi-directional but uses the same configuration
 	 * settings for render and capture endpoints.



More information about the coreboot-gerrit mailing list