|
|
Log in / Subscribe / Register

media: rcar-csi2: Add support for V4M

From:  Niklas Söderlund <niklas.soderlund+renesas-AT-ragnatech.se>
To:  Mauro Carvalho Chehab <mchehab-AT-kernel.org>, Geert Uytterhoeven <geert+renesas-AT-glider.be>, linux-media-AT-vger.kernel.org
Subject:  [PATCH 0/7] media: rcar-csi2: Add support for V4M
Date:  Mon, 27 May 2024 15:32:14 +0200
Message-ID:  <20240527133221.1688830-1-niklas.soderlund+renesas@ragnatech.se>
Cc:  linux-renesas-soc-AT-vger.kernel.org, Niklas Söderlund <niklas.soderlund+renesas-AT-ragnatech.se>
Archive-link:  Article

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(-)

-- 
2.45.1




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds