Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | CS4265 audio CODEC |
| 2 | |
| 3 | This device supports I2C only. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "cirrus,cs4265" |
| 8 | |
| 9 | - reg : the I2C address of the device for I2C. The I2C address depends on |
| 10 | the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. |
| 11 | If it is low, the i2c address is 0x4e. |
| 12 | |
| 13 | Optional properties: |
| 14 | |
| 15 | - reset-gpios : a GPIO spec for the reset pin. If specified, it will be |
| 16 | deasserted before communication to the codec starts. |
| 17 | |
| 18 | Examples: |
| 19 | |
| 20 | codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ |
| 21 | compatible = "cirrus,cs4265"; |
| 22 | reg = <0x4f>; |
| 23 | }; |
| 24 | |
| 25 | |
| 26 | codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ |
| 27 | compatible = "cirrus,cs4265"; |
| 28 | reg = <0x4e>; |
| 29 | }; |