Re: [PATCH v4 1/2] [RFT] clk: samsung: add support for CPU clocks

From: Krzysztof Kozlowski
Date: Fri Oct 15 2021 - 06:14:45 EST


On 14/10/2021 21:53, Will McVicker wrote:
> Adds 'struct samsung_cpu_clock' and corresponding CPU clock registration
> function to the samsung common clk driver. This allows samsung clock
> drivers to register their CPU clocks with the samsung_cmu_register_one()
> API.
>
> Currently the exynos5433 apollo and atlas clks have their own custom
> init functions to handle registering their CPU clocks. With this patch
> we can drop their custom CLK_OF_DECLARE functions and directly call
> samsung_cmu_register_one().
>
> Signed-off-by: Will McVicker <willmcvicker@xxxxxxxxxx>
> ---
> drivers/clk/samsung/clk-cpu.c | 18 ++++++++++++++++++
> drivers/clk/samsung/clk.c | 2 ++
> drivers/clk/samsung/clk.h | 26 ++++++++++++++++++++++++++
> 3 files changed, 46 insertions(+)
>


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof