rkisp1 support for px30 - including uapi questions for 5.11
From: Heiko Stuebner <heiko@...> Date: Fri, 8 Jan 2021 20:24:12 +0100
As discussed on IRC, here is a series that makes the ISP produce images on the px30/rk3326. There is probably a lot of stuff that can be done more cleanly in future revisions, but the main issues right now is the uapi change in patch 5. Extending these constants causes the uapi arrays to increase as well. So this is more base for discussions, especially as we only have the 5.11 rc cycle to decide. The users of these changes can be found in patch 10: add support for v12 isp variants Heiko Stuebner (11): arm64: dts: rockchip: add csi-dphy to px30 arm64: dts: rockchip: add isp node for px30 arm64: dts: rockchip: hook up camera on px30-evb phy/rockchip: add Innosilicon-based CSI dphy media: rockchip: rkisp1: extend uapi array sizes media: rockchip: rkisp1: allow separate interrupts media: rockchip: rkisp1: carry ip version information media: rockchip: rkisp1: make some isp-param functions variable media: rockchip: rkisp1: make some isp-stats functions variable media: rockchip: rkisp1: add support for v12 isp variants media: rockchip: rkisp1: add support for px30 isp version arch/arm64/boot/dts/rockchip/px30-evb.dts | 52 ++ arch/arm64/boot/dts/rockchip/px30.dtsi | 56 ++ .../platform/rockchip/rkisp1/rkisp1-capture.c | 9 +- .../platform/rockchip/rkisp1/rkisp1-common.h | 60 +- .../platform/rockchip/rkisp1/rkisp1-dev.c | 82 ++- .../platform/rockchip/rkisp1/rkisp1-isp.c | 29 +- .../platform/rockchip/rkisp1/rkisp1-params.c | 581 ++++++++++++++---- .../platform/rockchip/rkisp1/rkisp1-regs.h | 404 ++++++++---- .../platform/rockchip/rkisp1/rkisp1-stats.c | 122 +++- drivers/phy/rockchip/Kconfig | 9 + drivers/phy/rockchip/Makefile | 1 + .../phy/rockchip/phy-rockchip-inno-csidphy.c | 580 +++++++++++++++++ include/uapi/linux/rkisp1-config.h | 8 +- 13 files changed, 1713 insertions(+), 280 deletions(-) create mode 100644 drivers/phy/rockchip/phy-rockchip-inno-csidphy.c -- 2.29.2
Patches in this set
- [0001] arm64: dts: rockchip: add csi-dphy to px30 (raw)
- [0002] arm64: dts: rockchip: add isp node for px30 (raw)
- [0003] arm64: dts: rockchip: hook up camera on px30-evb (raw)
- [0004] phy/rockchip: add Innosilicon-based CSI dphy (raw)
- [0005] media: rockchip: rkisp1: extend uapi array sizes (raw)
- [0006] media: rockchip: rkisp1: allow separate interrupts (raw)
- [0007] media: rockchip: rkisp1: carry ip version information (raw)
- [0008] media: rockchip: rkisp1: make some isp-param functions (raw)
- [0009] media: rockchip: rkisp1: make some isp-stats functions (raw)
- [0010] media: rockchip: rkisp1: add support for v12 isp (raw)
- [0011] media: rockchip: rkisp1: add support for px30 isp (raw)
Statistics
- 11 individual patches
- 1735 lines added
- 302 lines removed