xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/tc358749x.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Toshiba tc358749x audio CODEC
2
3Required properties:
4
5- compatible: "toshiba,tc358749x"
6- reg: the I2C address of the device for I2C
7- power-gpios: tc358749x 1.2v power control gpio
8- power18-gpios: tc358749x 1.8v power control gpio
9- power33-gpios: tc358749x 3.3v power control gpio
10- csi-ctl-gpios: rk3399-sapphire hw csi select control
11- stanby-gpios: tc358749x stanby pin control
12- reset-gpios: tc358749x reset pin control
13- int-gpios: tc358749x interrupt pin control gpio
14- pinctrl-names: must contain a "default" entry.
15- pinctrl-0: pin control group to be used for gpio.
16
17Example:
18
19tc358749x: tc358749x@0f {
20	compatible = "toshiba,tc358749x";
21	reg = <0x0f>;
22	power-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
23	power18-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
24	power33-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
25	csi-ctl-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
26	stanby-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
27	reset-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
28	int-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
29	pinctrl-names = "default";
30	pinctrl-0 = <&hdmiin_gpios>;
31	status = "okay";
32};
33