summaryrefslogtreecommitdiff
path: root/drivers/devfreq/rk3399_dmc.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2022-03-08 11:08:52 -0800
committerChanwoo Choi <cw00.choi@samsung.com>2022-04-14 07:18:11 +0900
commit5f50c52f13f12d63699feaae54ee2b1e4aee5a86 (patch)
treebe5979883fb2a0cc962f5cb63db551693806e7d0 /drivers/devfreq/rk3399_dmc.c
parenta86fb6a9a21d20aa643448d742da4eec065091f7 (diff)
downloadlwn-5f50c52f13f12d63699feaae54ee2b1e4aee5a86.tar.gz
lwn-5f50c52f13f12d63699feaae54ee2b1e4aee5a86.zip
PM / devfreq: rk3399_dmc: Drop undocumented ondemand DT props
These properties are: * undocumented * directly representing software properties, not hardware properties * unused (no in-tree users, yet; this IP block has so far only been used in downstream kernels) Let's just stick the values that downstream users have been using directly in the driver and call it a day. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/rk3399_dmc.c')
-rw-r--r--drivers/devfreq/rk3399_dmc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
index 293857ebfd75..e982862f6ac2 100644
--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -430,10 +430,8 @@ no_pmu:
goto err_edev;
}
- of_property_read_u32(np, "upthreshold",
- &data->ondemand_data.upthreshold);
- of_property_read_u32(np, "downdifferential",
- &data->ondemand_data.downdifferential);
+ data->ondemand_data.upthreshold = 25;
+ data->ondemand_data.downdifferential = 15;
data->rate = clk_get_rate(data->dmc_clk);