diff mbox series

dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure"

Message ID 20220511092559.4952-1-alexandre.torgue@foss.st.com (mailing list archive)
State Accepted
Commit 045d0c3db9119ebb36d50e0190bed4ea6374f6cf
Headers show
Series dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure" | expand

Commit Message

Alexandre TORGUE May 11, 2022, 9:25 a.m. UTC
For "st,stm32mp1-rcc-secure" schema, clocks and clock-names entries are now
required properties.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>

---

Hi ARM SoC Maintainers,

Can you consider this patch as a second round of STM32 DT updates for v5.19. It
fixes a build issue for stm32mp1-rcc expample yaml introduced in the first round.

Thanks
Alex

Comments

patchwork-bot+linux-soc@kernel.org May 13, 2022, 10 a.m. UTC | #1
Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Wed, 11 May 2022 11:25:59 +0200 you wrote:
> For "st,stm32mp1-rcc-secure" schema, clocks and clock-names entries are now
> required properties.
> 
> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
> Acked-by: Rob Herring <robh@kernel.org>
> 
> 
> [...]

Here is the summary with links:
  - dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure"
    https://git.kernel.org/soc/soc/c/045d0c3db911

You are awesome, thank you!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
index bb0e0b92e907..45b94124366c 100644
--- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
+++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
@@ -106,10 +106,17 @@  additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/clock/stm32mp1-clks.h>
     rcc: rcc@50000000 {
         compatible = "st,stm32mp1-rcc-secure", "syscon";
         reg = <0x50000000 0x1000>;
         #clock-cells = <1>;
         #reset-cells = <1>;
+        clock-names = "hse", "hsi", "csi", "lse", "lsi";
+        clocks = <&scmi_clk CK_SCMI_HSE>,
+                 <&scmi_clk CK_SCMI_HSI>,
+                 <&scmi_clk CK_SCMI_CSI>,
+                 <&scmi_clk CK_SCMI_LSE>,
+                 <&scmi_clk CK_SCMI_LSI>;
     };
 ...