[PATCH v2 0/4] ARM: dts: imx6sx: Add DISPLAY power domain support

From: Leonard Crestez
Date: Mon Oct 08 2018 - 14:06:26 EST


Now that mxsfb has functional runtime_pm support we can enable power
gating for the DISPLAY power domain on imx6sx.

Since pci-imx doesn't support runtime power gating this is still
always-on unless PCI is disabled/unused. But it's reasonable for an imx
board to not have PCI.

The current pd_pcie is actually only for PCIE_PHY, the PCIE ip block is
actually inside the DISPLAY domain. This is handled by adding the pcie
node in both power domains, using multi-pd support.

Series is against linux-next. The last patch needs runtime PM in all
drivers or it will cause hangs. This means Shawn should hold back on it
until the PCI and mxsfb dependencies get merged (both might take a long
time). So you can just review that patch and I will resend it later,
perhaps in another cycle.

---

Changes since v1:
* Document multi-pd in imx6q-pcie bindings and add DT list
* Don't refer to "DISPLAY" as "DISPMIX" because the Reference Manual
doesn't do that.
* Link to v1: https://lore.kernel.org/patchwork/cover/994092/

This is independent of other imx6-pci PM patches such as this one:
* https://lore.kernel.org/patchwork/patch/996806/
Device links are quite nice!

Link to mxsfb thread: https://lkml.org/lkml/2018/9/26/1185

Leonard Crestez (4):
soc: imx: gpc: Increase GPC_CLK_MAX to 7
dt-bindings: imx6q-pcie: Add multi-pd bindings for imx6sx
PCI: imx: Add multi-pd support
ARM: dts: imx6sx: Add DISPLAY power domain support

.../bindings/pci/fsl,imx6q-pcie.txt | 4 +-
arch/arm/boot/dts/imx6sx.dtsi | 19 +++++++-
drivers/pci/controller/dwc/pci-imx6.c | 48 +++++++++++++++++++
drivers/soc/imx/gpc.c | 2 +-
4 files changed, 70 insertions(+), 3 deletions(-)

--
2.17.1