Skip to content

Commit 045d0c3

Browse files
Alexandre Torguearndb
authored andcommitted
dt-bindings: clock: stm32mp1: adapt example for "st,stm32mp1-rcc-secure"
For "st,stm32mp1-rcc-secure" schema, clocks and clock-names entries are now required properties. Signed-off-by: Alexandre Torgue <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]' Signed-off-by: Arnd Bergmann <[email protected]>
1 parent eea502e commit 045d0c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,17 @@ additionalProperties: false
106106

107107
examples:
108108
- |
109+
#include <dt-bindings/clock/stm32mp1-clks.h>
109110
rcc: rcc@50000000 {
110111
compatible = "st,stm32mp1-rcc-secure", "syscon";
111112
reg = <0x50000000 0x1000>;
112113
#clock-cells = <1>;
113114
#reset-cells = <1>;
115+
clock-names = "hse", "hsi", "csi", "lse", "lsi";
116+
clocks = <&scmi_clk CK_SCMI_HSE>,
117+
<&scmi_clk CK_SCMI_HSI>,
118+
<&scmi_clk CK_SCMI_CSI>,
119+
<&scmi_clk CK_SCMI_LSE>,
120+
<&scmi_clk CK_SCMI_LSI>;
114121
};
115122
...

0 commit comments

Comments
 (0)