lkml.org 
[lkml]   [2022]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] clk: bulk: export of_clk_bulk_get_all
Date
> Subject: Re: [PATCH] clk: bulk: export of_clk_bulk_get_all
>
> Quoting Peng Fan (OSS) (2021-12-20 19:16:38)
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > There are cases that need to get the bulk clks of a device_node which
> > not has device created, so export of_clk_bulk_get_all to let consumers
> > could use it.
> >
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > ---
> >
> > V1:
> > An example here, mediamix node has clocks property, but it will
> > not
>
> Sorry I don't get the example. What does a DT snippet have to do with
> modular kernel code? What specific kernel module is calling this API?
>
> > have device of it, so we need of_X api to get the clks.
> > src: src@0x30390000 {
> > compatible = "fsl,imx[X]-src";
> > reg = <0x30390000 0x10000>;
> >
> > slice {
>
> Is this upstream?

Not posted to community yet. I'll post that patch to show the usage.

Thanks,
Peng.

>
> > #address-cells = <1>;
> > #size-cells = <0>;
> >
> > mediamix: slice@2400 {
> > reg = <IMX93_POWER_DOMAIN_MEDIAMIX>;
> > #power-domain-cells = <0>;
\
 
 \ /
  Last update: 2022-01-06 03:20    [W:0.101 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site