mbox series

[RFC,00/11] rkisp1 support for px30 - including uapi questions for 5.11

Message ID 20210108193311.3423236-1-heiko@sntech.de (mailing list archive)
Headers show
Series rkisp1 support for px30 - including uapi questions for 5.11 | expand

Message

Heiko Stuebner Jan. 8, 2021, 7:33 p.m. UTC
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