summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/metaknight
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2021-11-04 13:37:41 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-11-09 18:41:40 +0000
commita003c33aa1ca31747314d721dee8a1a8552def4b (patch)
tree5c586d7c07c0e6b60a9f56b5a9e36d5661009a1d /src/mainboard/google/dedede/variants/metaknight
parent8fbfc080fcb6f61b21b1870c87fbe855bdd138e9 (diff)
mb/google/dedede/var/metaknight: Probe and enable amplifier operation mode
Probe the fw_config for RT1015 speaker amplifier operation mode and enable it accordingly in the device tree. BUG=none BRANCH=dedede TEST=build pass Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I2de1487b7f4767e9ba6432174c39feeb25f9534c Reviewed-on: https://review.coreboot.org/c/coreboot/+/58931 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/metaknight')
-rw-r--r--src/mainboard/google/dedede/variants/metaknight/overridetree.cb19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/mainboard/google/dedede/variants/metaknight/overridetree.cb b/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
index 725750b654..bb4762f82c 100644
--- a/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
@@ -243,15 +243,28 @@ chip soc/intel/jasperlake
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP L""
register "uid" = "0"
- device i2c 28 on end
+ device i2c 28 on
+ probe AUDIO_AMP UNPROVISIONED
+ probe AUDIO_AMP RT1015_I2C
+ end
end
chip drivers/i2c/generic
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP R""
register "uid" = "1"
- device i2c 29 on end
+ device i2c 29 on
+ probe AUDIO_AMP UNPROVISIONED
+ probe AUDIO_AMP RT1015_I2C
+ end
end
end
- device pci 1f.3 on end # Intel HDA
+ device pci 1f.3 on
+ chip drivers/generic/alc1015
+ register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
+ device generic 0 on
+ probe AUDIO_AMP RT1015P_AUTO
+ end
+ end
+ end # Intel HDA
end
end