2022-08-01 22:19:53

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH 0/4] Add driver for CSI2 and CRU modules found on Renesas RZ/G2L SoC

Hi All,

This patch series aims to add driver support to CRU module found
on Renesas RZ/G2L SoC.

The Camera Data Receiving Unit (CRU) consists of a MIPI CSI-2
block and an Image Processing block. The Image Processing block
can receive video data received from the external Digital Parallel
Interface or MIPI CSI-2 block, and perform appropriate image
processing for each.

More details:
* https://renesas.info/wiki/File:CRU.png
* https://www.renesas.com/document/mah/rzg2l-group-rzg2lc-group-users-manual-hardware-0?language=en&r=1467981

Currently the driver has been tested using yavta and Gstreamer
on RZ/G2L SMARC EVK using the ov5645 sensor on CSI2 interface
only.

RFC v2: https://patchwork.kernel.org/project/linux-renesas-soc/cover/[email protected]/

RFC v1: https://patchwork.kernel.org/project/linux-renesas-soc/cover/[email protected]/

Cheers,
Prabhakar

Lad Prabhakar (4):
media: dt-bindings: media: Document RZ/G2L CSI-2 block
media: dt-bindings: media: Document RZ/G2L CRU
media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver
media: platform: Add Renesas RZ/G2L CRU driver

.../bindings/media/renesas,rzg2l-cru.yaml | 142 ++++
.../bindings/media/renesas,rzg2l-csi2.yaml | 149 ++++
drivers/media/platform/renesas/Kconfig | 1 +
drivers/media/platform/renesas/Makefile | 1 +
.../media/platform/renesas/rzg2l-cru/Kconfig | 34 +
.../media/platform/renesas/rzg2l-cru/Makefile | 6 +
.../platform/renesas/rzg2l-cru/rzg2l-core.c | 371 +++++++++
.../platform/renesas/rzg2l-cru/rzg2l-cru.h | 144 ++++
.../platform/renesas/rzg2l-cru/rzg2l-csi2.c | 702 +++++++++++++++++
.../platform/renesas/rzg2l-cru/rzg2l-csi2.h | 49 ++
.../platform/renesas/rzg2l-cru/rzg2l-dma.c | 728 ++++++++++++++++++
.../platform/renesas/rzg2l-cru/rzg2l-v4l2.c | 354 +++++++++
12 files changed, 2681 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml
create mode 100644 Documentation/devicetree/bindings/media/renesas,rzg2l-csi2.yaml
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/Kconfig
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/Makefile
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-cru.h
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.h
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-dma.c
create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-v4l2.c

--
2.25.1



2022-08-29 22:18:38

by Lad, Prabhakar

[permalink] [raw]
Subject: Re: [PATCH 0/4] Add driver for CSI2 and CRU modules found on Renesas RZ/G2L SoC

On Mon, Aug 1, 2022 at 10:47 PM Lad Prabhakar
<[email protected]> wrote:
>
> Hi All,
>
> This patch series aims to add driver support to CRU module found
> on Renesas RZ/G2L SoC.
>
> The Camera Data Receiving Unit (CRU) consists of a MIPI CSI-2
> block and an Image Processing block. The Image Processing block
> can receive video data received from the external Digital Parallel
> Interface or MIPI CSI-2 block, and perform appropriate image
> processing for each.
>
> More details:
> * https://renesas.info/wiki/File:CRU.png
> * https://www.renesas.com/document/mah/rzg2l-group-rzg2lc-group-users-manual-hardware-0?language=en&r=1467981
>
> Currently the driver has been tested using yavta and Gstreamer
> on RZ/G2L SMARC EVK using the ov5645 sensor on CSI2 interface
> only.
>
> RFC v2: https://patchwork.kernel.org/project/linux-renesas-soc/cover/[email protected]/
>
> RFC v1: https://patchwork.kernel.org/project/linux-renesas-soc/cover/[email protected]/
>
> Cheers,
> Prabhakar
>
> Lad Prabhakar (4):
> media: dt-bindings: media: Document RZ/G2L CSI-2 block
> media: dt-bindings: media: Document RZ/G2L CRU
> media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver
> media: platform: Add Renesas RZ/G2L CRU driver
>
> .../bindings/media/renesas,rzg2l-cru.yaml | 142 ++++
> .../bindings/media/renesas,rzg2l-csi2.yaml | 149 ++++
> drivers/media/platform/renesas/Kconfig | 1 +
> drivers/media/platform/renesas/Makefile | 1 +
> .../media/platform/renesas/rzg2l-cru/Kconfig | 34 +
> .../media/platform/renesas/rzg2l-cru/Makefile | 6 +
> .../platform/renesas/rzg2l-cru/rzg2l-core.c | 371 +++++++++
> .../platform/renesas/rzg2l-cru/rzg2l-cru.h | 144 ++++
> .../platform/renesas/rzg2l-cru/rzg2l-csi2.c | 702 +++++++++++++++++
> .../platform/renesas/rzg2l-cru/rzg2l-csi2.h | 49 ++
> .../platform/renesas/rzg2l-cru/rzg2l-dma.c | 728 ++++++++++++++++++
> .../platform/renesas/rzg2l-cru/rzg2l-v4l2.c | 354 +++++++++
> 12 files changed, 2681 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml
> create mode 100644 Documentation/devicetree/bindings/media/renesas,rzg2l-csi2.yaml
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/Kconfig
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/Makefile
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-cru.h
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.h
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-dma.c
> create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-v4l2.c
>
Gentle ping, request to review the driver code.

Cheers,
Prabhakar