diff options
Diffstat (limited to 'src/mainboard/google/poppy/variants/nocturne')
-rw-r--r-- | src/mainboard/google/poppy/variants/nocturne/devicetree.cb | 17 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nocturne/gpio.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nocturne/nhlt.c | 12 |
3 files changed, 7 insertions, 28 deletions
diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb index b69273a172..85392caf92 100644 --- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb +++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb @@ -274,23 +274,6 @@ chip soc/intel/skylake register "name" = ""MAXL"" device i2c 32 on end end - chip drivers/i2c/da7219 - register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F10_IRQ)" - register "btn_cfg" = "50" - register "mic_det_thr" = "500" - register "jack_ins_deb" = "20" - register "jack_det_rate" = ""32ms_64ms"" - register "jack_rem_deb" = "1" - register "a_d_btn_thr" = "0xa" - register "d_b_btn_thr" = "0x16" - register "b_c_btn_thr" = "0x21" - register "c_mic_btn_thr" = "0x3e" - register "btn_avg" = "4" - register "adc_1bit_rpt" = "1" - register "micbias_lvl" = "2600" - register "mic_amp_in_sel" = ""diff"" - device i2c 1a on end - end end # I2C #4 - Audio device pci 1c.0 on chip drivers/intel/wifi diff --git a/src/mainboard/google/poppy/variants/nocturne/gpio.c b/src/mainboard/google/poppy/variants/nocturne/gpio.c index f69409f0d5..da3adb3c2a 100644 --- a/src/mainboard/google/poppy/variants/nocturne/gpio.c +++ b/src/mainboard/google/poppy/variants/nocturne/gpio.c @@ -258,11 +258,11 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NC(GPP_E23), /* F0 : I2S2_SCLK ==> BOOT_BEEP_CLK */ - PAD_CFG_NF_1V8(GPP_F0, NONE, DEEP, NF1), + PAD_CFG_GPI_GPIO_DRIVER(GPP_F0, NONE, DEEP), /* F1 : I2S2_SFRM ==> BOOT_BEEP_BUFFER_OE */ - PAD_CFG_NF_1V8(GPP_F1, NONE, DEEP, NF1), + PAD_CFG_GPO(GPP_F1, 1, DEEP), /* F2 : I2S2_TXD ==> BOOT_BEEP_SFRM */ - PAD_CFG_NC(GPP_F2), + PAD_CFG_GPI_GPIO_DRIVER(GPP_F2, NONE, DEEP), /* F3 : I2S2_RXD ==> NC */ PAD_CFG_NC(GPP_F3), /* F4 : I2C2_SDA ==> NC */ diff --git a/src/mainboard/google/poppy/variants/nocturne/nhlt.c b/src/mainboard/google/poppy/variants/nocturne/nhlt.c index 6ff720e00e..04a44825eb 100644 --- a/src/mainboard/google/poppy/variants/nocturne/nhlt.c +++ b/src/mainboard/google/poppy/variants/nocturne/nhlt.c @@ -20,13 +20,9 @@ void variant_nhlt_init(struct nhlt *nhlt) { - /* 2 Channel DMIC array. */ - if (nhlt_soc_add_dmic_array(nhlt, 2)) - printk(BIOS_ERR, "Couldn't add 2CH DMIC array.\n"); - - /* Dialog DA7219 Headset codec. */ - if (nhlt_soc_add_da7219(nhlt, AUDIO_LINK_SSP1)) - printk(BIOS_ERR, "Couldn't add Dialog DA7219 codec.\n"); + /* 4 Channel DMIC array. */ + if (nhlt_soc_add_dmic_array(nhlt, 4)) + printk(BIOS_ERR, "Couldn't add 4CH DMIC array.\n"); /* MAXIM Smart Amps for left and right speakers. */ if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0)) @@ -37,6 +33,6 @@ void variant_nhlt_oem_overrides(const char **oem_id, const char **oem_table_id, uint32_t *oem_revision) { *oem_id = "GOOGLE"; - *oem_table_id = "NOCTURNEMAX"; + *oem_table_id = "NOCTURNE"; *oem_revision = 0; } |