Commit 74896202 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Jonathan Cameron

dt-bindings: iio: stm32-lptimer-counter: document pinctrl sleep state

Add documentation for optional pinctrl sleep state that can be used by
STM32 LPTimer encoder/counter.
Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 722f2cca
...@@ -10,8 +10,9 @@ See ../mfd/stm32-lptimer.txt for details about the parent node. ...@@ -10,8 +10,9 @@ See ../mfd/stm32-lptimer.txt for details about the parent node.
Required properties: Required properties:
- compatible: Must be "st,stm32-lptimer-counter". - compatible: Must be "st,stm32-lptimer-counter".
- pinctrl-names: Set to "default". - pinctrl-names: Set to "default". An additional "sleep" state can be
- pinctrl-0: List of phandles pointing to pin configuration nodes, defined to set pins in sleep state.
- pinctrl-n: List of phandles pointing to pin configuration nodes,
to set IN1/IN2 pins in mode of operation for Low-Power to set IN1/IN2 pins in mode of operation for Low-Power
Timer input on external pin. Timer input on external pin.
...@@ -21,7 +22,8 @@ Example: ...@@ -21,7 +22,8 @@ Example:
... ...
counter { counter {
compatible = "st,stm32-lptimer-counter"; compatible = "st,stm32-lptimer-counter";
pinctrl-names = "default"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&lptim1_in_pins>; pinctrl-0 = <&lptim1_in_pins>;
pinctrl-1 = <&lptim1_sleep_in_pins>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment