Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | CS42448/CS42888 audio CODEC |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible : must contain one of "cirrus,cs42448" and "cirrus,cs42888" |
| 6 | |
| 7 | - reg : the I2C address of the device for I2C |
| 8 | |
| 9 | - clocks : a list of phandles + clock-specifiers, one for each entry in |
| 10 | clock-names |
| 11 | |
| 12 | - clock-names : must contain "mclk" |
| 13 | |
| 14 | - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the device, |
| 15 | as covered in Documentation/devicetree/bindings/regulator/regulator.txt |
| 16 | |
| 17 | Optional properties: |
| 18 | |
| 19 | - reset-gpios : a GPIO spec to define which pin is connected to the chip's |
| 20 | !RESET pin |
| 21 | |
| 22 | Example: |
| 23 | |
| 24 | cs42888: codec@48 { |
| 25 | compatible = "cirrus,cs42888"; |
| 26 | reg = <0x48>; |
| 27 | clocks = <&codec_mclk 0>; |
| 28 | clock-names = "mclk"; |
| 29 | VA-supply = <®_audio>; |
| 30 | VD-supply = <®_audio>; |
| 31 | VLS-supply = <®_audio>; |
| 32 | VLC-supply = <®_audio>; |
| 33 | reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>; |
| 34 | }; |