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


Groups > linux.kernel > #1440227

[PATCH v3 1/2] dt-bindings: auxadc: Add binding document for Mediatek auxadc.

From Zhiyong Tao <zhiyong.tao@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/2] dt-bindings: auxadc: Add binding document for Mediatek auxadc.
Date 2016-07-11 05:20 +0200
Message-ID <rTzVf-1r7-11@gated-at.bofh.it> (permalink)
References <rTzVf-1r7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The commit adds the device tree binding documentation for the mediatek
auxadc found on Mediatek MT2701.
Thermal gets auxadc sample data by iio device.
So the commit changes auxadc device tree binding documentation from
/soc/mediatek/auxadc.txt to /iio/adc/mt65xx_auxadc.txt.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
---
 .../devicetree/bindings/iio/adc/mt65xx_auxadc.txt  |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt b/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt
index 47fcd1b..bc23792 100644
--- a/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt
+++ b/Documentation/devicetree/bindings/iio/adc/mt65xx_auxadc.txt
@@ -14,11 +14,11 @@ Required properties:
   - reg: Address range of the AUXADC unit.
   - clocks: Should contain a clock specifier for each entry in clock-names
   - clock-names: Should contain "main".
-  - io-channel-cells: Should be 1, see ../iio-bindings.txt
+  - #io-channel-cells: Should be 1, see ../iio-bindings.txt
 
 Example:
 
-auxadc: auxadc@11001000 {
+auxadc: adc@11001000 {
 	compatible = "mediatek,mt2701-auxadc";
 	reg = <0 0x11001000 0 0x1000>;
 	clocks = <&pericfg CLK_PERI_AUXADC>;
-- 
1.7.9.5

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


Thread

[PATCH v3 0/2] AUXADC: Mediatek auxadc driver  Zhiyong Tao <zhiyong.tao@mediatek.com> - 2016-07-11 05:20 +0200
  [PATCH v3 2/2] iio: adc: mt2701: Add Mediatek auxadc driver for mt2701. Zhiyong Tao <zhiyong.tao@mediatek.com> - 2016-07-11 05:20 +0200
  [PATCH v3 1/2] dt-bindings: auxadc: Add binding document for Mediatek auxadc. Zhiyong Tao <zhiyong.tao@mediatek.com> - 2016-07-11 05:20 +0200

csiph-web