aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-01-28 18:21:49 +0000
committerJonathan Cameron <jic23@kernel.org>2017-01-28 18:21:49 +0000
commit6db0f7ccc9f3876840e36c23ce357204cdc2d0ae (patch)
tree216ac355f5d7134a87acdc7678d308366250a303 /Documentation/devicetree/bindings/iio
parentiio: distance: srf08: add driver ABI documentation (diff)
parentiio: Add STM32 timer trigger driver (diff)
downloadlinux-dev-6db0f7ccc9f3876840e36c23ce357204cdc2d0ae.tar.xz
linux-dev-6db0f7ccc9f3876840e36c23ce357204cdc2d0ae.zip
Merge tag 'ib-mfd-iio-pwm-4.11' into test
Immutable branch between MFD, IIO and PWM due for the v4.11 merge window Pulled into IIO to allow follow up series of triggered capture for the STM32 ADCs.
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt b/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt
new file mode 100644
index 000000000000..55a653d15303
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/timer/stm32-timer-trigger.txt
@@ -0,0 +1,23 @@
+STMicroelectronics STM32 Timers IIO timer bindings
+
+Must be a sub-node of an STM32 Timers device tree node.
+See ../mfd/stm32-timers.txt for details about the parent node.
+
+Required parameters:
+- compatible: Must be "st,stm32-timer-trigger".
+- reg: Identify trigger hardware block.
+
+Example:
+ timers@40010000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "st,stm32-timers";
+ reg = <0x40010000 0x400>;
+ clocks = <&rcc 0 160>;
+ clock-names = "clk_int";
+
+ timer@0 {
+ compatible = "st,stm32-timer-trigger";
+ reg = <0>;
+ };
+ };