[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a87f99e02f3e9c40c8b9638a8a5a9c5b55aca68c.camel@maquefel.me>
Date: Fri, 30 Aug 2024 12:23:12 +0300
From: Nikita Shubin <nikita.shubin@...uefel.me>
To: Stephen Boyd <sboyd@...nel.org>, Michael Turquette
<mturquette@...libre.com>, Nikita Shubin via B4 Relay
<devnull+nikita.shubin.maquefel.me@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH v11 03/38] clk: ep93xx: add DT support for Cirrus EP93xx
Hello Stephen!
On Wed, 2024-08-28 at 13:44 -0700, Stephen Boyd wrote:
> Quoting Nikita Shubin via B4 Relay (2024-07-15 01:38:07)
> > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> > index 3e9099504fad..234b0a8b7650 100644
> > --- a/drivers/clk/Kconfig
> > +++ b/drivers/clk/Kconfig
> > @@ -218,6 +218,14 @@ config COMMON_CLK_EN7523
> > This driver provides the fixed clocks and gates present
> > on Airoha
> > ARM silicon.
> >
> > +config COMMON_CLK_EP93XX
> > + bool "Clock driver for Cirrus Logic ep93xx SoC"
>
> tristate?
>
> > + depends on ARCH_EP93XX || COMPILE_TEST
> > + select MFD_SYSCON
>
> Why is this selecting syscon?
>
> > + select REGMAP
>
> Is this needed either?
Indeed REGMAP is selected by COMMON_CLK, MFD_SYSCON not required, but
it needs AUXILIARY_BUS.
> > +#define devm_ep93xx_clk_hw_register_fixed_rate_parent_data(dev,
> > name, parent_data, flags, fixed_rate) \
> > + __clk_hw_register_fixed_rate((dev), NULL, (name), NULL,
> > NULL, \
> > + (parent_data), (flags),
> > (fixed_rate), 0, 0, true)
>
> Is this to workaround a missing
> devm_clk_hw_register_fixed_rate_parent_data() macro?
Yes, if it's okay - i'll fire next revision, all other comments are
acknowledged.
Powered by blists - more mailing lists