Commit | Line | Data |
---|---|---|
0c516b4f NC |
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 | Example: | |
18 | ||
19 | codec: cs42888@48 { | |
20 | compatible = "cirrus,cs42888"; | |
21 | reg = <0x48>; | |
22 | clocks = <&codec_mclk 0>; | |
23 | clock-names = "mclk"; | |
24 | VA-supply = <®_audio>; | |
25 | VD-supply = <®_audio>; | |
26 | VLS-supply = <®_audio>; | |
27 | VLC-supply = <®_audio>; | |
28 | }; |