Documentation: DT: ASoC: add toshiba tc358749x
authorLuoXiaoTan <lxt@rock-chips.com>
Fri, 14 Apr 2017 03:18:13 +0000 (20:18 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 14 Apr 2017 08:59:51 +0000 (16:59 +0800)
Change-Id: Id03458c15f5f87aeeacb21645d37bb95978ee57f
Signed-off-by: LuoXiaoTan <lxt@rock-chips.com>
Documentation/devicetree/bindings/sound/tc358749x.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/tc358749x.txt b/Documentation/devicetree/bindings/sound/tc358749x.txt
new file mode 100644 (file)
index 0000000..d78d972
--- /dev/null
@@ -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";
+};