opp: Expose of-node's name in debugfs
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Feb 2022 09:07:53 +0000 (14:37 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 11 Feb 2022 04:29:04 +0000 (09:59 +0530)
commit021dbecabc93b1610b5db989d52a94e0c6671136
tree799313959bf164af382f8ac3fcfb732705ea322b
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
opp: Expose of-node's name in debugfs

It is difficult to find which OPPs are active at the moment, specially
if there are multiple OPPs with same frequency available in the device
tree (controlled by supported hardware feature).

Expose name of the DT node to find out the exact OPP.

While at it, also expose level field.

Reported-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/debugfs.c
drivers/opp/opp.h