Re: [PATCH V2 0/7] soc: imx: Enable additional functionality of i.MX8M Mini
From: Adam Ford <hidden>
Date: 2019-12-21 15:07:13
Also in:
linux-devicetree, lkml
On Fri, Dec 13, 2019 at 10:05 AM Adam Ford [off-list ref] wrote:
The GPCv2 controller on the i.MX8M Mini is compatible with the driver used for the i.MX8MQ except for the register locations and names. The GPCv2 controller is used to enable additional periperals currently unavailable on the i.MX8M Mini. In order to make them function, the GPCv2 needs to be adapted so the drivers can associate their power domain to the GPCv2 to enable them. This series makes one include file slightly more generic, adds the iMX8M Mini entries, updates the bindings, adds them to the device tree, then associates the new power domain to both the OTG and PCIe controllers. Some peripherals may need additional power domain drivers in the future due to limitations of the GPC driver, but the drivers for VPU and others are not available yet.
Before I do a V3 to address Rob's comments, I am thinking I'll drop the items on the GPC that Jacky suggested would not work, and we don't have drivers for those other peripherals (GPU, VPU, etc.) anyway. My main goal here was to try and get the USB OTG ports working, so I'd like to enabled enough of the items on the GPC that are similar to the i.MX8MQ and leave the more challenging items until we have either a better driver available and/or actual peripheral support coming. I haven't seen LCDIF or DSI drivers pushed upstream yet, so I doubt we'll see GPU or VPU yet until those are done. Does anyone from the NXP team have any other comments/concerns? adam
Adam Ford (7):
soc: imx: gpcv2: Rename imx8mq-power.h to imx8m-power.h
soc: imx: gpcv2: Update imx8m-power.h to include iMX8M Mini
soc: imx: gpcv2: add support for i.MX8M Mini SoC
dt-bindings: imx-gpcv2: Update bindings to support i.MX8M Mini
arm64: dts: imx8mm: add GPC power domains
ARM64: dts: imx8mm: Fix clocks and power domain for USB OTG
arm64: dts: imx8mm: Add PCIe support
.../bindings/power/fsl,imx-gpcv2.txt | 6 +-
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 127 ++++++++-
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
drivers/soc/imx/gpcv2.c | 246 +++++++++++++++++-
.../power/{imx8mq-power.h => imx8m-power.h} | 14 +
5 files changed, 387 insertions(+), 8 deletions(-)
rename include/dt-bindings/power/{imx8mq-power.h => imx8m-power.h} (57%)
--
2.20.1_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel