summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hsieh <mark_hsieh@wistron.corp-partner.google.com>2021-08-02 18:36:39 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2021-08-04 15:15:59 +0000
commitf41da47d34856d7a6b39d19ac60e8447f902fce0 (patch)
treeb0fb0715d644e3a7814d8f24694feb631c95d26c
parentd45e70c124b9904c7a7d13aad32de99206714d7b (diff)
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 <mark_hsieh@wistron.corp-partner.google.com> Change-Id: I0f0a8c84db3fbc963797d11246c5d31b395bb744 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56757 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/mainboard/google/brya/variants/gimble/overridetree.cb38
1 files changed, 20 insertions, 18 deletions
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""