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

Simon Glass sjg at chromium.org
Sun Oct 24 21:53:27 CEST 2021


Hi Peng,

On Fri, 15 Oct 2021 at 02:58, Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
>
> Simon,
>
> On 2021/10/14 23:11, 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,'?
>
> Sorry, could you explain more? You mean put it in linux device tree in
> linux kernel repo?
>

Yes, if you think it would be useful there. Just a suggestion.

Regards,
Simon


More information about the U-Boot mailing list