]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: stm32: syscon: Add clock support
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 12 Dec 2018 08:48:13 +0000 (09:48 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 14 May 2019 07:13:25 +0000 (08:13 +0100)
STM32 system configuration controller registers needs to be clocked.
Document clock support on stm32-syscon.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/arm/stm32/stm32-syscon.txt

index 99980aee26e5fe748512ed78da9f50315ea1abb3..c92d411fd02381bf1a5cb2f03e3c72de05d1a52b 100644 (file)
@@ -5,10 +5,12 @@ Properties:
                  - " st,stm32mp157-syscfg " - for stm32mp157 based SoCs,
                  second value must be always "syscon".
    - reg : offset and length of the register set.
+   - clocks: phandle to the syscfg clock
 
  Example:
          syscfg: syscon@50020000 {
                  compatible = "st,stm32mp157-syscfg", "syscon";
                  reg = <0x50020000 0x400>;
+                 clocks = <&rcc SYSCFG>;
          };