Re: [PATCH] clk: Add requested rate to clock summary output

From: Stephen Boyd
Date: Wed Apr 12 2017 - 12:49:44 EST


On 03/22, Peter De Schrijver wrote:
> From: Alex Frid <afrid@xxxxxxxxxx>
>
> Added requested rate to clock summary output and to clock dump. This is
> useful for clock tree debugging. Also expand the clock name field in the
> clock tree debugfs output to provide room for deep multi-tier trees like
> on Tegra.
>
> Signed-off-by: Alex Frid <afrid@xxxxxxxxxx>
> Signed-off-by: Peter De Schrijver <pdeschrijver@xxxxxxxxxx>

We should print out all the consumers (struct clks) and their
requested rates + prepare/enable counts instead. req_rate is sort
of an internal variable that records what the last aggregated
rate was. I'm not sure if we want to expose that to debugfs.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project