From b75fb0acda99e804b5049ff75f3a51454fb7ba2c Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 6 Jan 2015 15:22:41 -0800 Subject: [PATCH] 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 Original-Commit-Id: b3fc2d7e5a5878b1fff7627f803b883b38fea28d Original-Change-Id: I344636171a3086a72087314503bfc99de5945b1f Original-Signed-off-by: Duncan Laurie Original-Reviewed-on: https://chromium-review.googlesource.com/238857 Original-Reviewed-by: Ben Zhang Reviewed-on: http://review.coreboot.org/9483 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/samus/acpi/mainboard.asl | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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 (