[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DU0PR04MB94178D129447A487FB6AB3D3884C9@DU0PR04MB9417.eurprd04.prod.outlook.com>
Date: Thu, 6 Jan 2022 02:19:26 +0000
From: Peng Fan <peng.fan@....com>
To: Stephen Boyd <sboyd@...nel.org>,
"Peng Fan (OSS)" <peng.fan@....nxp.com>,
Aisheng Dong <aisheng.dong@....com>,
"bjorn.andersson@...aro.org" <bjorn.andersson@...aro.org>,
"jbrunet@...libre.com" <jbrunet@...libre.com>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"s.nawrocki@...sung.com" <s.nawrocki@...sung.com>,
"shawn.lin@...k-chips.com" <shawn.lin@...k-chips.com>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"van.freenix@...il.com" <van.freenix@...il.com>
Subject: RE: [PATCH] clk: bulk: export of_clk_bulk_get_all
> 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@....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@....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@...0390000 {
> > 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@...0 {
> > reg = <IMX93_POWER_DOMAIN_MEDIAMIX>;
> > #power-domain-cells = <0>;
Powered by blists - more mailing lists