xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ak4104.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAK4104 S/PDIF transmitter
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports SPI mode only.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot  - compatible : "asahi-kasei,ak4104"
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot  - reg : The chip select number on the SPI bus
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot  - vdd-supply : A regulator node, providing 2.7V - 3.6V
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot  - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
16*c66ec88fSEmmanuel Vadot		  deasserted before communication to the device starts.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotspdif: ak4104@0 {
21*c66ec88fSEmmanuel Vadot	compatible = "asahi-kasei,ak4104";
22*c66ec88fSEmmanuel Vadot	reg = <0>;
23*c66ec88fSEmmanuel Vadot	spi-max-frequency = <5000000>;
24*c66ec88fSEmmanuel Vadot	vdd-supply = <&vdd_3v3_reg>;
25*c66ec88fSEmmanuel Vadot};
26