mbox series

[6.1.y-cip,00/30] Add support for RZ/{G2L,G2LC,G2UL,V2L} Camera Data Receiving Unit

Message ID 20240805164342.211857-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Add support for RZ/{G2L,G2LC,G2UL,V2L} Camera Data Receiving Unit | expand

Message

Biju Das Aug. 5, 2024, 4:42 p.m. UTC
This patch series aim to add support for RZ/{G2L,G2LC,G2UL,V2L} Camera
Data Receiving Unit(a.k.a CRU)

All the patches are cherry-picked from the mainline.

Biju Das (11):
  media: i2c: ov5645: Remove software reset entry from
    ov5645_global_init_setting
  clk: renesas: r9a07g043: Add clock and reset entries for CRU
  media: platform: rzg2l-cru: rzg2l-csi2: Switch to RUNTIME_PM_OPS()
  media: platform: rzg2l-cru: rzg2l-ip: Add delay after D-PHY reset
  media: platform: rzg2l-cru: rzg2l-video: Fix image processing
    initialization
  media: platform: rzg2l-cru: rzg2l-csi2: Restructure vclk handling
  media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure
  media: dt-bindings: renesas,rzg2l-csi2: Document Renesas RZ/G2UL CSI-2
    block
  media: dt-bindings: renesas,rzg2l-cru: Document Renesas RZ/G2UL CRU
    block
  arm64: dts: renesas: r9a07g043u: Add CSI and CRU nodes
  arm64: dts: renesas: rzg2ul-smarc: Enable CRU, CSI support

Dan Carpenter (1):
  media: rzg2l-cru: fix a test for timeout

Geert Uytterhoeven (1):
  arm64: defconfig: Enable RZ/G2L MIPI CSI-2 and CRU support

Jiapeng Chong (1):
  media: rzg2l-cru: Fix missing error code in
    rzg2l_cru_start_streaming_vq()

Lad Prabhakar (15):
  media: i2c: ov5645: Drop fetching the clk reference by name
  media: i2c: ov5645: Use runtime PM
  media: i2c: ov5645: Drop empty comment
  media: i2c: ov5645: Make sure to call PM functions
  media: i2c: ov5645: Call ov5645_entity_init_cfg() before registering
    the subdev
  media: dt-bindings: Document Renesas RZ/G2L CSI-2 block
  media: dt-bindings: Document Renesas RZ/G2L CRU block
  clk: renesas: r9a07g044: Add clock and reset entries for CRU
  media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver
  media: platform: Add Renesas RZ/G2L CRU driver
  media: platform: renesas: rzg2l-cru: Add missing documentation for
    image_conv_irq
  arm64: dts: renesas: r9a07g044: Add CSI and CRU nodes
  arm64: dts: renesas: r9a07g054: Add CSI and CRU nodes
  arm64: dts: renesas: rzg2l-smarc: Enable CRU, CSI support
  arm64: dts: renesas: rzg2lc-smarc: Enable CRU, CSI support

Nathan Chancellor (1):
  media: rzg2l-cru: Remove unnecessary shadowing of ret in
    rzg2l_csi2_s_stream()

 .../bindings/media/renesas,rzg2l-cru.yaml     |  184 +++
 .../bindings/media/renesas,rzg2l-csi2.yaml    |  150 +++
 arch/arm64/boot/dts/renesas/r9a07g043u.dtsi   |   69 ++
 .../boot/dts/renesas/r9a07g043u11-smarc.dts   |    8 +
 arch/arm64/boot/dts/renesas/r9a07g044.dtsi    |   79 ++
 arch/arm64/boot/dts/renesas/r9a07g054.dtsi    |   79 ++
 .../dts/renesas/rz-smarc-cru-csi-ov5645.dtsi  |   80 ++
 arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi  |    8 +
 arch/arm64/boot/dts/renesas/rzg2lc-smarc.dtsi |    8 +
 arch/arm64/configs/defconfig                  |    2 +
 drivers/clk/renesas/r9a07g043-cpg.c           |   31 +
 drivers/clk/renesas/r9a07g044-cpg.c           |   26 +-
 drivers/media/i2c/ov5645.c                    |  153 +--
 drivers/media/platform/renesas/Kconfig        |    1 +
 drivers/media/platform/renesas/Makefile       |    1 +
 .../media/platform/renesas/rzg2l-cru/Kconfig  |   33 +
 .../media/platform/renesas/rzg2l-cru/Makefile |    6 +
 .../platform/renesas/rzg2l-cru/rzg2l-core.c   |  338 ++++++
 .../platform/renesas/rzg2l-cru/rzg2l-cru.h    |  151 +++
 .../platform/renesas/rzg2l-cru/rzg2l-csi2.c   |  882 ++++++++++++++
 .../platform/renesas/rzg2l-cru/rzg2l-ip.c     |  247 ++++
 .../platform/renesas/rzg2l-cru/rzg2l-video.c  | 1045 +++++++++++++++++
 22 files changed, 3506 insertions(+), 75 deletions(-)
 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 arch/arm64/boot/dts/renesas/rz-smarc-cru-csi-ov5645.dtsi
 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-ip.c
 create mode 100644 drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c

