linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names
@ 2016-07-12 23:07 Alexandre Belloni
  2016-07-12 23:07 ` [PATCH 2/4] ARM: dts: at91: Fix ADC trigger nodes Alexandre Belloni
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alexandre Belloni @ 2016-07-12 23:07 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Arnd Bergmann, Rob Herring, devicetree, linux-arm-kernel,
	linux-kernel, Alexandre Belloni

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

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

end of thread, other threads:[~2016-07-16 22:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 23:07 [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names Alexandre Belloni
2016-07-12 23:07 ` [PATCH 2/4] ARM: dts: at91: Fix ADC trigger nodes Alexandre Belloni
2016-07-12 23:07 ` [PATCH 3/4] Documentation: dt: usb: atmel-usb: add unit-address Alexandre Belloni
2016-07-16 22:14   ` Rob Herring
2016-07-12 23:07 ` [PATCH 4/4] ARM: dts: at91: Fix USB endpoint nodes Alexandre Belloni
2016-07-16 22:13 ` [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).