[PATCH v4 2/2] clk: amlogic: Add A9 AO clock controller driver

Jerome Brunet jbrunet at baylibre.com
Fri Jun 19 01:08:56 PDT 2026


On ven. 19 juin 2026 at 08:48, Julian Braha <julianbraha at gmail.com> wrote:

> Hi Jerome,
>
> On 6/19/26 08:29, Jerome Brunet wrote:
>> No, regmap clock are directly used so this is necessary.
>> Relying on other module dependencies is not enough
>
> What do you mean it's "not enough"?
>
> Functionally, any user of COMMON_CLK_MESON_DUALDIV can also use
> COMMON_CLK_MESON_REGMAP.

This driver directly use regmap clocks. This is a direct dependency,
required for the build and stated as such. If the module needs it, it
depends on it, simply.

Relying on indirect dependencies is incorrect and fragile.
If those dependencies ever change, the build breaks for no obvious reason.

>
> Unless you mean for documentation purposes?
>
> - Julian Braha

-- 
Jerome



More information about the linux-amlogic mailing list