[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a5d1bb62-1fbe-1ab9-b93d-f17d4b7f229f@linaro.org>
Date: Fri, 13 Jan 2023 12:19:34 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Keguang Zhang <keguang.zhang@...il.com>, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Subject: Re: [PATCH 2/2] clk: loongson1: Refactor to add devicetree support
On 13/01/2023 12:07, Keguang Zhang wrote:
> This patch refactors Loongson-1 clock driver.
> - Use CLK_OF_DECLARE() to declare the "early clocks"
> required by of_clk_init()
> - Merge clk-loongson1b.c and clk-loongson1c.c into one driver
> because most of the differences between them will be moved to DT
> - Add set_rate callback for ls1x_clk_divider
> - Update the Kconfig/Makefile accordingly
> - Update copyright
>
> Signed-off-by: Keguang Zhang <keguang.zhang@...il.com>
> ---
> drivers/clk/Makefile | 2 +-
> drivers/clk/clk-loongson1.c | 348 +++++++++++++++++++++++++
No, this is not a refactor. This is removal and re-add. NAK.
One change per commit, this is unreviewable.
> drivers/clk/loongson1/Makefile | 4 -
> drivers/clk/loongson1/clk-loongson1b.c | 118 ---------
> drivers/clk/loongson1/clk-loongson1c.c | 95 -------
This is not explained at all. You are pushing some crappy vendor code
here instead of merging with upstream code.
Otherwise, explain the drop of directory. Why Loongson should be special?
Best regards,
Krzysztof
Powered by blists - more mailing lists