xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ak4118.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAK4118 S/PDIF transceiver
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports I2C mode.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- compatible : "asahi-kasei,ak4118"
8*c66ec88fSEmmanuel Vadot- reg : The I2C address of the device for I2C
9*c66ec88fSEmmanuel Vadot- reset-gpios: A GPIO specifier for the reset pin
10*c66ec88fSEmmanuel Vadot- irq-gpios: A GPIO specifier for the IRQ pin
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExample:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot&i2c {
15*c66ec88fSEmmanuel Vadot	ak4118: ak4118@13 {
16*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
17*c66ec88fSEmmanuel Vadot		compatible = "asahi-kasei,ak4118";
18*c66ec88fSEmmanuel Vadot		reg = <0x13>;
19*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>
20*c66ec88fSEmmanuel Vadot		irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
21*c66ec88fSEmmanuel Vadot	};
22*c66ec88fSEmmanuel Vadot};
23