Comments

Pavel Machek Aug. 6, 2024, 6:20 p.m. UTC | #1
Hi!

> This patch series aim to add support for RZ/{G2L,G2LC,G2UL,V2L} Camera
> Data Receiving Unit(a.k.a CRU)

Thanks for series. I'm still reviewing it, but don't expect anything
but minor comments. I can apply this if it passes testing and there
are no other comments.

Best regards,
								Pavel
Nobuhiro Iwamatsu Aug. 7, 2024, 7:03 a.m. UTC | #2
Hi all,

> -----Original Message-----
> From: Biju Das <biju.das.jz@bp.renesas.com>
> Sent: Tuesday, August 6, 2024 1:43 AM
> To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○DITC□
> DIT○OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>
> Cc: Biju Das <biju.das.jz@bp.renesas.com>; Lad Prabhakar
> <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Subject: [PATCH 6.1.y-cip 00/30] Add support for RZ/{G2L,G2LC,G2UL,V2L}
> Camera Data Receiving Unit
> 
> This patch series aim to add support for RZ/{G2L,G2LC,G2UL,V2L} Camera
> Data Receiving Unit(a.k.a CRU)
> 
> All the patches are cherry-picked from the mainline.
> 
> Biju Das (11):
>   media: i2c: ov5645: Remove software reset entry from
>     ov5645_global_init_setting
>   clk: renesas: r9a07g043: Add clock and reset entries for CRU
>   media: platform: rzg2l-cru: rzg2l-csi2: Switch to RUNTIME_PM_OPS()
>   media: platform: rzg2l-cru: rzg2l-ip: Add delay after D-PHY reset
>   media: platform: rzg2l-cru: rzg2l-video: Fix image processing
>     initialization
>   media: platform: rzg2l-cru: rzg2l-csi2: Restructure vclk handling
>   media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure
>   media: dt-bindings: renesas,rzg2l-csi2: Document Renesas RZ/G2UL CSI-2
>     block
>   media: dt-bindings: renesas,rzg2l-cru: Document Renesas RZ/G2UL CRU
>     block
>   arm64: dts: renesas: r9a07g043u: Add CSI and CRU nodes
>   arm64: dts: renesas: rzg2ul-smarc: Enable CRU, CSI support
> 
> Dan Carpenter (1):
>   media: rzg2l-cru: fix a test for timeout
> 
> Geert Uytterhoeven (1):
>   arm64: defconfig: Enable RZ/G2L MIPI CSI-2 and CRU support
> 
> Jiapeng Chong (1):
>   media: rzg2l-cru: Fix missing error code in
>     rzg2l_cru_start_streaming_vq()
> 
> Lad Prabhakar (15):
>   media: i2c: ov5645: Drop fetching the clk reference by name
>   media: i2c: ov5645: Use runtime PM
>   media: i2c: ov5645: Drop empty comment
>   media: i2c: ov5645: Make sure to call PM functions
>   media: i2c: ov5645: Call ov5645_entity_init_cfg() before registering
>     the subdev
>   media: dt-bindings: Document Renesas RZ/G2L CSI-2 block
>   media: dt-bindings: Document Renesas RZ/G2L CRU block
>   clk: renesas: r9a07g044: Add clock and reset entries for CRU
>   media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver
>   media: platform: Add Renesas RZ/G2L CRU driver
>   media: platform: renesas: rzg2l-cru: Add missing documentation for
>     image_conv_irq
>   arm64: dts: renesas: r9a07g044: Add CSI and CRU nodes
>   arm64: dts: renesas: r9a07g054: Add CSI and CRU nodes
>   arm64: dts: renesas: rzg2l-smarc: Enable CRU, CSI support
>   arm64: dts: renesas: rzg2lc-smarc: Enable CRU, CSI support
> 
> Nathan Chancellor (1):
>   media: rzg2l-cru: Remove unnecessary shadowing of ret in
>     rzg2l_csi2_s_stream()

I reviewed this series, there are no problems.
I can apply this series if there are no other comments.

Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

Best regards,
  Nobuhiro
Pavel Machek Aug. 7, 2024, 5:29 p.m. UTC | #3
Hi!


> > Nathan Chancellor (1):
> >   media: rzg2l-cru: Remove unnecessary shadowing of ret in
> >     rzg2l_csi2_s_stream()
> 
> I reviewed this series, there are no problems.
> I can apply this series if there are no other comments.
> 
> Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

Thanks for review and for patches. I added your Reviewed-by: tag and
pushed the results.

Best regards,
								Pavel