diff options
author | Benjamin Gaignard <benjamin.gaignard@st.com> | 2019-11-18 10:48:42 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-11-21 08:35:19 -0600 |
commit | b88091f5d84a5a5bf9c0583c693373ab8a2ee425 (patch) | |
tree | 44311c8bff475d7af71cd8999f34e078ec9e7334 /Documentation/devicetree/bindings/mfd/stm32-lptimer.txt | |
parent | b9da2fcc5ed97136e94a6d96b7ac0f18d832618f (diff) | |
download | linux-b88091f5d84a5a5bf9c0583c693373ab8a2ee425.tar.gz |
dt-bindings: mfd: Convert stm32 low power timers bindings to json-schema
Convert the STM32 low power timers binding to DT schema format using json-schema
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/stm32-lptimer.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/stm32-lptimer.txt | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Documentation/devicetree/bindings/mfd/stm32-lptimer.txt b/Documentation/devicetree/bindings/mfd/stm32-lptimer.txt deleted file mode 100644 index fb54e4dad5b3..000000000000 --- a/Documentation/devicetree/bindings/mfd/stm32-lptimer.txt +++ /dev/null @@ -1,48 +0,0 @@ -STMicroelectronics STM32 Low-Power Timer - -The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several -functions: -- PWM output (with programmable prescaler, configurable polarity) -- Quadrature encoder, counter -- Trigger source for STM32 ADC/DAC (LPTIM_OUT) - -Required properties: -- compatible: Must be "st,stm32-lptimer". -- reg: Offset and length of the device's register set. -- clocks: Phandle to the clock used by the LP Timer module. -- clock-names: Must be "mux". -- #address-cells: Should be '<1>'. -- #size-cells: Should be '<0>'. - -Optional subnodes: -- pwm: See ../pwm/pwm-stm32-lp.txt -- counter: See ../counter/stm32-lptimer-cnt.txt -- trigger: See ../iio/timer/stm32-lptimer-trigger.txt - -Example: - - timer@40002400 { - compatible = "st,stm32-lptimer"; - reg = <0x40002400 0x400>; - clocks = <&timer_clk>; - clock-names = "mux"; - #address-cells = <1>; - #size-cells = <0>; - - pwm { - compatible = "st,stm32-pwm-lp"; - pinctrl-names = "default"; - pinctrl-0 = <&lppwm1_pins>; - }; - - trigger@0 { - compatible = "st,stm32-lptimer-trigger"; - reg = <0>; - }; - - counter { - compatible = "st,stm32-lptimer-counter"; - pinctrl-names = "default"; - pinctrl-0 = <&lptim1_in_pins>; - }; - }; |