Merge tag 'pci-v5.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / cs42l51.txt
1 CS42L51 audio CODEC
2
3 Required properties:
4
5   - compatible : "cirrus,cs42l51"
6
7   - reg : the I2C address of the device for I2C.
8
9 Optional properties:
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.
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";
28         VL-supply = <&reg_audio>;
29         VD-supply = <&reg_audio>;
30         VA-supply = <&reg_audio>;
31         VAHP-supply = <&reg_audio>;
32         reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>;
33 };