]>
Commit | Line | Data |
---|---|---|
1c5083b3 OM |
1 | CS42L51 audio CODEC |
2 | ||
26bde6ad OM |
3 | Required properties: |
4 | ||
5 | - compatible : "cirrus,cs42l51" | |
6 | ||
7 | - reg : the I2C address of the device for I2C. | |
8 | ||
1c5083b3 | 9 | Optional properties: |
26bde6ad OM |
10 | - VL-supply, VD-supply, VA-supply, VAHP-supply: power supplies for the device, |
11 | as covered in Documentation/devicetree/bindings/regulator/regulator.txt. | |
12 | ||
13 | - reset-gpios : GPIO specification for the reset pin. If specified, it will be | |
14 | deasserted before starting the communication with the codec. | |
1c5083b3 OM |
15 | |
16 | - clocks : a list of phandles + clock-specifiers, one for each entry in | |
17 | clock-names | |
18 | ||
19 | - clock-names : must contain "MCLK" | |
20 | ||
21 | Example: | |
22 | ||
23 | cs42l51: cs42l51@4a { | |
24 | compatible = "cirrus,cs42l51"; | |
25 | reg = <0x4a>; | |
26 | clocks = <&mclk_prov>; | |
27 | clock-names = "MCLK"; | |
26bde6ad OM |
28 | VL-supply = <®_audio>; |
29 | VD-supply = <®_audio>; | |
30 | VA-supply = <®_audio>; | |
31 | VAHP-supply = <®_audio>; | |
32 | reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; | |
1c5083b3 | 33 | }; |