[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251114-rockchip-mipi-receiver-v4-0-a9c86fecd052@collabora.com>
Date: Thu, 15 Jan 2026 19:26:06 +0100
From: Michael Riesch via B4 Relay <devnull+michael.riesch.collabora.com@...nel.org>
To: Michael Riesch <michael.riesch@...labora.com>,
Chaoyi Chen <chaoyi.chen@...k-chips.com>,
Kever Yang <kever.yang@...k-chips.com>, Frank Li <Frank.li@....com>,
Mehdi Djait <mehdi.djait@...ux.intel.com>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Hans Verkuil <hverkuil@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Heiko Stuebner <heiko@...ech.de>,
Philipp Zabel <p.zabel@...gutronix.de>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Nicolas Dufresne <nicolas.dufresne@...labora.com>,
Collabora Kernel Team <kernel@...labora.com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, Michael Riesch <michael.riesch@...labora.com>
Subject: [PATCH v4 0/3] media: rockchip: add driver for the rockchip mipi
csi-2 receiver
Habidere,
This series adds support for the Rockchip MIPI CSI-2 Receiver that is
integrated into recent Rockchip SoCs, such as the RK3568 and the RK3588.
According to Rockchip, this core is NOT the Synopsys MIPI CSI-2 Host, but
it features a compatible register layout (thanks Chaoyi for the
clarification).
As pointed out by Frank, we should thus rename the driver and place it
under drivers/media/platform/synopsys to facilitate re-use of this code
for similar IP cores.
As has been discussed in [0], it would be beneficial to add support
for the split mode (a feature of the Rockchip CSI-2 DPHY) before
integrating the MIPI CSI-2 Receiver into the respective SoC device tree
includes. However, we can readily add the DT binding and the driver
as I am positive they will not need to be changed significantly when this
feature is introduced.
This constitutes a small step towards mainline video capture and camera
support on the Rockchip RK3588.
Looking forward to your comments!
Signed-off-by: Michael Riesch <michael.riesch@...labora.com>
[0] https://lore.kernel.org/r/20240220-rk3568-vicap-v14-0-b38b6da0fc80@collabora.com
---
Changes in v4:
- moved driver to drivers/media/platform/synopsys and renamed it (Frank)
- addresse review comments by Sakari
- Link to v3: https://lore.kernel.org/r/20251114-rockchip-mipi-receiver-v3-0-16e83aa7f395@collabora.com
Changes in v3:
- rebased onto v6.19/recent media-committers/next
- Link to v2: https://lore.kernel.org/r/20251114-rockchip-mipi-receiver-v2-0-eb9b43377fc4@collabora.com
Changes in v2:
- dropped one R-b by Bryan, as there were two of them on the same patch
(Krzysztof)
- Link to v1: https://lore.kernel.org/r/20251114-rockchip-mipi-receiver-v1-0-d13086e810dd@collabora.com
---
Michael Riesch (3):
media: dt-bindings: add rockchip mipi csi-2 receiver
media: synopsys: add driver for the designware mipi csi-2 receiver
arm64: defconfig: enable designware mipi csi-2 receiver
.../bindings/media/rockchip,rk3568-mipi-csi2.yaml | 141 ++++
MAINTAINERS | 7 +
arch/arm64/configs/defconfig | 1 +
drivers/media/platform/synopsys/Kconfig | 1 +
drivers/media/platform/synopsys/Makefile | 1 +
.../media/platform/synopsys/dw-mipi-csi2/Kconfig | 17 +
.../media/platform/synopsys/dw-mipi-csi2/Makefile | 2 +
.../platform/synopsys/dw-mipi-csi2/dw-mipi-csi2.c | 735 +++++++++++++++++++++
8 files changed, 905 insertions(+)
---
base-commit: dc6c52205bdaddf1dc259497a958402b35c01fe2
change-id: 20251114-rockchip-mipi-receiver-0baf244c9c8e
Best regards,
--
Michael Riesch <michael.riesch@...labora.com>
Powered by blists - more mailing lists