Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292939

[PATCH 1/2] devicetree: sound: add binding for WM8974 codec

From Mans Rullgard <mans@mansr.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] devicetree: sound: add binding for WM8974 codec
Date 2015-12-16 14:10 +0100
Message-ID <qGk09-2ba-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] devicetree: sound: add binding for WM8974 codec Mans Rullgard <mans@mansr.com> - 2015-12-16 14:10 +0100
  Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Måns Rullgård <mans@mansr.com> - 2015-12-16 14:40 +0100
    Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Mark Brown <broonie@kernel.org> - 2015-12-16 14:50 +0100
      Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Måns Rullgård <mans@mansr.com> - 2015-12-16 15:00 +0100
        Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Mark Brown <broonie@kernel.org> - 2015-12-16 20:00 +0100
    Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec Rob Herring <robh@kernel.org> - 2015-12-19 05:20 +0100
  [PATCH] devicetree: sound: add binding for WM8974 codec Mans Rullgard <mans@mansr.com> - 2015-12-16 15:00 +0100
    Re: [PATCH] devicetree: sound: add binding for WM8974 codec Rob Herring <robh@kernel.org> - 2015-12-19 05:20 +0100

csiph-web