]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / devfreq: tegra30: Support variable polling interval
authorDmitry Osipenko <digetx@gmail.com>
Mon, 4 Nov 2019 21:56:15 +0000 (00:56 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Nov 2019 03:04:01 +0000 (12:04 +0900)
commitf61ee201068ac844cc8ed7f9112e47f3452f8262
treeb589db8507055e7d0d1fb9bf7cbefb103b3d4e43
parent5c0f6c79595760c9e366c3517314051af530e3e6
PM / devfreq: tegra30: Support variable polling interval

The ACTMON governor is interrupt-driven and currently hardware's polling
interval is fixed to 16ms in the driver. Devfreq supports variable polling
interval by the generic governors, let's re-use the generic interface for
changing of the polling interval. Now the polling interval can be changed
dynamically via /sys/class/devfreq/devfreq0/polling_interval.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c