All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st, stm32mp1-rcc-secure"
@ 2022-05-09 13:46 ` Alexandre Torgue
  0 siblings, 0 replies; 17+ messages in thread
From: Alexandre Torgue @ 2022-05-09 13:46 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Michael Turquette, Stephen Boyd
  Cc: devicetree, linux-arm-kernel, linux-kernel, Alexandre Torgue,
	linux-stm32

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>

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>;
     };
 ...
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure"
@ 2022-05-11  9:25 ` Alexandre Torgue
  0 siblings, 0 replies; 17+ messages in thread
From: Alexandre Torgue @ 2022-05-11  9:25 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, Kevin Hilman, soc, arm
  Cc: Alexandre Torgue, linux-arm-kernel, robh

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

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>;
     };
 ...
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-05-13 10:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-09 13:46 [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st, stm32mp1-rcc-secure" Alexandre Torgue
2022-05-09 13:46 ` [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure" Alexandre Torgue
2022-05-09 19:16 ` [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st, stm32mp1-rcc-secure" Rob Herring
2022-05-09 19:16   ` [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure" Rob Herring
2022-05-10  7:47   ` Alexandre TORGUE
2022-05-10  7:47     ` Alexandre TORGUE
2022-05-10 14:57     ` Rob Herring
2022-05-10 14:57       ` Rob Herring
2022-05-10 16:44       ` Alexandre TORGUE
2022-05-10 16:44         ` Alexandre TORGUE
2022-05-10 18:22         ` Rob Herring
2022-05-10 18:22           ` Rob Herring
2022-05-10 18:23 ` Rob Herring
2022-05-10 18:23   ` Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2022-05-11  9:25 Alexandre Torgue
2022-05-11  9:25 ` [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st, stm32mp1-rcc-secure" Alexandre Torgue
2022-05-13 10:00 ` [PATCH] dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure" patchwork-bot+linux-soc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.