Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / devicetree / bindings / mfd / arizona.txt
1 Wolfson Arizona class audio SoCs
2
3 These devices are audio SoCs with extensive digital capabilites and a range
4 of analogue I/O.
5
6 Required properties:
7
8   - compatible : One of the following chip-specific strings:
9         "wlf,wm5102"
10         "wlf,wm5110"
11         "wlf,wm8997"
12   - reg : I2C slave address when connected using I2C, chip select number when
13     using SPI.
14
15   - interrupts : The interrupt line the /IRQ signal for the device is
16     connected to.
17   - interrupt-controller : Arizona class devices contain interrupt controllers
18     and may provide interrupt services to other devices.
19   - interrupt-parent : The parent interrupt controller.
20   - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
21     The first cell is the IRQ number.
22     The second cell is the flags, encoded as the trigger masks from
23     Documentation/devicetree/bindings/interrupts.txt
24
25   - gpio-controller : Indicates this device is a GPIO controller.
26   - #gpio-cells : Must be 2. The first cell is the pin number and the
27     second cell is used to specify optional parameters (currently unused).
28
29   - AVDD-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply (wm5102, wm5110),
30     CPVDD-supply, SPKVDDL-supply (wm5102, wm5110), SPKVDDR-supply (wm5102,
31     wm5110), SPKVDD-supply (wm8997) : Power supplies for the device, as covered
32     in Documentation/devicetree/bindings/regulator/regulator.txt
33
34 Optional properties:
35
36   - wlf,reset : GPIO specifier for the GPIO controlling /RESET
37   - wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
38
39   - wlf,gpio-defaults : A list of GPIO configuration register values. If
40     absent, no configuration of these registers is performed. If any
41     entry has a value that is out of range for a 16 bit register then
42     the chip default will be used.  If present exactly five values must
43     be specified.
44
45 Example:
46
47 codec: wm5102@1a {
48         compatible = "wlf,wm5102";
49         reg = <0x1a>;
50         interrupts = <347>;
51         interrupt-controller;
52         #interrupt-cells = <2>;
53         interrupt-parent = <&gic>;
54
55         gpio-controller;
56         #gpio-cells = <2>;
57
58         wlf,gpio-defaults = <
59                 0x00000000 /* AIF1TXLRCLK */
60                 0xffffffff
61                 0xffffffff
62                 0xffffffff
63                 0xffffffff
64         >;
65 };