diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2022-03-02 14:29:14 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-03-03 07:05:04 +0300 |
commit | 4f9a7a1dc2a294c5c5c4b0246e2281e6ec88fb91 (patch) | |
tree | 3c2fe970b6d4b7e212283fea49857eeae816561c /drivers/opp/debugfs.c | |
parent | 0409ab77728d705f376ae28fd7114161295e7ed2 (diff) | |
download | linux-4f9a7a1dc2a294c5c5c4b0246e2281e6ec88fb91.tar.xz |
OPP: Add "opp-microwatt" supporting code
Add new property to the OPP: power value. The OPP entry in the DT can have
"opp-microwatt". Add the needed code to handle this new property in the
existing infrastructure.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/debugfs.c')
-rw-r--r-- | drivers/opp/debugfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/opp/debugfs.c b/drivers/opp/debugfs.c index b5f2f9f39392..3fcc1f97f2d1 100644 --- a/drivers/opp/debugfs.c +++ b/drivers/opp/debugfs.c @@ -100,6 +100,9 @@ static void opp_debug_create_supplies(struct dev_pm_opp *opp, debugfs_create_ulong("u_amp", S_IRUGO, d, &opp->supplies[i].u_amp); + + debugfs_create_ulong("u_watt", S_IRUGO, d, + &opp->supplies[i].u_watt); } } |