xref: /linux/Documentation/devicetree/bindings/sound/cs4341.txt (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
10ddb4608SAlexander ShiyanCirrus Logic CS4341 audio DAC
20ddb4608SAlexander Shiyan
30ddb4608SAlexander ShiyanThis device supports both I2C and SPI (configured with pin strapping
40ddb4608SAlexander Shiyanon the board).
50ddb4608SAlexander Shiyan
60ddb4608SAlexander ShiyanRequired properties:
70ddb4608SAlexander Shiyan  - compatible: "cirrus,cs4341a"
80ddb4608SAlexander Shiyan  - reg : the I2C address of the device for I2C, the chip select
90ddb4608SAlexander Shiyan          number for SPI.
100ddb4608SAlexander Shiyan
110ddb4608SAlexander ShiyanFor required properties on I2C-bus, please consult
12*c5839535SRob Herringdtschema schemas/i2c/i2c-controller.yaml
130ddb4608SAlexander ShiyanFor required properties on SPI-bus, please consult
140ddb4608SAlexander ShiyanDocumentation/devicetree/bindings/spi/spi-bus.txt
150ddb4608SAlexander Shiyan
160ddb4608SAlexander ShiyanExample:
170ddb4608SAlexander Shiyan	codec: cs4341@0 {
180ddb4608SAlexander Shiyan		#sound-dai-cells = <0>;
190ddb4608SAlexander Shiyan		compatible = "cirrus,cs4341a";
200ddb4608SAlexander Shiyan		reg = <0>;
210ddb4608SAlexander Shiyan		spi-max-frequency = <6000000>;
220ddb4608SAlexander Shiyan	};
23