* [PATCH 1/3] dt-bindings: spi: st,stm32-spi: add 'power-domains' property
2025-12-15 12:26 [PATCH 0/3] spi: st: add power-domains on stm32mp2x Alain Volmat
@ 2025-12-15 12:26 ` Alain Volmat
2025-12-15 12:26 ` [PATCH 2/3] arm64: dts: st: add power-domains in all spi of stm32mp251.dtsi Alain Volmat
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Alain Volmat @ 2025-12-15 12:26 UTC (permalink / raw)
To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Alexandre Torgue, Erwan Leray, Fabrice Gasnier
Cc: linux-spi, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Alain Volmat
STM32 SPI may be in a power domain which is the case for the STM32MP2x
based boards. Allow a single 'power-domains' entry for STM32 SPI.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
index ca880a226afa..472e92974714 100644
--- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
@@ -96,6 +96,9 @@ properties:
The region should be defined as child node of the AHB SRAM node
as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml
+ power-domains:
+ maxItems: 1
+
access-controllers:
minItems: 1
maxItems: 2
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] arm64: dts: st: add power-domains in all spi of stm32mp251.dtsi
2025-12-15 12:26 [PATCH 0/3] spi: st: add power-domains on stm32mp2x Alain Volmat
2025-12-15 12:26 ` [PATCH 1/3] dt-bindings: spi: st,stm32-spi: add 'power-domains' property Alain Volmat
@ 2025-12-15 12:26 ` Alain Volmat
2025-12-15 12:26 ` [PATCH 3/3] arm64: dts: st: add power-domains in all spi of stm32mp231.dtsi Alain Volmat
2025-12-16 16:46 ` (subset) [PATCH 0/3] spi: st: add power-domains on stm32mp2x Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Alain Volmat @ 2025-12-15 12:26 UTC (permalink / raw)
To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Alexandre Torgue, Erwan Leray, Fabrice Gasnier
Cc: linux-spi, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Alain Volmat
Add the power-domains property in all spi instances available
on the stm32mp251.dtsi
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index a8e6e0f77b83..64c3487b3cda 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -672,6 +672,7 @@ spi2: spi@400b0000 {
<&hpdma 52 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 23>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -702,6 +703,7 @@ spi3: spi@400c0000 {
<&hpdma 54 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 24>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1048,6 +1050,7 @@ spi1: spi@40230000 {
<&hpdma 50 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 22>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1063,6 +1066,7 @@ spi4: spi@40240000 {
<&hpdma 56 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 25>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1171,6 +1175,7 @@ spi5: spi@40280000 {
<&hpdma 58 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 26>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1380,6 +1385,7 @@ spi6: spi@40350000 {
<&hpdma 60 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 27>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1395,6 +1401,7 @@ spi7: spi@40360000 {
<&hpdma 62 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 28>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
@@ -1444,6 +1451,7 @@ spi8: spi@46020000 {
<&hpdma 172 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 29>;
+ power-domains = <&CLUSTER_PD>;
status = "disabled";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/3] arm64: dts: st: add power-domains in all spi of stm32mp231.dtsi
2025-12-15 12:26 [PATCH 0/3] spi: st: add power-domains on stm32mp2x Alain Volmat
2025-12-15 12:26 ` [PATCH 1/3] dt-bindings: spi: st,stm32-spi: add 'power-domains' property Alain Volmat
2025-12-15 12:26 ` [PATCH 2/3] arm64: dts: st: add power-domains in all spi of stm32mp251.dtsi Alain Volmat
@ 2025-12-15 12:26 ` Alain Volmat
2025-12-16 16:46 ` (subset) [PATCH 0/3] spi: st: add power-domains on stm32mp2x Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Alain Volmat @ 2025-12-15 12:26 UTC (permalink / raw)
To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Alexandre Torgue, Erwan Leray, Fabrice Gasnier
Cc: linux-spi, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Alain Volmat
Add the power-domains property in all spi instances available
on the stm32mp231.dtsi
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
arch/arm64/boot/dts/st/stm32mp231.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
index 88e214d395ab..6b1cd5cd2cfb 100644
--- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
@@ -251,6 +251,7 @@ spi2: spi@400b0000 {
<&hpdma 52 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 23>;
+ power-domains = <&cluster_pd>;
status = "disabled";
};
@@ -281,6 +282,7 @@ spi3: spi@400c0000 {
<&hpdma 54 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 24>;
+ power-domains = <&cluster_pd>;
status = "disabled";
};
@@ -433,6 +435,7 @@ spi1: spi@40230000 {
<&hpdma 50 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 22>;
+ power-domains = <&cluster_pd>;
status = "disabled";
};
@@ -448,6 +451,7 @@ spi4: spi@40240000 {
<&hpdma 56 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 25>;
+ power-domains = <&cluster_pd>;
status = "disabled";
};
@@ -463,6 +467,7 @@ spi5: spi@40280000 {
<&hpdma 58 0x20 0x3021>;
dma-names = "rx", "tx";
access-controllers = <&rifsc 26>;
+ power-domains = <&cluster_pd>;
status = "disabled";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: (subset) [PATCH 0/3] spi: st: add power-domains on stm32mp2x
2025-12-15 12:26 [PATCH 0/3] spi: st: add power-domains on stm32mp2x Alain Volmat
` (2 preceding siblings ...)
2025-12-15 12:26 ` [PATCH 3/3] arm64: dts: st: add power-domains in all spi of stm32mp231.dtsi Alain Volmat
@ 2025-12-16 16:46 ` Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2025-12-16 16:46 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Erwan Leray, Fabrice Gasnier, Alain Volmat
Cc: linux-spi, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
On Mon, 15 Dec 2025 13:26:19 +0100, Alain Volmat wrote:
> This series add the possibility to indicate a power-domains for an spi
> instance and set the related property for all spi instances on
> stm32mp2x.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/3] dt-bindings: spi: st,stm32-spi: add 'power-domains' property
commit: f4acea9eef704607d1a950909ce3a52a770d6be2
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread