Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72e6e79e authored by Charles Keepax's avatar Charles Keepax Committed by Lee Jones
Browse files

mfd: arizona: Correct small errors in the DT binding documentation



This patch does not alter the binding at all it only brings the
documentation up to date with the existing binding.

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent a0eae337
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -5,9 +5,10 @@ of analogue I/O.

Required properties:

  - compatible : one of the following chip-specific strings:
  - 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
	>;
};