[PATCH] clk: introduce u-boot,ignore-clk-defaults

Tom Rini trini at konsulko.com
Thu Oct 14 17:14:33 CEST 2021


On Thu, Oct 14, 2021 at 09:11:26AM -0600, Simon Glass wrote:
> On Wed, 13 Oct 2021 at 03:00, Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
> >
> > From: Peng Fan <peng.fan at nxp.com>
> >
> > Current code has a force clk_set_defaults in multiple stages,
> > U-Boot reuse the same device tree and Linux Kernel device tree,
> > but we not register all the clks as Linux Kernel, so clk_set_defaults
> > will fail and cause the clk provider registeration fail.
> >
> > So introduce a new property to ignore the default settings which could
> > be used by any node that wanna ignore default settings.
> >
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> > ---
> >  doc/device-tree-bindings/device.txt | 3 +++
> >  drivers/clk/clk-uclass.c            | 3 +++
> >  2 files changed, 6 insertions(+)
> >
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> I wonder if this binding could be made standard, instead of 'u-boot,'?

Feels like something we should see about, yes.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211014/11491b82/attachment.sig>


More information about the U-Boot mailing list