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@intel.com> Reviewed-on: https://review.coreboot.org/22458 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
3417ee9a3f
commit
1533dfdd0e
|
@ -124,6 +124,7 @@ config VARIANT_SPECIFIC_OPTIONS_NAMI
|
||||||
|
|
||||||
config VARIANT_SPECIFIC_OPTIONS_NAUTILUS
|
config VARIANT_SPECIFIC_OPTIONS_NAUTILUS
|
||||||
def_bool n
|
def_bool n
|
||||||
|
select DRIVERS_GENERIC_MAX98357A
|
||||||
select DRIVERS_I2C_DA7219
|
select DRIVERS_I2C_DA7219
|
||||||
select DRIVERS_PS2_KEYBOARD
|
select DRIVERS_PS2_KEYBOARD
|
||||||
select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA
|
select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA
|
||||||
|
|
|
@ -311,6 +311,11 @@ chip soc/intel/skylake
|
||||||
device pci 17.0 off end # SATA
|
device pci 17.0 off end # SATA
|
||||||
device pci 19.0 on end # UART #2
|
device pci 19.0 on end # UART #2
|
||||||
device pci 19.1 on
|
device pci 19.1 on
|
||||||
|
chip drivers/generic/max98357a
|
||||||
|
register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)"
|
||||||
|
register "sdmode_delay" = "5"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
chip drivers/i2c/da7219
|
chip drivers/i2c/da7219
|
||||||
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
|
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
|
||||||
register "btn_cfg" = "50"
|
register "btn_cfg" = "50"
|
||||||
|
|
Loading…
Reference in New Issue