Skip to content

Commit

Permalink
Documentation: dt: iio: at91_adc: fix trigger node names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni committed Jul 15, 2016
1 parent b8bca7e commit 3cf2656
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Documentation/devicetree/bindings/iio/adc/at91_adc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
Expand Down

0 comments on commit 3cf2656

Please sign in to comment.