Skip to content

Commit 6ab6b4e

Browse files
ehristevjic23
authored andcommitted
Documentation: dt: iio: at91-sama5d2_adc: add hw trigger edge binding
Add property for the edge type of the hardware trigger pin ADTRG Signed-off-by: Eugen Hristev <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Ludovic Desroches <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent edd80a5 commit 6ab6b4e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/iio/adc/at91-sama5d2_adc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Required properties:
1111
- atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC.
1212
- atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC.
1313
- atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC.
14+
- atmel,trigger-edge-type: One of possible edge types for the ADTRG hardware
15+
trigger pin. When the specific edge type is detected, the conversion will
16+
start. Possible values are rising, falling, or both.
17+
This property uses the IRQ edge types values: IRQ_TYPE_EDGE_RISING ,
18+
IRQ_TYPE_EDGE_FALLING or IRQ_TYPE_EDGE_BOTH
1419

1520
Example:
1621

@@ -25,4 +30,5 @@ adc: adc@fc030000 {
2530
atmel,startup-time-ms = <4>;
2631
vddana-supply = <&vdd_3v3_lp_reg>;
2732
vref-supply = <&vdd_3v3_lp_reg>;
33+
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_BOTH>;
2834
}

0 commit comments

Comments
 (0)