summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2021-08-24 16:51:44 +0600
committerFelix Held <felix-coreboot@felixheld.de>2021-08-26 15:19:28 +0000
commit9413f4ef1b93090a79a9c20c306583473d9545a4 (patch)
tree4a6e2d38c47e05d079c4802f3e7a6962606dc690 /src/mainboard/google/brya/variants
parent42df9af4c4c6ea07a98ace10ecdbb1683119524c (diff)
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>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/redrix/overridetree.cb66
1 files changed, 32 insertions, 34 deletions
diff --git a/src/mainboard/google/brya/variants/redrix/overridetree.cb b/src/mainboard/google/brya/variants/redrix/overridetree.cb
index bfb3bf3712..8f845d1c25 100644
--- a/src/mainboard/google/brya/variants/redrix/overridetree.cb
+++ b/src/mainboard/google/brya/variants/redrix/overridetree.cb
@@ -179,6 +179,38 @@ chip soc/intel/alderlake
device i2c 1a 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
+ 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
device ref i2c1 on
chip drivers/i2c/hid
@@ -269,40 +301,6 @@ chip soc/intel/alderlake
device i2c 15 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
- 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
chip drivers/spi/acpi
register "name" = ""CRFP""