Re: [PATCH] Common clock: To list active consumers of clocks
From: Randy Dunlap
Date: Wed Jun 22 2022 - 15:39:07 EST
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