public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* clock consumer for output clocks?
@ 2022-06-01 14:15 Alexander Stein
  2022-06-16  2:52 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2022-06-01 14:15 UTC (permalink / raw)
  To: linux-clk

Hi,

I want to use an output clock, which provides some internal clock on an putput 
pad, such as IMX8MP_CLK_CLKOUT1 or IMX6QDL_CLK_CKO.
To prepare and enable a clock I need a consumer, but in my case there is no 
(local) consumer. Is there some way, DT node or some kind of driver/uapi, 
which I can use to enable the clock?

Best regards,
Alexander




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: clock consumer for output clocks?
  2022-06-01 14:15 clock consumer for output clocks? Alexander Stein
@ 2022-06-16  2:52 ` Stephen Boyd
  2022-06-16 11:52   ` (EXT) " Alexander Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2022-06-16  2:52 UTC (permalink / raw)
  To: Alexander Stein, linux-clk

Quoting Alexander Stein (2022-06-01 07:15:54)
> Hi,
> 
> I want to use an output clock, which provides some internal clock on an putput 
> pad, such as IMX8MP_CLK_CLKOUT1 or IMX6QDL_CLK_CKO.
> To prepare and enable a clock I need a consumer, but in my case there is no 
> (local) consumer. Is there some way, DT node or some kind of driver/uapi, 
> which I can use to enable the clock?

I think you want to use an "always-on-clocks" property in DT for your
device. See the proposal[1].

[1] https://lore.kernel.org/linux-clk/20220517235919.200375-1-marex@denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: (EXT) Re: clock consumer for output clocks?
  2022-06-16  2:52 ` Stephen Boyd
@ 2022-06-16 11:52   ` Alexander Stein
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2022-06-16 11:52 UTC (permalink / raw)
  To: linux-clk, Stephen Boyd

Hello Stephen,

Am Donnerstag, 16. Juni 2022, 04:52:50 CEST schrieb Stephen Boyd:
> Quoting Alexander Stein (2022-06-01 07:15:54)
> 
> > Hi,
> > 
> > I want to use an output clock, which provides some internal clock on an
> > putput pad, such as IMX8MP_CLK_CLKOUT1 or IMX6QDL_CLK_CKO.
> > To prepare and enable a clock I need a consumer, but in my case there is
> > no
> > (local) consumer. Is there some way, DT node or some kind of driver/uapi,
> > which I can use to enable the clock?
> 
> I think you want to use an "always-on-clocks" property in DT for your
> device. See the proposal[1].
> 
> [1] https://lore.kernel.org/linux-clk/20220517235919.200375-1-marex@denx.de

Nice, this looks interesting. Thanks for the link.

Best regards,
Alexander




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-16 11:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-01 14:15 clock consumer for output clocks? Alexander Stein
2022-06-16  2:52 ` Stephen Boyd
2022-06-16 11:52   ` (EXT) " Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox