public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x
@ 2025-12-19 15:58 Alain Volmat
  2025-12-19 15:58 ` [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property Alain Volmat
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

This series adds the bindings & dtsi updates related to the power-domain
properties for CSI & DCMIPP of the STM32MP2x.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Alain Volmat (6):
      dt-bindings: media: st: csi: add 'power-domains' property
      arm64: dts: st: add power-domain of csi in stm32mp251.dtsi
      arm64: dts: st: add power-domain of csi in stm32mp231.dtsi
      dt-bindings: media: st: dcmipp: add 'power-domains' property
      arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi
      arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi

 Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml  | 3 +++
 Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml | 3 +++
 arch/arm64/boot/dts/st/stm32mp231.dtsi                        | 2 ++
 arch/arm64/boot/dts/st/stm32mp251.dtsi                        | 2 ++
 4 files changed, 10 insertions(+)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251219-stm32-mp2x-dcmipp-csi-power-domain-7d57c8ce622f

Best regards,
-- 
Alain Volmat <alain.volmat@foss.st.com>



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

* [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2025-12-20  9:27   ` Krzysztof Kozlowski
  2025-12-19 15:58 ` [PATCH 2/6] arm64: dts: st: add power-domain of csi in stm32mp251.dtsi Alain Volmat
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

STM32 CSI may be in a power domain which is the case for the STM32MP2x
based boards. Allow a single 'power-domains' entry for STM32 CSI.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml b/Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml
index e9fa3cfea5d2..2ac7c9670c62 100644
--- a/Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml
+++ b/Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml
@@ -46,6 +46,9 @@ properties:
     minItems: 1
     maxItems: 2
 
+  power-domains:
+    maxItems: 1
+
   ports:
     $ref: /schemas/graph.yaml#/properties/ports
 

-- 
2.34.1



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

* [PATCH 2/6] arm64: dts: st: add power-domain of csi in stm32mp251.dtsi
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
  2025-12-19 15:58 ` [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2025-12-19 15:58 ` [PATCH 3/6] arm64: dts: st: add power-domain of csi in stm32mp231.dtsi Alain Volmat
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

Add the power-domain property in the csi node of stm32mp251.dtsi

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index a8e6e0f77b83..c83fa864eb3d 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -1589,6 +1589,7 @@ csi: csi@48020000 {
 					 <&rcc CK_KER_CSIPHY>;
 				clock-names = "pclk", "txesc", "csi2phy";
 				access-controllers = <&rifsc 86>;
+				power-domains = <&CLUSTER_PD>;
 				status = "disabled";
 			};
 

-- 
2.34.1



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

* [PATCH 3/6] arm64: dts: st: add power-domain of csi in stm32mp231.dtsi
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
  2025-12-19 15:58 ` [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property Alain Volmat
  2025-12-19 15:58 ` [PATCH 2/6] arm64: dts: st: add power-domain of csi in stm32mp251.dtsi Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2025-12-19 15:58 ` [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property Alain Volmat
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

Add the power-domain property in the csi node of stm32mp231.dtsi

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp231.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
index 88e214d395ab..be9dd882ce79 100644
--- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
@@ -676,6 +676,7 @@ csi: csi@48020000 {
 					 <&rcc CK_KER_CSIPHY>;
 				clock-names = "pclk", "txesc", "csi2phy";
 				access-controllers = <&rifsc 86>;
+				power-domains = <&cluster_pd>;
 				status = "disabled";
 			};
 

-- 
2.34.1



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

* [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
                   ` (2 preceding siblings ...)
  2025-12-19 15:58 ` [PATCH 3/6] arm64: dts: st: add power-domain of csi in stm32mp231.dtsi Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2025-12-20  9:34   ` Krzysztof Kozlowski
  2025-12-19 15:58 ` [PATCH 5/6] arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi Alain Volmat
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

STM32 DCMIPP may be in a power domain which is the case for the
STM32MP2x based boards.
Allow a single 'power-domains' entry for STM32 DCMIPP.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
index 7b03a77adbce..162a0c526d5d 100644
--- a/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
+++ b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
@@ -37,6 +37,9 @@ properties:
   resets:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
   access-controllers:
     minItems: 1
     maxItems: 2

-- 
2.34.1



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

* [PATCH 5/6] arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
                   ` (3 preceding siblings ...)
  2025-12-19 15:58 ` [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2025-12-19 15:58 ` [PATCH 6/6] arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi Alain Volmat
  2026-01-09  7:49 ` [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alexandre TORGUE
  6 siblings, 0 replies; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

Add the power-domain property in the dcmipp node of stm32mp251.dtsi

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index c83fa864eb3d..e8b6a593f237 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -1601,6 +1601,7 @@ dcmipp: dcmipp@48030000 {
 				clocks = <&rcc CK_BUS_DCMIPP>, <&rcc CK_KER_CSI>;
 				clock-names = "kclk", "mclk";
 				access-controllers = <&rifsc 87>;
+				power-domains = <&CLUSTER_PD>;
 				status = "disabled";
 			};
 

-- 
2.34.1



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

* [PATCH 6/6] arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
                   ` (4 preceding siblings ...)
  2025-12-19 15:58 ` [PATCH 5/6] arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi Alain Volmat
@ 2025-12-19 15:58 ` Alain Volmat
  2026-01-09  7:49 ` [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alexandre TORGUE
  6 siblings, 0 replies; 10+ messages in thread
From: Alain Volmat @ 2025-12-19 15:58 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, Alain Volmat

Add the power-domain property in the dcmipp node of stm32mp231.dtsi

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp231.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
index be9dd882ce79..577cd5b4cbb6 100644
--- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
@@ -688,6 +688,7 @@ dcmipp: dcmipp@48030000 {
 				clocks = <&rcc CK_BUS_DCMIPP>, <&rcc CK_KER_CSI>;
 				clock-names = "kclk", "mclk";
 				access-controllers = <&rifsc 87>;
+				power-domains = <&cluster_pd>;
 				status = "disabled";
 			};
 

-- 
2.34.1



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

* Re: [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property
  2025-12-19 15:58 ` [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property Alain Volmat
@ 2025-12-20  9:27   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-20  9:27 UTC (permalink / raw)
  To: Alain Volmat
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet,
	linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel

On Fri, Dec 19, 2025 at 04:58:03PM +0100, Alain Volmat wrote:
> STM32 CSI may be in a power domain which is the case for the STM32MP2x
> based boards. Allow a single 'power-domains' entry for STM32 CSI.
> 
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
>  Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof



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

* Re: [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property
  2025-12-19 15:58 ` [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property Alain Volmat
@ 2025-12-20  9:34   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-20  9:34 UTC (permalink / raw)
  To: Alain Volmat
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Hugues Fruchet,
	linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel

On Fri, Dec 19, 2025 at 04:58:06PM +0100, Alain Volmat wrote:
> STM32 DCMIPP may be in a power domain which is the case for the
> STM32MP2x based boards.
> Allow a single 'power-domains' entry for STM32 DCMIPP.
> 
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
>  Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof



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

* Re: [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x
  2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
                   ` (5 preceding siblings ...)
  2025-12-19 15:58 ` [PATCH 6/6] arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi Alain Volmat
@ 2026-01-09  7:49 ` Alexandre TORGUE
  6 siblings, 0 replies; 10+ messages in thread
From: Alexandre TORGUE @ 2026-01-09  7:49 UTC (permalink / raw)
  To: Alain Volmat, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Hugues Fruchet
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel

Hi Alain

On 12/19/25 16:58, Alain Volmat wrote:
> This series adds the bindings & dtsi updates related to the power-domain
> properties for CSI & DCMIPP of the STM32MP2x.
> 
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
> Alain Volmat (6):
>        dt-bindings: media: st: csi: add 'power-domains' property
>        arm64: dts: st: add power-domain of csi in stm32mp251.dtsi
>        arm64: dts: st: add power-domain of csi in stm32mp231.dtsi
>        dt-bindings: media: st: dcmipp: add 'power-domains' property
>        arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi
>        arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi
> 
>   Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml  | 3 +++
>   Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml | 3 +++
>   arch/arm64/boot/dts/st/stm32mp231.dtsi                        | 2 ++
>   arch/arm64/boot/dts/st/stm32mp251.dtsi                        | 2 ++
>   4 files changed, 10 insertions(+)
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251219-stm32-mp2x-dcmipp-csi-power-domain-7d57c8ce622f
> 
> Best regards,

Series applied on stm32-next.

Thanks
Alex


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

end of thread, other threads:[~2026-01-09  7:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 15:58 [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alain Volmat
2025-12-19 15:58 ` [PATCH 1/6] dt-bindings: media: st: csi: add 'power-domains' property Alain Volmat
2025-12-20  9:27   ` Krzysztof Kozlowski
2025-12-19 15:58 ` [PATCH 2/6] arm64: dts: st: add power-domain of csi in stm32mp251.dtsi Alain Volmat
2025-12-19 15:58 ` [PATCH 3/6] arm64: dts: st: add power-domain of csi in stm32mp231.dtsi Alain Volmat
2025-12-19 15:58 ` [PATCH 4/6] dt-bindings: media: st: dcmipp: add 'power-domains' property Alain Volmat
2025-12-20  9:34   ` Krzysztof Kozlowski
2025-12-19 15:58 ` [PATCH 5/6] arm64: dts: st: add power-domain of dcmipp in stm32mp251.dtsi Alain Volmat
2025-12-19 15:58 ` [PATCH 6/6] arm64: dts: st: add power-domain of dcmipp in stm32mp231.dtsi Alain Volmat
2026-01-09  7:49 ` [PATCH 0/6] media: stm32: add dcmipp/csi power-domain support for mp2x Alexandre TORGUE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox