[PATCH v3 00/12] media: imx8: add camera support

Frank Li
2025-02-10T20:59:49Z

Add SCU reset driver for i.MX8QM/i.MX8QXP.
Update binding doc.
Update driver for imx8qxp and imx8qm.
Add dts files for it.

To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Dong Aisheng <aisheng.dong@nxp.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
To: Shawn Guo <shawnguo@kernel.org>
To: Sascha Hauer <s.hauer@pengutronix.de>
To: Pengutronix Kernel Team <kernel@pengutronix.de>
To: Fabio Estevam <festevam@gmail.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Rui Miguel Silva <rmfrfs@gmail.com>
To: Martin Kepplinger <martink@posteo.de>
To: Purism Kernel Team <kernel@puri.sm>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: imx@lists.linux.dev
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-media@vger.kernel.org
Cc: Robert Chiras <robert.chiras@nxp.com>
Cc: "Guoniu.zhou" <guoniu.zhou@nxp.com>

Signed-off-by: Frank Li <Frank.Li@nxp.com>

Changes in v3:
- Remove phy driver parts.
- csr is dedicate for mipi csi2, so add it as second register space. csr is
mixed with PHY and link control with csi2.
- Link to v2: https://lore.kernel.org/r/20250205-8qxp_camera-v2-0-731a3edf2744@nxp.com

Changes in v2:
- move scu reset binding doc to top scu doc.
- isi use seperate binding doc for imx8qxp and imx8qm.
- phy and csi2, compatible string 8qm fallback to qxp
- remove internal review tags
- Link to v1: https://lore.kernel.org/r/20250131-8qxp_camera-v1-0-319402ab606a@nxp.com

---
Frank Li (9):
dt-bindings: firmware: imx: add property reset-controller
reset: imx: Add SCU reset driver for i.MX8QXP and i.MX8QM
media: dt-bindings: Add binding doc for i.MX8QXP and i.MX8QM ISI
media: nxp: imx8-isi: Allow num_sources to be greater than num_sink
media: imx8mq-mipi-csi2: Add support for i.MX8QXP
arm64: dts: imx8: add capture controller for i.MX8's img subsystem
arm64: dts: imx8qm: add 24MHz clock-xtal24m
arm64: dts: imx8q: add linux,cma node for imx8qm-mek and imx8qxp-mek
arm64: dts: imx8q: add camera ov5640 support for imx8qm-mek and imx8qxp-mek

Guoniu.zhou (1):
media: imx8mq-mipi-csi2: Add imx8mq_plat_data for different compatible strings

Robert Chiras (2):
media: imx8-isi: Add support for i.MX8QM and i.MX8QXP
media: dt-bindings: nxp,imx8mq-mipi-csi2: Add i.MX8QM(QXP) compatible strings

.../devicetree/bindings/firmware/fsl,scu.yaml | 12 +
.../devicetree/bindings/media/fsl,imx8qm-isi.yaml | 117 +++++++
.../devicetree/bindings/media/fsl,imx8qxp-isi.yaml | 103 ++++++
.../bindings/media/nxp,imx8mq-mipi-csi2.yaml | 38 ++-
MAINTAINERS | 1 +
arch/arm64/boot/dts/freescale/Makefile | 12 +
arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi | 376 +++++++++++++++++++++
.../boot/dts/freescale/imx8qm-mek-ov5640-csi0.dtso | 90 +++++
.../boot/dts/freescale/imx8qm-mek-ov5640-csi1.dtso | 90 +++++
arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 60 ++++
arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi | 45 +++
arch/arm64/boot/dts/freescale/imx8qm.dtsi | 12 +
.../boot/dts/freescale/imx8qxp-mek-ov5640-csi.dtso | 89 +++++
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 44 +++
arch/arm64/boot/dts/freescale/imx8qxp-ss-img.dtsi | 60 ++++
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 5 +
.../media/platform/nxp/imx8-isi/imx8-isi-core.c | 47 +++
.../media/platform/nxp/imx8-isi/imx8-isi-core.h | 2 +
.../platform/nxp/imx8-isi/imx8-isi-crossbar.c | 8 +-
drivers/media/platform/nxp/imx8mq-mipi-csi2.c | 179 +++++++++-
drivers/reset/Kconfig | 7 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-imx-scu.c | 101 ++++++
23 files changed, 1477 insertions(+), 22 deletions(-)
---
base-commit: ce37eebeae8fa9e6c53f7f1ccd182ad5f27d66cd
change-id: 20250114-8qxp_camera-c1af5749d304

Best regards,
---
Frank Li <Frank.Li@nxp.com>