|
@@ -5,9 +5,10 @@ of analogue I/O.
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
- - compatible : one of the following chip-specific strings:
|
|
|
- "wlf,wm5102"
|
|
|
- "wlf,wm5110"
|
|
|
+ - compatible : One of the following chip-specific strings:
|
|
|
+ "wlf,wm5102"
|
|
|
+ "wlf,wm5110"
|
|
|
+ "wlf,wm8997"
|
|
|
- reg : I2C slave address when connected using I2C, chip select number when
|
|
|
using SPI.
|
|
|
|
|
@@ -25,8 +26,9 @@ Required properties:
|
|
|
- #gpio-cells : Must be 2. The first cell is the pin number and the
|
|
|
second cell is used to specify optional parameters (currently unused).
|
|
|
|
|
|
- - AVDD1-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply,
|
|
|
- SPKVDDL-supply, SPKVDDR-supply : power supplies for the device, as covered
|
|
|
+ - AVDD-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply (wm5102, wm5110),
|
|
|
+ CPVDD-supply, SPKVDDL-supply (wm5102, wm5110), SPKVDDR-supply (wm5102,
|
|
|
+ wm5110), SPKVDD-supply (wm8997) : Power supplies for the device, as covered
|
|
|
in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
|
|
Optional properties:
|
|
@@ -46,6 +48,7 @@ codec: wm5102@1a {
|
|
|
compatible = "wlf,wm5102";
|
|
|
reg = <0x1a>;
|
|
|
interrupts = <347>;
|
|
|
+ interrupt-controller;
|
|
|
#interrupt-cells = <2>;
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
@@ -53,10 +56,10 @@ codec: wm5102@1a {
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
wlf,gpio-defaults = <
|
|
|
- 0x00000000, /* AIF1TXLRCLK */
|
|
|
- 0xffffffff,
|
|
|
- 0xffffffff,
|
|
|
- 0xffffffff,
|
|
|
- 0xffffffff,
|
|
|
+ 0x00000000 /* AIF1TXLRCLK */
|
|
|
+ 0xffffffff
|
|
|
+ 0xffffffff
|
|
|
+ 0xffffffff
|
|
|
+ 0xffffffff
|
|
|
>;
|
|
|
};
|