Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Brian Norris and committed by
Chanwoo Choi
5f50c52f a86fb6a9

+2 -4
+2 -4
drivers/devfreq/rk3399_dmc.c
··· 430 430 goto err_edev; 431 431 } 432 432 433 - of_property_read_u32(np, "upthreshold", 434 - &data->ondemand_data.upthreshold); 435 - of_property_read_u32(np, "downdifferential", 436 - &data->ondemand_data.downdifferential); 433 + data->ondemand_data.upthreshold = 25; 434 + data->ondemand_data.downdifferential = 15; 437 435 438 436 data->rate = clk_get_rate(data->dmc_clk); 439 437