Re: clock consumer for output clocks?

Stephen Boyd
2022-06-16T02:52:59Z

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