[PATCH v5 3/4] dt-bindings: clock: rk3588: export PCLK_VO1GRF clk id
Conor Dooley
conor.dooley at microchip.com
Wed Nov 8 23:29:13 PST 2023
On Thu, Nov 09, 2023 at 02:27:38PM +0800, zhangqing wrote:
> Hi:
>
> 在 2023/11/8 20:01, Conor Dooley 写道:
> > On Wed, Nov 08, 2023 at 02:18:21PM +0800, Elaine Zhang wrote:
> > > export PCLK_VO1GRF for DT.
> > >
> > > Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
> > > ---
> > > include/dt-bindings/clock/rockchip,rk3588-cru.h | 3 ++-
> > > 1 file changed, 2 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/include/dt-bindings/clock/rockchip,rk3588-cru.h b/include/dt-bindings/clock/rockchip,rk3588-cru.h
> > > index 5790b1391201..50ba72980190 100644
> > > --- a/include/dt-bindings/clock/rockchip,rk3588-cru.h
> > > +++ b/include/dt-bindings/clock/rockchip,rk3588-cru.h
> > > @@ -733,8 +733,9 @@
> > > #define ACLK_AV1_PRE 718
> > > #define PCLK_AV1_PRE 719
> > > #define HCLK_SDIO_PRE 720
> > > +#define PCLK_VO1GRF 721
> > > -#define CLK_NR_CLKS (HCLK_SDIO_PRE + 1)
> > > +#define CLK_NR_CLKS (PCLK_VO1GRF + 1)
> > This definition is part of the ABI, if it is safe to change it, then it
> > is safe to delete it.
> The new ID is to solve the niu clock dependency problem(Used in PATCH V5
> 4/4).This new ID will also be used in DTS in the future.
>
> CLK_NR_CLKS represents the number of clocks used by the
> drivers/clk/rockchip/clk-rkxxx.c. It is safe to modify it, but cannot delete
> it.
Then delete it from the header and move it to clk-rkxxx.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20231109/3e8e0747/attachment.sig>
More information about the Linux-rockchip
mailing list