Re: [PATCH v1] clk: Add enable-state column to clk summary
From: Stephen Boyd
Date: Fri Nov 13 2020 - 03:18:34 EST
Quoting Dmitry Osipenko (2020-11-04 08:56:31)
> Add "enable state" column to the clk summary. It's handy to know actual
> hardware state of all clocks for debugging purposes. In conjunction with
> clk_ignore_unused, this tells us what unused clocks are left on after
> bootloader without disabling the clocks.
Should it be called "boot state" then? That idea sounds OK to me.
> It's also s useful debugging
Stray 's' here.
> information for cases where firmware touches clocks.
Care to explain more? Presumably you mean when firmware is modifying clk
state without notifying the kernel? In which case it should be called
"hardware enable" or something like that and be a "Y/N/?" value
depending on if the value can be read or not and if it is enabled or not?
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>