Re: [PATCH] Common clock: ​​To list active consumers of clocks

Randy Dunlap
2022-06-22T19:39:07Z

On 6/22/22 09:32, <Vishal Badole> wrote:
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index c44247d..549cdda 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -23,6 +23,14 @@ config COMMON_CLK
> menu "Common Clock Framework"
> depends on COMMON_CLK
>
> +config DEBUG_CLK_CONSUMER
> + bool "Debug feature to list clocks and their active consumers"
> + depends on DEBUG_FS && COMMON_CLK
> + help
> + Clock consumer debug feature supports for clock debugging. Chose y

Choose y

> + to get debug entry in file system to list clocks and their active
> + consumer devices.

--
~Randy