summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2021-09-24 09:20:17 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-09-27 13:33:42 +0000
commitf0d9c1212c784158ee4e06e85feb19544e82cd65 (patch)
tree50ebc723ad14c6e5285af97fee8aeefe1a32e5b2
parent658d7c56b8621b1682ce0f2e457e6abce7308851 (diff)
mb/google/brya/var/kano: Move max98373 amp ACPI info to I2C0
Move max98373 amp ACPI info to I2C0 according to kano's schematics version KANO_MLB_Proto_0811. BUG=b:192370253 TEST=FW_NAME=kano emerge-brya coreboot chromeos-bootimage Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I8f7a7938dd407666e0104ba64b22da85216a145f Reviewed-on: https://review.coreboot.org/c/coreboot/+/57909 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/mainboard/google/brya/variants/kano/overridetree.cb42
1 files changed, 20 insertions, 22 deletions
diff --git a/src/mainboard/google/brya/variants/kano/overridetree.cb b/src/mainboard/google/brya/variants/kano/overridetree.cb
index c0c17da013..f8ac9ac355 100644
--- a/src/mainboard/google/brya/variants/kano/overridetree.cb
+++ b/src/mainboard/google/brya/variants/kano/overridetree.cb
@@ -170,6 +170,26 @@ chip soc/intel/alderlake
probe AUDIO MAX98373_NAU88L25B_I2S
end
end
+ chip drivers/i2c/max98373
+ register "vmon_slot_no" = "0"
+ register "imon_slot_no" = "1"
+ register "uid" = "0"
+ register "desc" = ""Right Speaker Amp""
+ register "name" = ""MAXR""
+ device i2c 31 on
+ probe AUDIO MAX98373_NAU88L25B_I2S
+ end
+ end
+ chip drivers/i2c/max98373
+ register "vmon_slot_no" = "2"
+ register "imon_slot_no" = "3"
+ register "uid" = "1"
+ register "desc" = ""Left Speaker Amp""
+ register "name" = ""MAXL""
+ device i2c 32 on
+ probe AUDIO MAX98373_NAU88L25B_I2S
+ end
+ end
end #I2C0
device ref i2c1 on
chip drivers/i2c/hid
@@ -354,28 +374,6 @@ chip soc/intel/alderlake
device i2c 15 on end
end
end
- device ref hda on
- chip drivers/i2c/max98373
- register "vmon_slot_no" = "0"
- register "imon_slot_no" = "1"
- register "uid" = "0"
- register "desc" = ""Right Speaker Amp""
- register "name" = ""MAXR""
- device i2c 31 on
- probe AUDIO MAX98373_NAU88L25B_I2S
- end
- end
- chip drivers/i2c/max98373
- register "vmon_slot_no" = "2"
- register "imon_slot_no" = "3"
- register "uid" = "1"
- register "desc" = ""Left Speaker Amp""
- register "name" = ""MAXL""
- device i2c 32 on
- probe AUDIO MAX98373_NAU88L25B_I2S
- end
- end
- end
device ref gspi1 on
chip drivers/spi/acpi
register "name" = ""CRFP""