* [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes
@ 2020-07-03 9:55 Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 1/5] dt-bingings: arm: stm32: " Benjamin Gaignard
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible")
it is required to provide at least 2 compatibles string for syscon node.
This series update the syscon of the STM32 SoCs to fix the reported errors.
Benjamin Gaignard (5):
dt-bingings: arm: stm32: Add compatibles for syscon nodes
ARM: dts: stm32: Add compatibles for syscon for stm32f426
ARM: dts: stm32: Add compatibles for syscon for stm32f746
ARM: dts: stm32: Add compatibles for syscon for stm32h743
ARM: dts: stm32: Add compatibles for syscon for stm32mp151
.../devicetree/bindings/arm/stm32/st,stm32-syscon.yaml | 14 +++++++++++++-
arch/arm/boot/dts/stm32f429.dtsi | 6 +++---
arch/arm/boot/dts/stm32f746.dtsi | 6 +++---
arch/arm/boot/dts/stm32h743.dtsi | 6 +++---
arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
5 files changed, 23 insertions(+), 11 deletions(-)
--
2.15.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/5] dt-bingings: arm: stm32: Add compatibles for syscon nodes
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
@ 2020-07-03 9:55 ` Benjamin Gaignard
2020-07-15 21:03 ` Rob Herring
2020-07-03 9:55 ` [PATCH 2/5] ARM: dts: stm32: Add compatibles for syscon for stm32f426 Benjamin Gaignard
` (4 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible")
it is required to provide at least 2 compatibles string for syscon node.
This patch document the missing compatibles for stm32 SoCs.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
.../devicetree/bindings/arm/stm32/st,stm32-syscon.yaml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
index cf5db5e273f3..6f1cd0103c74 100644
--- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml
@@ -16,6 +16,9 @@ properties:
- items:
- enum:
- st,stm32mp157-syscfg
+ - st,stm32mp151-pwr-mcu
+ - st,stm32-syscfg
+ - st,stm32-power-config
- const: syscon
reg:
@@ -27,7 +30,16 @@ properties:
required:
- compatible
- reg
- - clocks
+
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - st,stm32mp157-syscfg
+then:
+ required:
+ - clocks
additionalProperties: false
--
2.15.0
_______________________________________________
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] 8+ messages in thread
* [PATCH 2/5] ARM: dts: stm32: Add compatibles for syscon for stm32f426
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 1/5] dt-bingings: arm: stm32: " Benjamin Gaignard
@ 2020-07-03 9:55 ` Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 3/5] ARM: dts: stm32: Add compatibles for syscon for stm32f746 Benjamin Gaignard
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Syscon nodes needs at least 2 compatibles to be compliant why yaml documentation.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
arch/arm/boot/dts/stm32f429.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index 393f43c85a3c..f3a8d43993c9 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -586,8 +586,8 @@
status = "disabled";
};
- syscfg: system-config@40013800 {
- compatible = "syscon";
+ syscfg: syscon@40013800 {
+ compatible = "st,stm32-syscfg", "syscon";
reg = <0x40013800 0x400>;
};
@@ -674,7 +674,7 @@
};
pwrcfg: power-config@40007000 {
- compatible = "syscon";
+ compatible = "st,stm32-power-config", "syscon";
reg = <0x40007000 0x400>;
};
--
2.15.0
_______________________________________________
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] 8+ messages in thread
* [PATCH 3/5] ARM: dts: stm32: Add compatibles for syscon for stm32f746
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 1/5] dt-bingings: arm: stm32: " Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 2/5] ARM: dts: stm32: Add compatibles for syscon for stm32f426 Benjamin Gaignard
@ 2020-07-03 9:55 ` Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 4/5] ARM: dts: stm32: Add compatibles for syscon for stm32h743 Benjamin Gaignard
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Syscon nodes needs at least 2 compatibles to be compliant why yaml documentation.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
arch/arm/boot/dts/stm32f746.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index 93c063796780..88a10deb3783 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -496,8 +496,8 @@
status = "disabled";
};
- syscfg: system-config@40013800 {
- compatible = "syscon";
+ syscfg: syscon@40013800 {
+ compatible = "st,stm32-syscfg", "syscon";
reg = <0x40013800 0x400>;
};
@@ -564,7 +564,7 @@
};
pwrcfg: power-config@40007000 {
- compatible = "syscon";
+ compatible = "st,stm32-power-config", "syscon";
reg = <0x40007000 0x400>;
};
--
2.15.0
_______________________________________________
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] 8+ messages in thread
* [PATCH 4/5] ARM: dts: stm32: Add compatibles for syscon for stm32h743
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
` (2 preceding siblings ...)
2020-07-03 9:55 ` [PATCH 3/5] ARM: dts: stm32: Add compatibles for syscon for stm32f746 Benjamin Gaignard
@ 2020-07-03 9:55 ` Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 5/5] ARM: dts: stm32: Add compatibles for syscon for stm32mp151 Benjamin Gaignard
2020-07-21 8:43 ` [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Alexandre Torgue
5 siblings, 0 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Syscon nodes needs at least 2 compatibles to be compliant why yaml documentation.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
arch/arm/boot/dts/stm32h743.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 9b7fc68380e9..387f1f85b23f 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -361,8 +361,8 @@
interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <62>, <76>;
};
- syscfg: system-config@58000400 {
- compatible = "syscon";
+ syscfg: syscon@58000400 {
+ compatible = "st,stm32-syscfg", "syscon";
reg = <0x58000400 0x400>;
};
@@ -502,7 +502,7 @@
};
pwrcfg: power-config@58024800 {
- compatible = "syscon";
+ compatible = "st,stm32-power-config", "syscon";
reg = <0x58024800 0x400>;
};
--
2.15.0
_______________________________________________
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] 8+ messages in thread
* [PATCH 5/5] ARM: dts: stm32: Add compatibles for syscon for stm32mp151
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
` (3 preceding siblings ...)
2020-07-03 9:55 ` [PATCH 4/5] ARM: dts: stm32: Add compatibles for syscon for stm32h743 Benjamin Gaignard
@ 2020-07-03 9:55 ` Benjamin Gaignard
2020-07-21 8:43 ` [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Alexandre Torgue
5 siblings, 0 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2020-07-03 9:55 UTC (permalink / raw)
To: robh+dt, mcoquelin.stm32, alexandre.torgue, lee.jones, benjamin.gaignard
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Syscon nodes needs at least 2 compatibles to be compliant why yaml documentation.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 36f38a95b4de..0b86a916e297 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1127,7 +1127,7 @@
};
pwr_mcu: pwr_mcu@50001014 {
- compatible = "syscon";
+ compatible = "st,stm32mp151-pwr-mcu", "syscon";
reg = <0x50001014 0x4>;
};
--
2.15.0
_______________________________________________
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] 8+ messages in thread
* Re: [PATCH 1/5] dt-bingings: arm: stm32: Add compatibles for syscon nodes
2020-07-03 9:55 ` [PATCH 1/5] dt-bingings: arm: stm32: " Benjamin Gaignard
@ 2020-07-15 21:03 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-07-15 21:03 UTC (permalink / raw)
To: Benjamin Gaignard
Cc: devicetree, alexandre.torgue, linux-kernel, robh+dt,
mcoquelin.stm32, lee.jones, linux-stm32, linux-arm-kernel
On Fri, 03 Jul 2020 11:55:16 +0200, Benjamin Gaignard wrote:
> Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible")
> it is required to provide at least 2 compatibles string for syscon node.
> This patch document the missing compatibles for stm32 SoCs.
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
> ---
> .../devicetree/bindings/arm/stm32/st,stm32-syscon.yaml | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
Typo in the subject, otherwise:
Reviewed-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
` (4 preceding siblings ...)
2020-07-03 9:55 ` [PATCH 5/5] ARM: dts: stm32: Add compatibles for syscon for stm32mp151 Benjamin Gaignard
@ 2020-07-21 8:43 ` Alexandre Torgue
5 siblings, 0 replies; 8+ messages in thread
From: Alexandre Torgue @ 2020-07-21 8:43 UTC (permalink / raw)
To: Benjamin Gaignard, robh+dt, mcoquelin.stm32, lee.jones
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Hi Benjamin
On 7/3/20 11:55 AM, Benjamin Gaignard wrote:
> Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible")
> it is required to provide at least 2 compatibles string for syscon node.
> This series update the syscon of the STM32 SoCs to fix the reported errors.
>
> Benjamin Gaignard (5):
> dt-bingings: arm: stm32: Add compatibles for syscon nodes
> ARM: dts: stm32: Add compatibles for syscon for stm32f426
> ARM: dts: stm32: Add compatibles for syscon for stm32f746
> ARM: dts: stm32: Add compatibles for syscon for stm32h743
> ARM: dts: stm32: Add compatibles for syscon for stm32mp151
>
> .../devicetree/bindings/arm/stm32/st,stm32-syscon.yaml | 14 +++++++++++++-
> arch/arm/boot/dts/stm32f429.dtsi | 6 +++---
> arch/arm/boot/dts/stm32f746.dtsi | 6 +++---
> arch/arm/boot/dts/stm32h743.dtsi | 6 +++---
> arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
> 5 files changed, 23 insertions(+), 11 deletions(-)
>
Series applied on stm32-next by fixing subject of patch [1].
Regards
Alex
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-07-21 8:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 9:55 [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 1/5] dt-bingings: arm: stm32: " Benjamin Gaignard
2020-07-15 21:03 ` Rob Herring
2020-07-03 9:55 ` [PATCH 2/5] ARM: dts: stm32: Add compatibles for syscon for stm32f426 Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 3/5] ARM: dts: stm32: Add compatibles for syscon for stm32f746 Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 4/5] ARM: dts: stm32: Add compatibles for syscon for stm32h743 Benjamin Gaignard
2020-07-03 9:55 ` [PATCH 5/5] ARM: dts: stm32: Add compatibles for syscon for stm32mp151 Benjamin Gaignard
2020-07-21 8:43 ` [PATCH 0/5] ARM: STM32: Add compatibles for syscon nodes Alexandre Torgue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).