summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2015-01-06 15:22:41 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-10 20:08:57 +0200
commitb75fb0acda99e804b5049ff75f3a51454fb7ba2c (patch)
tree97abf217115815e9341aa9ab4ef65af4a9a19e1a /src/mainboard/google
parentb63d34102ad074d0db2347ffadd30bc6ab834160 (diff)
samus: Add RT5677 ACPI/DT bindings with _DSD
To support the ACPI device specific properties that conform to the existing devicetree bindings for this codec (in upstream kernels) add a _DSD object to the existing codec device. BUG=chrome-os-partner:29649 BRANCH=samus TEST=build and boot on samus Change-Id: Ice808ba7bf2f0378ac5a38afd27dbf6c8cac0da5 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: b3fc2d7e5a5878b1fff7627f803b883b38fea28d Original-Change-Id: I344636171a3086a72087314503bfc99de5945b1f Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/238857 Original-Reviewed-by: Ben Zhang <benzh@chromium.org> Reviewed-on: http://review.coreboot.org/9483 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/samus/acpi/mainboard.asl20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl
index 2b6cea0b0e..274e8a8fca 100644
--- a/src/mainboard/google/samus/acpi/mainboard.asl
+++ b/src/mainboard/google/samus/acpi/mainboard.asl
@@ -181,6 +181,26 @@ Scope (\_SB.PCI0.I2C0)
Name (JD2, 2) /* Use GPIO5 as JackDetect2 */
Name (JD3, 3) /* Use GPIO6 as JackDetect3 */
+ /* Add DT style bindings with _DSD */
+ Name (_DSD, Package () {
+ ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
+ Package () {
+ Package () { "realtek,in1-differential", 1 },
+ Package () { "realtek,in2-differential", 0 },
+ Package () { "realtek,lout1-differential", 1 },
+ Package () { "realtek,lout2-differential", 1 },
+ Package () { "realtek,lout3-differential", 0 },
+ Package () { "realtek,pdm_clk_div", 1 },
+ Package () { "realtek,dmic2_clk_pin", 0 },
+ Package () { "realtek,asrc-en", 1 },
+ Package () { "realtek,jd1-gpio", 0 },
+ Package () { "realtek,jd2-gpio", 2 },
+ Package () { "realtek,jd3-gpio", 3 },
+ Package () { "realtek,gpio-config",
+ Package () { 0, 0, 0, 0, 0, 2 } },
+ }
+ })
+
Name (_CRS, ResourceTemplate()
{
I2cSerialBus (