[PATCH v3 0/2] clk: renesas: rzv2h-cpg: Add divider clock support
From: Prabhakar
Date: Wed Aug 28 2024 - 05:39:48 EST
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Hi All,
This patch series aims to add divider clock support and add clock and
reset entries for below IP blocks for RZ/V2H(P) SoC,
- GTM
- WDT
- RIIC
- SDHI
v2->v3
- Updated DDIV_DIVCTL_WEN() macro
- Introduced struct ddiv to pass divider config
- Updated DDIV_PACK() macro
v1->v2
- Updated DDIV_PACK macro to accommodate width and dropped DDIV_DIVCTL_WIDTH
- Updated DDIV_GET_* macros
- Now doing rmw as some of the DIVCTLx require it
Cheers,
Prabhakar
Lad Prabhakar (2):
clk: renesas: rzv2h-cpg: Add support for dynamic switching divider
clocks
clk: renesas: r9a09g057-cpg: Add clock and reset entries for
GTM/RIIC/SDHI/WDT
drivers/clk/renesas/r9a09g057-cpg.c | 84 ++++++++++++++
drivers/clk/renesas/rzv2h-cpg.c | 165 +++++++++++++++++++++++++++-
drivers/clk/renesas/rzv2h-cpg.h | 43 +++++++-
3 files changed, 289 insertions(+), 3 deletions(-)
--
2.34.1