mbox series

[6.1.y-cip,v2,00/12] Add versa3 clk generator support

Message ID 20231123182854.422379-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Add versa3 clk generator support | expand

Message

Biju Das Nov. 23, 2023, 6:28 p.m. UTC
This patch series aims to add versa3 clk generator support on
RZ/G2{L,LC,UL}/RZ/Five SMARC EVKs.

All the patches are cherry-picked from the mainline.

Also added missing MTU3 binding patches for RZ/{G2UL,Five} SoCs.

v1->v2:
 * Dropped unneeded patch "clk: Add trace events for rate requests"
 * Added rz_mtu3 binding patches to this series.

Biju Das (10):
  dt-bindings: clock: Add Renesas versa3 clock generator bindings
  dt-bindings: clock: versaclock3: Add description for #clock-cells
    property
  clk: Add support for versa3 clock driver
  clk: vc3: Fix 64 by 64 division
  clk: vc3: Fix output clock mapping
  clk: vc3: Make vc3_clk_mux enum values based on vc3_clk enum
  arm64: dts: renesas: rz-smarc: Use versa3 clk for audio mclk
  dt-bindings: timer: renesas,rz-mtu3: Fix overflow/underflow interrupt
    names
  dt-bindings: timer: renesas,rz-mtu3: Improve documentation
  dt-bindings: timer: renesas,rz-mtu3: Document RZ/{G2UL,Five} SoCs

Stephen Boyd (2):
  clk: Move no reparent case into a separate function
  clk: Introduce clk_hw_determine_rate_no_reparent()

 .../bindings/clock/renesas,5p35023.yaml       |   89 ++
 .../bindings/timer/renesas,rz-mtu3.yaml       |   67 +-
 .../boot/dts/renesas/rz-smarc-common.dtsi     |   14 +-
 arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi  |   20 +
 arch/arm64/boot/dts/renesas/rzg2lc-smarc.dtsi |   20 +
 arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi |   24 +
 drivers/clk/Kconfig                           |    9 +
 drivers/clk/Makefile                          |    1 +
 drivers/clk/clk-versaclock3.c                 | 1142 +++++++++++++++++
 drivers/clk/clk.c                             |   85 +-
 drivers/clk/clk_test.c                        |  152 +++
 include/linux/clk-provider.h                  |    2 +
 12 files changed, 1558 insertions(+), 67 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/renesas,5p35023.yaml
 create mode 100644 drivers/clk/clk-versaclock3.c

Comments

Pavel Machek Nov. 24, 2023, 9:09 a.m. UTC | #1
Hi!

> This patch series aims to add versa3 clk generator support on
> RZ/G2{L,LC,UL}/RZ/Five SMARC EVKs.
> 
> All the patches are cherry-picked from the mainline.
> 
> Also added missing MTU3 binding patches for RZ/{G2UL,Five} SoCs.

Thanks for the series. I already applied the "rz_mtu3 binding
patches", we already reviewed these in v1, and it passes testing, so
I'm applying the series (with the exception of last 3).

Best regards,
								Pavel
Nobuhiro Iwamatsu Nov. 24, 2023, 9:12 a.m. UTC | #2
Hi Biju,

Thanks for updating patches.

> -----Original Message-----
> From: Biju Das <biju.das.jz@bp.renesas.com>
> Sent: Friday, November 24, 2023 3:29 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>; Claudiu Beznea
> <claudiu.beznea.uj@bp.renesas.com>
> Subject: [PATCH 6.1.y-cip v2 00/12] Add versa3 clk generator support
> 
> This patch series aims to add versa3 clk generator support on
> RZ/G2{L,LC,UL}/RZ/Five SMARC EVKs.
> 
> All the patches are cherry-picked from the mainline.
> 
> Also added missing MTU3 binding patches for RZ/{G2UL,Five} SoCs.
> 
> v1->v2:
>  * Dropped unneeded patch "clk: Add trace events for rate requests"
>  * Added rz_mtu3 binding patches to this series.
> 
> Biju Das (10):
>   dt-bindings: clock: Add Renesas versa3 clock generator bindings
>   dt-bindings: clock: versaclock3: Add description for #clock-cells
>     property
>   clk: Add support for versa3 clock driver
>   clk: vc3: Fix 64 by 64 division
>   clk: vc3: Fix output clock mapping
>   clk: vc3: Make vc3_clk_mux enum values based on vc3_clk enum
>   arm64: dts: renesas: rz-smarc: Use versa3 clk for audio mclk
>   dt-bindings: timer: renesas,rz-mtu3: Fix overflow/underflow interrupt
>     names
>   dt-bindings: timer: renesas,rz-mtu3: Improve documentation
>   dt-bindings: timer: renesas,rz-mtu3: Document RZ/{G2UL,Five} SoCs
> 
> Stephen Boyd (2):
>   clk: Move no reparent case into a separate function
>   clk: Introduce clk_hw_determine_rate_no_reparent()
> 

I reviewed this series, and LGTM. I can apply this series.

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

Best regards,
  Nobuhiro