mb/google/brya/var/agah: Replace amp max98390 with max98360

Based on the latest schematic, agah will replace the Maxim 98390
speaker amps with Maxim max98360. This patch updates the
devicetree entries to reflect that.

BUG=b:210970640
BRANCH=brya
TEST=emerge-draco coreboot

Change-Id: I7ea36d276f7ffeae1510483027092e2bc59690fc
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63196
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Tony Huang 2022-03-30 14:59:19 +08:00 committed by Tim Wawrzynczak
parent bcfc87dbff
commit f00ab8c26a
2 changed files with 9 additions and 23 deletions

View File

@ -4,7 +4,6 @@ config BOARD_GOOGLE_AGAH
bool "-> Agah" bool "-> Agah"
select BOARD_GOOGLE_BASEBOARD_BRYA select BOARD_GOOGLE_BASEBOARD_BRYA
select DRIVERS_GENESYSLOGIC_GL9750 select DRIVERS_GENESYSLOGIC_GL9750
select DRIVERS_I2C_MAX98390
select PCIEXP_SUPPORT_RESIZABLE_BARS select PCIEXP_SUPPORT_RESIZABLE_BARS
select RT8168_GEN_ACPI_POWER_RESOURCE select RT8168_GEN_ACPI_POWER_RESOURCE
select RT8168_GET_MAC_FROM_VPD select RT8168_GET_MAC_FROM_VPD

View File

@ -127,28 +127,6 @@ chip soc/intel/alderlake
register "property_list[0].integer" = "1" register "property_list[0].integer" = "1"
device i2c 1a on end device i2c 1a on end
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""
register "dsm_param_file_name" = ""dsm_param_R""
register "vmon_slot_no" = "0"
register "imon_slot_no" = "1"
device i2c 0x3a 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""
register "dsm_param_file_name" = ""dsm_param_L""
register "vmon_slot_no" = "1"
register "imon_slot_no" = "0"
device i2c 0x3b on end
end
end #I2C0 end #I2C0
device ref i2c1 on end # GPU device ref i2c1 on end # GPU
device ref i2c2 on end # External GPU device ref i2c2 on end # External GPU
@ -191,6 +169,15 @@ chip soc/intel/alderlake
device generic 0 on end device generic 0 on end
end end
end #PCIE8 SD card end #PCIE8 SD card
device ref hda on
chip drivers/generic/max98357a
register "hid" = ""MX98360A""
register "sdmode_gpio" =
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
register "sdmode_delay" = "5"
device generic 0 on end
end
end
device ref pch_espi on device ref pch_espi on
chip ec/google/chromeec chip ec/google/chromeec
use conn0 as mux_conn[0] use conn0 as mux_conn[0]