Re: [linux-sunxi] [PATCH v3.1 06/10] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO[0-1] macros

From: Jernej Åkrabec
Date: Thu Jul 26 2018 - 13:59:19 EST


Dne Äetrtek, 26. julij 2018 ob 19:12:53 CEST je Icenowy Zheng napisal(a):
> From: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
>
> Allwinner A64 has two clock parents PLL_VIDEO0 and PLL_VIDEO1.
>
> Include these macros on dt-bindings so-that the same can be
> used while defining CCU clock phadles.
>
> Signed-off-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>
> ---
> Changes for v3.1:
> - none
> Changes for v3:
> - collect Rob r-w-b tag
> Changes for v2:
> - new patch
>
> include/dt-bindings/clock/sun50i-a64-ccu.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/dt-bindings/clock/sun50i-a64-ccu.h
> b/include/dt-bindings/clock/sun50i-a64-ccu.h index
> d66432c6e675..d1d7d5b7d06a 100644
> --- a/include/dt-bindings/clock/sun50i-a64-ccu.h
> +++ b/include/dt-bindings/clock/sun50i-a64-ccu.h
> @@ -43,7 +43,9 @@
> #ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_
> #define _DT_BINDINGS_CLK_SUN50I_A64_H_
>
> +#define CLK_PLL_VIDEO0 7
> #define CLK_PLL_PERIPH0 11
> +#define CLK_PLL_VIDEO1 15
>
> #define CLK_BUS_MIPI_DSI 28
> #define CLK_BUS_CE 29

You should remove above definitions from drivers/clk/sunxi-ng/ccu-sun50i-a64.h

Best regards,
Jernej