xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cs4341.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotCirrus Logic CS4341 audio DAC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports both I2C and SPI (configured with pin strapping
4*c66ec88fSEmmanuel Vadoton the board).
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot  - compatible: "cirrus,cs4341a"
8*c66ec88fSEmmanuel Vadot  - reg : the I2C address of the device for I2C, the chip select
9*c66ec88fSEmmanuel Vadot          number for SPI.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotFor required properties on I2C-bus, please consult
12*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/i2c/i2c.txt
13*c66ec88fSEmmanuel VadotFor required properties on SPI-bus, please consult
14*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/spi/spi-bus.txt
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot	codec: cs4341@0 {
18*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
19*c66ec88fSEmmanuel Vadot		compatible = "cirrus,cs4341a";
20*c66ec88fSEmmanuel Vadot		reg = <0>;
21*c66ec88fSEmmanuel Vadot		spi-max-frequency = <6000000>;
22*c66ec88fSEmmanuel Vadot	};
23