mb/google/nightfury: Enable max98390 amp

This change enables max98390 audio codec on nightfury.

BUG=b:149443429
BRANCH=firmware-hatch-12672.B
TEST=Built and checked audio function on nightfury

Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com>
Change-Id: Ic9678583370cf5e41c87e35ba12f86572708fada
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41127
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Seunghwan Kim 2020-05-07 13:26:57 +09:00 committed by Patrick Georgi
parent dd956cbb57
commit a1d0fb031c
2 changed files with 18 additions and 8 deletions

View File

@ -87,6 +87,8 @@ config BOARD_GOOGLE_NIGHTFURY
bool "-> Nightfury"
select BOARD_GOOGLE_BASEBOARD_HATCH_LAPTOP
select BOARD_ROMSIZE_KB_16384
select CHROMEOS_DSM_CALIB
select DRIVERS_I2C_MAX98390
config BOARD_GOOGLE_PUFF
bool "-> Puff"

View File

@ -249,19 +249,27 @@ chip soc/intel/cannonlake
register "mic_amp_in_sel" = ""diff""
device i2c 0x1a on end
end
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 0""
register "uid" = "0"
register "name" = ""MXW0""
register "r0_calib_key" = ""dsm_calib_r0_0""
register "temperature_calib_key" = ""dsm_calib_temp_0""
device i2c 0x38 on end
end
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 1""
register "uid" = "1"
register "name" = ""MXW1""
register "r0_calib_key" = ""dsm_calib_r0_1""
register "temperature_calib_key" = ""dsm_calib_temp_1""
device i2c 0x39 on end
end
end
# No PCIe WiFi
device pci 1d.5 off end
device pci 1a.0 on end #eMMC
device pci 1e.3 off end # GSPI #1
device pci 1f.3 on
chip drivers/generic/max98357a
register "hid" = ""MX98357A""
register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H3)"
register "sdmode_delay" = "5"
device generic 0 on end
end
end # Intel HDA
end # domain
end