^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Cirrus Logic CS4341 audio DAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) This device supports both I2C and SPI (configured with pin strapping
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) on the board).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - compatible: "cirrus,cs4341a"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - reg : the I2C address of the device for I2C, the chip select
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) number for SPI.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) For required properties on I2C-bus, please consult
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Documentation/devicetree/bindings/i2c/i2c.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) For required properties on SPI-bus, please consult
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Documentation/devicetree/bindings/spi/spi-bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) codec: cs4341@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #sound-dai-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compatible = "cirrus,cs4341a";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) spi-max-frequency = <6000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };