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

From: Stephen Boyd
Date: Mon Oct 23 2023 - 22:20:27 EST


Quoting Vishal Badole (2022-11-27 09:23:19)
> This feature lists the clock consumer's name and respective connection
> id. Using this feature user can easily check that which user has
> acquired and enabled a particular clock.
>
> Usage:
> >> cat /sys/kernel/debug/clk/clk_summary
> enable prepare protect
> duty hardware Connection
> clock count count count rate accuracy phase cycle enable consumer Id
> ------------------------------------------------------------------------------------------------------------------------------
> clk_mcasp0_fixed 0 0 0 24576000 0 0 50000 Y deviceless of_clk_get_from_provider
> deviceless no_connection_id
> clk_mcasp0 0 0 0 24576000 0 0 50000 N simple-audio-card,cpu no_connection_id
> deviceless no_connection_id
>
> Co-developed-by: Chinmoy Ghosh <chinmoyghosh2001@xxxxxxxxx>
> Signed-off-by: Chinmoy Ghosh <chinmoyghosh2001@xxxxxxxxx>
> Co-developed-by: Mintu Patel <mintupatel89@xxxxxxxxx>
> Signed-off-by: Mintu Patel <mintupatel89@xxxxxxxxx>
> Co-developed-by: Vimal Kumar <vimal.kumar32@xxxxxxxxx>
> Signed-off-by: Vimal Kumar <vimal.kumar32@xxxxxxxxx>
> Signed-off-by: Vishal Badole <badolevishal1116@xxxxxxxxx>
> ---

Applied to clk-next