PM / devfreq: rk3399_dmc: Support new *-ns properties
authorBrian Norris <briannorris@chromium.org>
Tue, 8 Mar 2022 19:08:56 +0000 (11:08 -0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 13 Apr 2022 22:18:12 +0000 (07:18 +0900)
commitfd5b8479ef7e6a6cf1cf83ed62349c11b3864f12
tree7fcda7c8af0a6ff245f31ce41a085b094e90dce9
parente442172191782d2488c5543b5a43f22f912ed9b5
PM / devfreq: rk3399_dmc: Support new *-ns properties

We want to keep the idle time fixed, so compute based on the current DDR
frequency.

The old properties were deprecated and never used, so we can safely drop
them from the driver.

This is a rewritten version of work by Lin Huang <hl@rock-chips.com>.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/rk3399_dmc.c