mb/google/brya/variant/redrix: Correct MAX98390 AMP setting

4 MAX98390 Speaker Amps are connected to i2c0 and device addresses are
0x38/0x39/0x3a/0x3b

BUG=b:191931762
TEST=FW_NAME=redrix emerge-brya coreboot chromeos-bootimage
Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: Ie8f01e6a7e09e18f6d34f3ceb1db8e2e238197bf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57114
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Wisley Chen 2021-08-24 16:51:44 +06:00 committed by Felix Held
parent 42df9af4c4
commit 9413f4ef1b
1 changed files with 32 additions and 34 deletions

View File

@ -179,6 +179,38 @@ chip soc/intel/alderlake
device i2c 1a on device i2c 1a on
end 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""
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
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 2""
register "uid" = "2"
register "name" = ""MXW2""
register "r0_calib_key" = ""dsm_calib_r0_2""
register "temperature_calib_key" = ""dsm_calib_temp_2""
device i2c 0x3a on end
end
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 3""
register "uid" = "3"
register "name" = ""MXW3""
register "r0_calib_key" = ""dsm_calib_r0_3""
register "temperature_calib_key" = ""dsm_calib_temp_3""
device i2c 0x3b on end
end
end #I2C0 end #I2C0
device ref i2c1 on device ref i2c1 on
chip drivers/i2c/hid chip drivers/i2c/hid
@ -269,40 +301,6 @@ chip soc/intel/alderlake
device i2c 15 on end device i2c 15 on end
end 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
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 2""
register "uid" = "2"
register "name" = ""MXW2""
register "r0_calib_key" = ""dsm_calib_r0_2""
register "temperature_calib_key" = ""dsm_calib_temp_2""
device i2c 0x74 on end
end
chip drivers/i2c/max98390
register "desc" = ""MAX98390 Speaker Amp 3""
register "uid" = "3"
register "name" = ""MXW3""
register "r0_calib_key" = ""dsm_calib_r0_3""
register "temperature_calib_key" = ""dsm_calib_temp_3""
device i2c 0x76 on end
end
end
device ref gspi1 on device ref gspi1 on
chip drivers/spi/acpi chip drivers/spi/acpi
register "name" = ""CRFP"" register "name" = ""CRFP""