ASoC: wm8974: add binding for WM8974 codec
authorMans Rullgard <mans@mansr.com>
Wed, 16 Dec 2015 13:55:13 +0000 (13:55 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 18 Dec 2015 08:26:11 +0000 (08:26 +0000)
This adds a binding for the Wolfson WM8974 mono audio codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/wlf,wm8974.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8974.txt b/Documentation/devicetree/bindings/sound/wlf,wm8974.txt
new file mode 100644 (file)
index 0000000..01d3a7c
--- /dev/null
@@ -0,0 +1,15 @@
+WM8974 audio CODEC
+
+This device supports both I2C and SPI (configured with pin strapping
+on the board).
+
+Required properties:
+  - compatible: "wlf,wm8974"
+  - reg: the I2C address or SPI chip select number of the device
+
+Examples:
+
+codec: wm8974@1a {
+       compatible = "wlf,wm8974";
+       reg = <0x1a>;
+};