clock consumer for output clocks?
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
Stephen Boyd
maintainerQuoting Alexander Stein (2022-06-01 07:15:54)
Quoted 7 lines
Hi,
I want to use an output clock, which provides some internal clock on an putput pad, such as
IMX8MP_CLK_CLKOUT1orIMX6QDL_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].
Re: (EXT) Re: clock consumer for output clocks?
Hello Stephen,
Am Donnerstag, 16. Juni 2022, 04:52:50 CEST schrieb Stephen Boyd:
Quoted 11 lines
Quoting Alexander Stein (2022-06-01 07:15:54)
Quoted 8 lines
Hi,
I want to use an output clock, which provides some internal clock on an putput pad, such as
IMX8MP_CLK_CLKOUT1orIMX6QDL_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?
Quoted 4 lines
I think you want to use an "always-on-clocks" property in DT for your device. See the proposal[1].
Nice, this looks interesting. Thanks for the link.
Best regards,
Alexander