From f41da47d34856d7a6b39d19ac60e8447f902fce0 Mon Sep 17 00:00:00 2001 From: Mark Hsieh Date: Mon, 2 Aug 2021 18:36:39 +0800 Subject: mb/google/brya/variants/gimble: Update overridetree for gimble According to the schematic diagram of proto, added drivers/i2c/max98390 to device ref i2c0 and deleted device ref hda. BUG=b:191811888 TEST=USE="project_gimble emerge-brya coreboot" and verify it builds without error. Signed-off-by: Mark Hsieh Change-Id: I0f0a8c84db3fbc963797d11246c5d31b395bb744 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56757 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- .../google/brya/variants/gimble/overridetree.cb | 38 ++++++++++++---------- 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/brya/variants/gimble/overridetree.cb b/src/mainboard/google/brya/variants/gimble/overridetree.cb index 15275bd56a..e1507ce3e1 100644 --- a/src/mainboard/google/brya/variants/gimble/overridetree.cb +++ b/src/mainboard/google/brya/variants/gimble/overridetree.cb @@ -126,6 +126,26 @@ chip soc/intel/alderlake probe AUDIO MAX98390_ALC5682I_I2S 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 0x70 on + probe AUDIO MAX98390_ALC5682I_I2S + 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 0x72 on + probe AUDIO MAX98390_ALC5682I_I2S + end + end end #I2C0 device ref i2c1 on chip drivers/i2c/hid @@ -158,24 +178,6 @@ chip soc/intel/alderlake device i2c 0x15 on end end end - device ref hda on - 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 0x70 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 0x72 on end - end - end device ref gspi1 on chip drivers/spi/acpi register "name" = ""CRFP"" -- cgit v1.2.3