summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlizhi7 <lizhi7@huaqin.corp-partner.google.com>2021-03-23 11:31:24 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-03-28 16:03:03 +0000
commit40a1d0d0fccd2d950d5202175cc66e85b42cbd01 (patch)
tree7c0005082cd5c2f4189f99c798ec7d87cfdb2020
parentfd952aaa50aff91f19781648c9952b59ce315445 (diff)
mb/google/dedede/var/storo: Enable ALC1015 AMP (Auto Mode) driver
Enable gpio mode driver for ALC1015 AMP Auto Mode. BUG=b:177868812 BRANCH=dedede TEST=ALC1015Q-VB drive speaker OK Signed-off-by: lizhi7 <lizhi7@huaqin.corp-partner.google.com> Change-Id: Ic7deb9be6444d85d32ff94ce8e4a140dbdea349e Reviewed-on: https://review.coreboot.org/c/coreboot/+/51732 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/mainboard/google/dedede/variants/storo/overridetree.cb19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/mainboard/google/dedede/variants/storo/overridetree.cb b/src/mainboard/google/dedede/variants/storo/overridetree.cb
index b3a8e2203e..ddf195231d 100644
--- a/src/mainboard/google/dedede/variants/storo/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/storo/overridetree.cb
@@ -216,19 +216,13 @@ chip soc/intel/jasperlake
register "property_list[0].integer" = "1"
device i2c 1a on end
end
- chip drivers/i2c/generic
- register "hid" = ""10EC1015""
- register "desc" = ""Realtek SPK AMP L""
- register "uid" = "0"
- device i2c 28 on end
- end
- chip drivers/i2c/generic
- register "hid" = ""10EC1015""
- register "desc" = ""Realtek SPK AMP R""
- register "uid" = "1"
- device i2c 29 on end
- end
end # I2C 4
+ device pci 1f.3 on
+ chip drivers/generic/alc1015
+ register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
+ device generic 0 on end
+ end
+ end # Intel HDA
device pci 19.1 on
chip drivers/i2c/sx9324
register "desc" = ""SAR Proximity Sensor""
@@ -283,6 +277,5 @@ chip soc/intel/jasperlake
device i2c 28 on end
end
end # I2C 5
- device pci 1f.3 on end # Intel HDA
end
end