mbox series

[0/7] media: rcar-csi2: Add support for V4M

Message ID 20240527133221.1688830-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series media: rcar-csi2: Add support for V4M | expand

Message

Niklas Söderlund May 27, 2024, 1:32 p.m. UTC
Hello,

This series enables support for R-Car V4M to the CSI-2 receiver.

Patch 1-2 clean up some simplifications in the driver which where 
possible before V4M support but that now needs to be addressed.

Patch 3-5 prepares for V4M support by extending some of the abstractions 
used in the driver to cover how they are implemented in the V4M version 
of the CSI-2 IP.

Patch 6 improves the documentation around two registers used on Gen4 as 
later datasheets now document them and they will be used when enabling 
V4M support.

And finally patch 7 adds V4M support. The V4M is similar in design to 
V4H with the big difference it only supports CSI-2 D-PHY. All of the 
media graph setup and V4L2 callbacks can be reused, only the start 
procedure is different.

Niklas Söderlund (7):
  media: rcar-csi2: Correct field size for PHTW writes
  media: rcar-csi2: Allow writing any code and data value to PHTW
  media: rcar-csi2: Abstract PHTW and PHYPLL register offsets
  media: rcar-csi2: Add helper to lookup mbps settings
  media: rcar-csi2: Move PHTW write helpers
  media: rcar-csi2: Add documentation for PHY_EN and PHY_MODE registers
  media: rcar-csi2: Add support for R-Car V4M

 drivers/media/platform/renesas/rcar-csi2.c | 515 +++++++++++++++++----
 1 file changed, 415 insertions(+), 100 deletions(-)