Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | Cirrus Logic CS4341 audio DAC |
| 2 | |
| 3 | This device supports both I2C and SPI (configured with pin strapping |
| 4 | on the board). |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: "cirrus,cs4341a" |
| 8 | - reg : the I2C address of the device for I2C, the chip select |
| 9 | number for SPI. |
| 10 | |
| 11 | For required properties on I2C-bus, please consult |
| 12 | Documentation/devicetree/bindings/i2c/i2c.txt |
| 13 | For required properties on SPI-bus, please consult |
| 14 | Documentation/devicetree/bindings/spi/spi-bus.txt |
| 15 | |
| 16 | Example: |
| 17 | codec: cs4341@0 { |
| 18 | #sound-dai-cells = <0>; |
| 19 | compatible = "cirrus,cs4341a"; |
| 20 | reg = <0>; |
| 21 | spi-max-frequency = <6000000>; |
| 22 | }; |