[v2,1/5] ASoC: dt-bindings: add max98088 audio codec

Message ID 20181005075812.13986-2-m.felsch@pengutronix.de
State Not Applicable
Headers show
Series
  • MAX98088/9 of features
Related show

Commit Message

Marco Felsch Oct. 5, 2018, 7:58 a.m.
From: Andreas Färber <afaerber@suse.de>

This patch adds the bindings for maxim max98088/9 audio codec.

Signed-off-by: Andreas Färber <afaerber@suse.de>
[m.felsch@pengutronix.de: adapt commit message]
[m.felsch@pengutronix.de: adapt formatting]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 .../devicetree/bindings/sound/maxim,max98088.txt  | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98088.txt

Comments

Rob Herring Oct. 12, 2018, 8:29 p.m. | #1
On Fri,  5 Oct 2018 09:58:08 +0200, Marco Felsch wrote:
> From: Andreas Färber <afaerber@suse.de>
> 
> This patch adds the bindings for maxim max98088/9 audio codec.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> [m.felsch@pengutronix.de: adapt commit message]
> [m.felsch@pengutronix.de: adapt formatting]
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  .../devicetree/bindings/sound/maxim,max98088.txt  | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98088.txt
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/sound/maxim,max98088.txt b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
new file mode 100644
index 000000000000..a79ad5c7af88
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
@@ -0,0 +1,15 @@ 
+MAX98088 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+- compatible: "maxim,max98088" or "maxim,max98089".
+- reg: The I2C address of the device.
+
+Example:
+
+max98089: codec@10 {
+	compatible = "maxim,max98089";
+	reg = <0x10>;
+};