diff mbox

[v3,2/5] mfd: arizona: Update DT bindings to add CS47L24 and WM1831

Message ID 1446563316-28878-3-git-send-email-rf@opensource.wolfsonmicro.com (mailing list archive)
State New, archived
Headers show

Commit Message

Richard Fitzgerald Nov. 3, 2015, 3:08 p.m. UTC
This updates the Arizona MFD device tree bindings to add the
Cirrus Logic CS47L24 and WM1831 codecs. Note that unlike all the
other codecs the DCVDD-supply and MICVDD-supply are mandatory.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 Documentation/devicetree/bindings/mfd/arizona.txt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) Nov. 5, 2015, 2:35 p.m. UTC | #1
On Tue, Nov 03, 2015 at 03:08:33PM +0000, Richard Fitzgerald wrote:
> This updates the Arizona MFD device tree bindings to add the
> Cirrus Logic CS47L24 and WM1831 codecs. Note that unlike all the
> other codecs the DCVDD-supply and MICVDD-supply are mandatory.
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> ---
>  Documentation/devicetree/bindings/mfd/arizona.txt | 9 ++++++++-

Acked-by: Rob Herring <robh@kernel.org>

>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
> index 18be0cb..84e1af5 100644
> --- a/Documentation/devicetree/bindings/mfd/arizona.txt
> +++ b/Documentation/devicetree/bindings/mfd/arizona.txt
> @@ -1,4 +1,4 @@
> -Wolfson Arizona class audio SoCs
> +Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
>  
>  These devices are audio SoCs with extensive digital capabilites and a range
>  of analogue I/O.
> @@ -6,12 +6,14 @@ of analogue I/O.
>  Required properties:
>  
>    - compatible : One of the following chip-specific strings:
> +        "cirrus,cs47l24"
>          "wlf,wm5102"
>          "wlf,wm5110"
>          "wlf,wm8280"
>          "wlf,wm8997"
>          "wlf,wm8998"
>          "wlf,wm1814"
> +        "wlf,wm1831"
>  
>    - reg : I2C slave address when connected using I2C, chip select number when
>      using SPI.
> @@ -41,6 +43,10 @@ Required properties:
>  
>    - SPKVDD-supply : Speaker driver power supply (wm8997)
>  
> +  - DCVDD-supply : Main power supply (cs47l24, wm1831)
> +
> +  - MICVDD-supply : Microphone power supply (cs47l24, wm1831)
> +

We normally do lower case, but I guess these aren't new...

Rob
Lee Jones Nov. 24, 2015, 5:01 p.m. UTC | #2
On Tue, 03 Nov 2015, Richard Fitzgerald wrote:

> This updates the Arizona MFD device tree bindings to add the
> Cirrus Logic CS47L24 and WM1831 codecs. Note that unlike all the
> other codecs the DCVDD-supply and MICVDD-supply are mandatory.
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> ---
>  Documentation/devicetree/bindings/mfd/arizona.txt | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Applied, thanks.

> diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
> index 18be0cb..84e1af5 100644
> --- a/Documentation/devicetree/bindings/mfd/arizona.txt
> +++ b/Documentation/devicetree/bindings/mfd/arizona.txt
> @@ -1,4 +1,4 @@
> -Wolfson Arizona class audio SoCs
> +Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
>  
>  These devices are audio SoCs with extensive digital capabilites and a range
>  of analogue I/O.
> @@ -6,12 +6,14 @@ of analogue I/O.
>  Required properties:
>  
>    - compatible : One of the following chip-specific strings:
> +        "cirrus,cs47l24"
>          "wlf,wm5102"
>          "wlf,wm5110"
>          "wlf,wm8280"
>          "wlf,wm8997"
>          "wlf,wm8998"
>          "wlf,wm1814"
> +        "wlf,wm1831"
>  
>    - reg : I2C slave address when connected using I2C, chip select number when
>      using SPI.
> @@ -41,6 +43,10 @@ Required properties:
>  
>    - SPKVDD-supply : Speaker driver power supply (wm8997)
>  
> +  - DCVDD-supply : Main power supply (cs47l24, wm1831)
> +
> +  - MICVDD-supply : Microphone power supply (cs47l24, wm1831)
> +
>  Optional properties:
>  
>    - wlf,reset : GPIO specifier for the GPIO controlling /RESET
> @@ -69,6 +75,7 @@ Optional properties:
>    - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
>      they are being externally supplied. As covered in
>      Documentation/devicetree/bindings/regulator/regulator.txt
> +    (wm5102, wm5110, wm8280, wm8997, wm8998, wm1814)
>  
>  Also see child specific device properties:
>    Regulator - ../regulator/arizona-regulator.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
index 18be0cb..84e1af5 100644
--- a/Documentation/devicetree/bindings/mfd/arizona.txt
+++ b/Documentation/devicetree/bindings/mfd/arizona.txt
@@ -1,4 +1,4 @@ 
-Wolfson Arizona class audio SoCs
+Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
 
 These devices are audio SoCs with extensive digital capabilites and a range
 of analogue I/O.
@@ -6,12 +6,14 @@  of analogue I/O.
 Required properties:
 
   - compatible : One of the following chip-specific strings:
+        "cirrus,cs47l24"
         "wlf,wm5102"
         "wlf,wm5110"
         "wlf,wm8280"
         "wlf,wm8997"
         "wlf,wm8998"
         "wlf,wm1814"
+        "wlf,wm1831"
 
   - reg : I2C slave address when connected using I2C, chip select number when
     using SPI.
@@ -41,6 +43,10 @@  Required properties:
 
   - SPKVDD-supply : Speaker driver power supply (wm8997)
 
+  - DCVDD-supply : Main power supply (cs47l24, wm1831)
+
+  - MICVDD-supply : Microphone power supply (cs47l24, wm1831)
+
 Optional properties:
 
   - wlf,reset : GPIO specifier for the GPIO controlling /RESET
@@ -69,6 +75,7 @@  Optional properties:
   - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
     they are being externally supplied. As covered in
     Documentation/devicetree/bindings/regulator/regulator.txt
+    (wm5102, wm5110, wm8280, wm8997, wm8998, wm1814)
 
 Also see child specific device properties:
   Regulator - ../regulator/arizona-regulator.txt