2022-03-25 17:54:16

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH 3/4] clk: baikal-t1: Move reset-controls code into a dedicated module

Please Cc reset maintainer on reset patches (Philipp Zabel <[email protected]>)

Quoting Serge Semin (2022-03-23 18:09:04)
> Before adding the directly controlled resets support it's reasonable to
> move the existing resets control functionality into a dedicated object for
> the sake of the CCU dividers clock driver simplification. After the new
> functionality is added clk-ccu-div.c would have got to a mixture of the
> weakly dependent clocks and resets methods. Splitting the methods up into
> the two objects will make code easier to read especially seeing it isn't
> that hard to do.
>
> As before the CCU reset module will support the trigger-like CCU resets
> only, which are responsible for the AXI-bus, APB-bus and SATA-ref blocks
> reset. The assert/de-assert-capable reset controls support will be added
> in the next commit.
>
> Signed-off-by: Serge Semin <[email protected]>