Re: [PATCH v3 2/6] clk: clk-loongson2: Refactor driver for adding new platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Binbin Zhou (2024-04-10 19:58:07)
> The driver only supported loongson-2K1000 at first, but the clock
> structure of loongson-2K0500 and loongson-2K2000 are actually similar,
> and I tried to refactor the whole driver to adjust to the addition of
> the new platform.
> 
> Briefly, I have divided all clocks into three categories according to
> their properties and their parent clocks: Independent PLLs, clocks based
> on frequency scales, and clock dividers.
> 
> Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
> ---
>  drivers/clk/clk-loongson2.c | 459 ++++++++++++++++--------------------
>  1 file changed, 199 insertions(+), 260 deletions(-)
> 
> diff --git a/drivers/clk/clk-loongson2.c b/drivers/clk/clk-loongson2.c
> index bacdcbb287ac..ff2ade6a471a 100644
> --- a/drivers/clk/clk-loongson2.c
> +++ b/drivers/clk/clk-loongson2.c
> @@ -6,6 +6,7 @@
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> +#include <linux/clk.h>

Why is this included? I removed it and applied to clk-next.





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux