Commit | Line | Data |
---|---|---|
0471cd93 | 1 | Texas Instruments pcm179x DT bindings |
13b02fa0 | 2 | |
70e3e56e | 3 | This driver supports both the I2C and SPI bus. |
13b02fa0 MT |
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 | ||
70e3e56e JS |
12 | Required properties on I2C: |
13 | ||
14 | - reg: the I2C address | |
15 | ||
16 | ||
13b02fa0 MT |
17 | Examples: |
18 | ||
19 | codec_spi: 1792a@0 { | |
20 | compatible = "ti,pcm1792a"; | |
21 | spi-max-frequency = <600000>; | |
22 | }; | |
23 | ||
70e3e56e JS |
24 | codec_i2c: 1792a@4c { |
25 | compatible = "ti,pcm1792a"; | |
26 | reg = <0x4c>; | |
27 | }; |