Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Texas Instruments pcm179x DT bindings |
| 2 | |
| 3 | This driver supports both the I2C and SPI bus. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible: "ti,pcm1792a" |
| 8 | |
| 9 | For required properties on SPI, please consult |
| 10 | Documentation/devicetree/bindings/spi/spi-bus.txt |
| 11 | |
| 12 | Required properties on I2C: |
| 13 | |
| 14 | - reg: the I2C address |
| 15 | |
| 16 | |
| 17 | Examples: |
| 18 | |
| 19 | codec_spi: 1792a@0 { |
| 20 | compatible = "ti,pcm1792a"; |
| 21 | spi-max-frequency = <600000>; |
| 22 | }; |
| 23 | |
| 24 | codec_i2c: 1792a@4c { |
| 25 | compatible = "ti,pcm1792a"; |
| 26 | reg = <0x4c>; |
| 27 | }; |