This series enables support for camera sensors using CSI-RX ports on AM62P family of SoCs. Particularly, it enables OV5640 and IMX219 sensors via the 22-pin FFC CSI-RX connector on SK-AM62P [1] using the existing common overlays for SK-AM62* family of boards. Capture test: https://gist.github.com/jailuthra/11f3383ccc0902b9db90d806222597a3 [1]: https://www.ti.com/tool/SK-AM62P-LP Signed-off-by: Jai Luthra <j-luthra@xxxxxx> --- Changes in v2: - Rebase on top of ti-k3-dts-next - Fix commit description of PATCH 3/4 to specify we are keeping the nodes disabled - Link to v1: https://lore.kernel.org/r/20240201-am62p_csi-v1-0-c83bb9eaeb49@xxxxxx Range-diff from v1: 1: 646c0b26cee4 ! 1: 61c395edcfd3 arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS @@ Commit message to enable programming the interrupts correctly. Fixes: 29075cc09f43 ("arm64: dts: ti: Introduce AM62P5 family of SoCs") + Reviewed-by: Vaishnav Achath <vaishnav.a@xxxxxx> Signed-off-by: Jai Luthra <j-luthra@xxxxxx> ## arch/arm64/boot/dts/ti/k3-am62p.dtsi ## 2: 5d6c41db44e3 ! 2: 2720ce668bf9 arm64: dts: ti: k3-am62p: Add DMASS1 for CSI @@ Commit message On AM62P, CSI-RX uses a dedicated BCDMA instance (DMASS1) for transferring captured camera frames to DDR, so enable it. + Reviewed-by: Vaishnav Achath <vaishnav.a@xxxxxx> Signed-off-by: Jai Luthra <j-luthra@xxxxxx> ## arch/arm64/boot/dts/ti/k3-am62p-main.dtsi ## 3: 2896237c1ad1 ! 3: 9853acf0bc6f arm64: dts: ti: k3-am62p: Add nodes for CSI-RX @@ Commit message AM62P supports image capture via the MIPI CSI-2 protocol, it uses three IPs to achieve this: Cadence DPHY, Cadence CSI-RX, and TI's pixelgrabber - wrapper on top. Enable all of these IPs in the devicetree. + wrapper on top. Add nodes for these IPs in the devicetree, and keep them + disabled here, so these may be enabled by the sensor overlays. + Reviewed-by: Vaishnav Achath <vaishnav.a@xxxxxx> Signed-off-by: Jai Luthra <j-luthra@xxxxxx> ## arch/arm64/boot/dts/ti/k3-am62p-main.dtsi ## 4: 7a82f73e345d < -: ------------ arm64: dts: ti: Enable overlays for SK-AM62P -: ------------ > 4: 1a5e859dec12 arm64: dts: ti: Enable overlays for SK-AM62P --- Jai Luthra (4): arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS arm64: dts: ti: k3-am62p: Add DMASS1 for CSI arm64: dts: ti: k3-am62p: Add nodes for CSI-RX arm64: dts: ti: Enable overlays for SK-AM62P arch/arm64/boot/dts/ti/Makefile | 10 ++++ arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 98 +++++++++++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62p.dtsi | 2 +- 3 files changed, 109 insertions(+), 1 deletion(-) --- base-commit: 0f9eb43f009091501dd0c68232aa6530ba0e0185 change-id: 20240201-am62p_csi-b69d172406ca Best regards, -- Jai Luthra <j-luthra@xxxxxx>