All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] devicetree: sound: add binding for WM8974 codec
@ 2015-12-16 13:02 Mans Rullgard
  2015-12-16 13:02 ` [PATCH 2/2] ASoC: wm8974: add devicetree support Mans Rullgard
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Mans Rullgard @ 2015-12-16 13:02 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree, linux-kernel

This adds a binding for the Wolfson WM8974 mono audio codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
The Linux driver for this device currently only supports I2C, but SPI
could easily be added if necessary, and DT bindings are supposed to be
generic.
---
 Documentation/devicetree/bindings/sound/wlf,wm8974.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.txt

diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8974.txt b/Documentation/devicetree/bindings/sound/wlf,wm8974.txt
new file mode 100644
index 0000000..01d3a7c
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/wlf,wm8974.txt
@@ -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>;
+};
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-12-19  4:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16 13:02 [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Mans Rullgard
2015-12-16 13:02 ` [PATCH 2/2] ASoC: wm8974: add devicetree support Mans Rullgard
2015-12-16 13:24   ` [alsa-devel] " Charles Keepax
2015-12-16 13:24     ` Charles Keepax
2015-12-16 13:24   ` Mark Brown
2015-12-18 12:15   ` Applied "ASoC: wm8974: add devicetree support" to the asoc tree Mark Brown
2015-12-16 13:31 ` [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Måns Rullgård
2015-12-16 13:44   ` Mark Brown
2015-12-16 13:44     ` Mark Brown
2015-12-16 13:54     ` Måns Rullgård
2015-12-16 18:48       ` Mark Brown
2015-12-16 18:48         ` Mark Brown
2015-12-19  4:19   ` Rob Herring
2015-12-16 13:55 ` [PATCH] " Mans Rullgard
2015-12-16 13:55   ` Mans Rullgard
2015-12-19  4:19   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.