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


Groups > linux.kernel > #1441903 > unrolled thread

[PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2016-07-13 01:10 +0200
Last post2016-07-17 00:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-13 01:10 +0200
    Re: [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node  names Rob Herring <robh@kernel.org> - 2016-07-17 00:20 +0200

#1441903 — [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2016-07-13 01:10 +0200
Subject[PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names
Message-ID<rUeYq-3aN-11@gated-at.bofh.it>
The trigger doesn't need the reg property. When it is not defined, the node
name doesn't need a unit-address. Remove them from the example.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 Documentation/devicetree/bindings/iio/adc/at91_adc.txt | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/at91_adc.txt b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt
index 0f813dec5e08..f65b04fb7962 100644
--- a/Documentation/devicetree/bindings/iio/adc/at91_adc.txt
+++ b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt
@@ -59,28 +59,24 @@ adc0: adc@fffb0000 {
 	atmel,adc-res-names = "lowres", "highres";
 	atmel,adc-use-res = "lowres";
 
-	trigger@0 {
-		reg = <0>;
+	trigger0 {
 		trigger-name = "external-rising";
 		trigger-value = <0x1>;
 		trigger-external;
 	};
-	trigger@1 {
-		reg = <1>;
+	trigger1 {
 		trigger-name = "external-falling";
 		trigger-value = <0x2>;
 		trigger-external;
 	};
 
-	trigger@2 {
-		reg = <2>;
+	trigger2 {
 		trigger-name = "external-any";
 		trigger-value = <0x3>;
 		trigger-external;
 	};
 
-	trigger@3 {
-		reg = <3>;
+	trigger3 {
 		trigger-name = "continuous";
 		trigger-value = <0x6>;
 	};
-- 
2.8.1

[toc] | [next] | [standalone]


#1444946 — Re: [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names

FromRob Herring <robh@kernel.org>
Date2016-07-17 00:20 +0200
SubjectRe: [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names
Message-ID<rVG6e-10k-21@gated-at.bofh.it>
In reply to#1441903
On Wed, Jul 13, 2016 at 01:07:27AM +0200, Alexandre Belloni wrote:
> The trigger doesn't need the reg property. When it is not defined, the node
> name doesn't need a unit-address. Remove them from the example.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  Documentation/devicetree/bindings/iio/adc/at91_adc.txt | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web