From cd8c7b5b05e74cdda5d1291ff4ae03e13bb2eee9 Mon Sep 17 00:00:00 2001 From: LuoXiaoTan Date: Thu, 13 Apr 2017 20:18:13 -0700 Subject: [PATCH] Documentation: DT: ASoC: add toshiba tc358749x Change-Id: Id03458c15f5f87aeeacb21645d37bb95978ee57f Signed-off-by: LuoXiaoTan --- .../devicetree/bindings/sound/tc358749x.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tc358749x.txt 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"; +}; -- 2.34.1