From: LuoXiaoTan <lxt@rock-chips.com>
Date: Fri, 14 Apr 2017 03:18:13 +0000 (-0700)
Subject: Documentation: DT: ASoC: add toshiba tc358749x
X-Git-Tag: firefly_0821_release~28
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cd8c7b5b05e74cdda5d1291ff4ae03e13bb2eee9;p=firefly-linux-kernel-4.4.55.git

Documentation: DT: ASoC: add toshiba tc358749x

Change-Id: Id03458c15f5f87aeeacb21645d37bb95978ee57f
Signed-off-by: LuoXiaoTan <lxt@rock-chips.com>
---

diff --git a/Documentation/devicetree/bindings/sound/tc358749x.txt b/Documentation/devicetree/bindings/sound/tc358749x.txt
new file mode 100644
index 000000000000..d78d9729c572
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/tc358749x.txt
@@ -0,0 +1,32 @@
+Toshiba tc358749x audio CODEC
+
+Required properties:
+
+- compatible: "toshiba,tc358749x"
+- reg: the I2C address of the device for I2C
+- power-gpios: tc358749x 1.2v power control gpio
+- power18-gpios: tc358749x 1.8v power control gpio
+- power33-gpios: tc358749x 3.3v power control gpio
+- csi-ctl-gpios: rk3399-sapphire hw csi select control
+- stanby-gpios: tc358749x stanby pin control
+- reset-gpios: tc358749x reset pin control
+- int-gpios: tc358749x interrupt pin control gpio
+- pinctrl-names: must contain a "default" entry.
+- pinctrl-0: pin control group to be used for gpio.
+
+Example:
+
+tc358749x: tc358749x@0f {
+	compatible = "toshiba,tc358749x";
+	reg = <0x0f>;
+	power-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+	power18-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
+	power33-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
+	csi-ctl-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
+	stanby-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
+	reset-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
+	int-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&hdmiin_gpios>;
+	status = "okay";
+};