xref: /linux/Documentation/devicetree/bindings/sound/cs4341.txt (revision 0ddb46080a465fad99cff838682744f1f4848a4b)
1*0ddb4608SAlexander ShiyanCirrus Logic CS4341 audio DAC
2*0ddb4608SAlexander Shiyan
3*0ddb4608SAlexander ShiyanThis device supports both I2C and SPI (configured with pin strapping
4*0ddb4608SAlexander Shiyanon the board).
5*0ddb4608SAlexander Shiyan
6*0ddb4608SAlexander ShiyanRequired properties:
7*0ddb4608SAlexander Shiyan  - compatible: "cirrus,cs4341a"
8*0ddb4608SAlexander Shiyan  - reg : the I2C address of the device for I2C, the chip select
9*0ddb4608SAlexander Shiyan          number for SPI.
10*0ddb4608SAlexander Shiyan
11*0ddb4608SAlexander ShiyanFor required properties on I2C-bus, please consult
12*0ddb4608SAlexander ShiyanDocumentation/devicetree/bindings/i2c/i2c.txt
13*0ddb4608SAlexander ShiyanFor required properties on SPI-bus, please consult
14*0ddb4608SAlexander ShiyanDocumentation/devicetree/bindings/spi/spi-bus.txt
15*0ddb4608SAlexander Shiyan
16*0ddb4608SAlexander ShiyanExample:
17*0ddb4608SAlexander Shiyan	codec: cs4341@0 {
18*0ddb4608SAlexander Shiyan		#sound-dai-cells = <0>;
19*0ddb4608SAlexander Shiyan		compatible = "cirrus,cs4341a";
20*0ddb4608SAlexander Shiyan		reg = <0>;
21*0ddb4608SAlexander Shiyan		spi-max-frequency = <6000000>;
22*0ddb4608SAlexander Shiyan	};
23