Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pmdomain: imx93: Fix shared MIPI PHY resource management
@ 2026-06-09  6:26 Guoniu Zhou
  2026-06-09  6:26 ` [PATCH 1/2] dt-bindings: power: imx93: Add MIPI PHY power domain Guoniu Zhou
  2026-06-09  6:26 ` [PATCH 2/2] pmdomain: imx93-blk-ctrl: Extract PHY as shared domain for DSI/CSI Guoniu Zhou
  0 siblings, 2 replies; 6+ messages in thread
From: Guoniu Zhou @ 2026-06-09  6:26 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Ulf Hansson,
	Peng Fan, Shawn Guo
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, linux-pm,
	Guoniu Zhou, stable

The i.MX93 MIPI DSI and CSI domains share control bits for clock and
reset in the media block controller. This creates a resource conflict
where one domain can inadvertently disable shared resources while the
other domain is still active, leading to system instability.

This series fixes the issue by introducing a dedicated MIPI PHY power
domain that owns the shared clock and reset control bits. The DSI and
CSI domains are then made subdomains of this PHY domain, ensuring proper
reference counting and preventing premature resource shutdown.

Tested on i.MX93 EVK with concurrent DSI and CSI operations.

Signed-off-by: Guoniu Zhou <guoniu.zhou@oss.nxp.com>
---
Guoniu Zhou (2):
      dt-bindings: power: imx93: Add MIPI PHY power domain
      pmdomain: imx93-blk-ctrl: Extract PHY as shared domain for DSI/CSI

 drivers/pmdomain/imx/imx93-blk-ctrl.c       | 60 ++++++++++++++++++++++++++++-
 include/dt-bindings/power/fsl,imx93-power.h |  1 +
 2 files changed, 59 insertions(+), 2 deletions(-)
---
base-commit: 3b7a18a34e8d3b14c7c926f033488a0350de9759
change-id: 20260608-pm_imx93-6ccc1aa11932

Best regards,
-- 
Guoniu Zhou <guoniu.zhou@oss.nxp.com>



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

end of thread, other threads:[~2026-06-09 15:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09  6:26 [PATCH 0/2] pmdomain: imx93: Fix shared MIPI PHY resource management Guoniu Zhou
2026-06-09  6:26 ` [PATCH 1/2] dt-bindings: power: imx93: Add MIPI PHY power domain Guoniu Zhou
2026-06-09 14:52   ` Frank Li
2026-06-09 15:13   ` Krzysztof Kozlowski
2026-06-09  6:26 ` [PATCH 2/2] pmdomain: imx93-blk-ctrl: Extract PHY as shared domain for DSI/CSI Guoniu Zhou
2026-06-09 15:09   ` Frank Li

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