public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH V2 0/8] PCI: imx6: Integrate pwrctrl API and update device trees
@ 2026-04-02 10:09 Sherry Sun
  2026-04-02 10:10 ` [PATCH V2 1/8] PCI: imx6: Integrate new pwrctrl API for pci-imx6 Sherry Sun
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Sherry Sun @ 2026-04-02 10:09 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, kernel, festevam,
	lpieralisi, kwilczynski, mani, bhelgaas, hongxing.zhu, l.stach
  Cc: imx, linux-pci, linux-arm-kernel, devicetree, linux-kernel

Note: This patch set depends on my previous patch set [1] which adds
Root Port device tree nodes and support parsing the reset property in
new Root Port binding in pci-imx6 driver.

This series integrates the PCI pwrctrl framework into the pci-imx6
driver and updates i.MX EVK board device trees to support it.

Patches 2-8 update device trees for i.MX EVK boards which maintained
by NXP to move power supply properties from the PCIe controller node
to the Root Port child node, which is required for pwrctrl framework.
Affected boards:
- i.MX6Q/DL SABRESD
- i.MX6SX SDB
- i.MX8MM EVK
- i.MX8MP EVK
- i.MX8MQ EVK
- i.MX8DXL/QM/QXP EVK
- i.MX95 15x15/19x19 EVK

The driver maintains legacy regulator handling for device trees that
haven't been updated yet. Both old and new device tree structures are
supported.

[1] https://lore.kernel.org/all/20260318062916.2747472-1-sherry.sun@nxp.com/

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
---
Changes in V2:
1. After commit 2d8c5098b847 ("PCI/pwrctrl: Do not power off on pwrctrl
   device removal"), the pwrctrl drivers no longer power off devices
   during removal. Update pci-imx6 driver's shutdown callback in patch#1
   to explicitly call pci_pwrctrl_power_off_devices() before 
   pci_pwrctrl_destroy_devices() to ensure devices are properly powered
   off.
---

Sherry Sun (8):
  PCI: imx6: Integrate new pwrctrl API for pci-imx6
  arm: dts: imx6qdl-sabresd: Move power supply property to Root Port
    node
  arm: dts: imx6sx-sdb: Move power supply property to Root Port node
  arm64: dts: imx8mm-evk: Move power supply property to Root Port node
  arm64: dts: imx8mp-evk: Move power supply properties to Root Port node
  arm64: dts: imx8mq-evk: Move power supply properties to Root Port node
  arm64: dts: imx8dxl/qm/qxp: Move power supply properties to Root Port
    node
  arm64: dts: imx95: Move power supply properties to Root Port node

 .../arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi |  2 +-
 arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi     |  2 +-
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts |  4 ++--
 arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi |  2 +-
 arch/arm64/boot/dts/freescale/imx8mp-evk.dts  |  4 ++--
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts  |  4 ++--
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts  |  4 ++--
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts |  4 ++--
 .../boot/dts/freescale/imx95-15x15-evk.dts    |  4 ++--
 .../boot/dts/freescale/imx95-19x19-evk.dts    |  8 +++----
 drivers/pci/controller/dwc/Kconfig            |  1 +
 drivers/pci/controller/dwc/pci-imx6.c         | 24 ++++++++++++++++++-
 12 files changed, 43 insertions(+), 20 deletions(-)

-- 
2.37.1



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

end of thread, other threads:[~2026-04-10  3:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 10:09 [PATCH V2 0/8] PCI: imx6: Integrate pwrctrl API and update device trees Sherry Sun
2026-04-02 10:10 ` [PATCH V2 1/8] PCI: imx6: Integrate new pwrctrl API for pci-imx6 Sherry Sun
2026-04-02 10:10 ` [PATCH V2 2/8] arm: dts: imx6qdl-sabresd: Move power supply property to Root Port node Sherry Sun
2026-04-02 10:10 ` [PATCH V2 3/8] arm: dts: imx6sx-sdb: " Sherry Sun
2026-04-02 10:10 ` [PATCH V2 4/8] arm64: dts: imx8mm-evk: " Sherry Sun
2026-04-02 10:10 ` [PATCH V2 5/8] arm64: dts: imx8mp-evk: Move power supply properties " Sherry Sun
2026-04-02 10:10 ` [PATCH V2 6/8] arm64: dts: imx8mq-evk: " Sherry Sun
2026-04-02 10:10 ` [PATCH V2 7/8] arm64: dts: imx8dxl/qm/qxp: " Sherry Sun
2026-04-02 10:10 ` [PATCH V2 8/8] arm64: dts: imx95: " Sherry Sun
2026-04-04 17:10 ` [PATCH V2 0/8] PCI: imx6: Integrate pwrctrl API and update device trees Manivannan Sadhasivam
2026-04-10  3:00   ` Sherry Sun

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