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>
This commit is contained in:
parent
b63d34102a
commit
b75fb0acda
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue