diff mbox

[v2,1/2] ASoC: ads117x: Add bindings documentation for TI ADS117x ADC

Message ID 1454686334-9668-2-git-send-email-florian.vaussard@heig-vd.ch (mailing list archive)
State Accepted
Commit c9146fae4e88fa9864c4a7087289523b96cdbf2d
Headers show

Commit Message

Florian Vaussard Feb. 5, 2016, 3:32 p.m. UTC
Currently the binding is only made of the compatible string.

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
---
 Documentation/devicetree/bindings/sound/ti,ads117x.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti,ads117x.txt

Comments

Rob Herring (Arm) Feb. 8, 2016, 7:26 p.m. UTC | #1
On Fri, Feb 05, 2016 at 04:32:13PM +0100, Florian Vaussard wrote:
> Currently the binding is only made of the compatible string.
> 
> Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
> ---
>  Documentation/devicetree/bindings/sound/ti,ads117x.txt | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/sound/ti,ads117x.txt

Acked-by: Rob Herring <robh@kernel.org>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/ti,ads117x.txt b/Documentation/devicetree/bindings/sound/ti,ads117x.txt
new file mode 100644
index 0000000..7db19b5
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ti,ads117x.txt
@@ -0,0 +1,11 @@ 
+Texas Intstruments ADS117x ADC
+
+Required properties:
+
+  - compatible : "ti,ads1174" or "ti,ads1178"
+
+Example:
+
+ads1178 {
+	compatible = "ti,ads1178";
+};