[1/3] mfd: madera: Update DT bindings to add additional CODECs
diff mbox series

Message ID 20190530143953.25799-1-ckeepax@opensource.cirrus.com
State Superseded
Headers show
Series
  • [1/3] mfd: madera: Update DT bindings to add additional CODECs
Related show

Checks

Context Check Description
robh/checkpatch success

Commit Message

Charles Keepax May 30, 2019, 2:39 p.m. UTC
From: Richard Fitzgerald <rf@opensource.cirrus.com>

This adds the cs47l15, cs42l92, cs47l92 and cs47l93 to the list of
compatible strings and updates some properties that need to note
the new CODECs.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 Documentation/devicetree/bindings/mfd/madera.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Lee Jones June 12, 2019, 8:38 a.m. UTC | #1
On Thu, 30 May 2019, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.cirrus.com>
> 
> This adds the cs47l15, cs42l92, cs47l92 and cs47l93 to the list of
> compatible strings and updates some properties that need to note
> the new CODECs.
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>  Documentation/devicetree/bindings/mfd/madera.txt | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Applied, thanks.
Lee Jones June 12, 2019, 8:38 a.m. UTC | #2
On Thu, 30 May 2019, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.cirrus.com>
> 
> This patch adds all the core support and defines for the Cirrus
> Logic CS47L15 smart audio CODEC.
> 
> Registers or fields are named MADERA_* if it is part of the
> common hardware platform and does not conflict with any other
> Madera codecs. It is named CS47L15_* if it is unique to CS47L15
> and conflicts with definitions on other codecs.
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>  drivers/mfd/Kconfig                  |    7 +
>  drivers/mfd/Makefile                 |    3 +
>  drivers/mfd/cs47l15-tables.c         | 1301 ++++++++++++++++++++++++++++++++++
>  drivers/mfd/madera-core.c            |   44 ++
>  drivers/mfd/madera-i2c.c             |    7 +
>  drivers/mfd/madera-spi.c             |    7 +
>  drivers/mfd/madera.h                 |    6 +
>  include/linux/mfd/madera/core.h      |    2 +
>  include/linux/mfd/madera/registers.h |    5 +
>  9 files changed, 1382 insertions(+)
>  create mode 100644 drivers/mfd/cs47l15-tables.c

Applied, thanks.
Lee Jones June 12, 2019, 8:38 a.m. UTC | #3
On Thu, 30 May 2019, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.cirrus.com>
> 
> This patch adds all the core support and defines for the Cirrus
> Logic CS42L92, CS47L92 and CS47L93 smart audio CODECs.
> 
> Registers or fields are named MADERA_* if it is part of the
> common hardware platform and does not conflict with any other
> Madera codecs. It is named CS47L15_* if it is unique to CS47L15
> and conflicts with definitions on other codecs.
> 
> Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>  drivers/mfd/Kconfig                  |    7 +
>  drivers/mfd/Makefile                 |    3 +
>  drivers/mfd/cs47l92-tables.c         | 1948 ++++++++++++++++++++++++++++++++++
>  drivers/mfd/madera-core.c            |   58 +
>  drivers/mfd/madera-i2c.c             |   11 +
>  drivers/mfd/madera-spi.c             |   11 +
>  drivers/mfd/madera.h                 |    7 +
>  include/linux/mfd/madera/core.h      |    4 +
>  include/linux/mfd/madera/registers.h |  195 ++++
>  9 files changed, 2244 insertions(+)
>  create mode 100644 drivers/mfd/cs47l92-tables.c

Applied, thanks.

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/mfd/madera.txt b/Documentation/devicetree/bindings/mfd/madera.txt
index db3266088386a..cad0f28005027 100644
--- a/Documentation/devicetree/bindings/mfd/madera.txt
+++ b/Documentation/devicetree/bindings/mfd/madera.txt
@@ -11,10 +11,14 @@  bindings/sound/madera.txt
 Required properties:
 
   - compatible : One of the following chip-specific strings:
+        "cirrus,cs47l15"
         "cirrus,cs47l35"
         "cirrus,cs47l85"
         "cirrus,cs47l90"
         "cirrus,cs47l91"
+        "cirrus,cs42l92"
+        "cirrus,cs47l92"
+        "cirrus,cs47l93"
         "cirrus,wm1840"
 
   - reg : I2C slave address when connected using I2C, chip select number when
@@ -22,7 +26,7 @@  Required properties:
 
   - DCVDD-supply : Power supply for the device as defined in
     bindings/regulator/regulator.txt
-    Mandatory on CS47L35, CS47L90, CS47L91
+    Mandatory on CS47L15, CS47L35, CS47L90, CS47L91, CS42L92, CS47L92, CS47L93
     Optional on CS47L85, WM1840
 
   - AVDD-supply, DBVDD1-supply, DBVDD2-supply, CPVDD1-supply, CPVDD2-supply :
@@ -35,7 +39,7 @@  Required properties:
     (CS47L85, WM1840)
 
   - SPKVDD-supply : Power supply for the device
-    (CS47L35)
+    (CS47L15, CS47L35)
 
   - interrupt-controller : Indicates that this device is an interrupt controller