diff options
author | Kamil Konieczny <[email protected]> | 2019-08-07 15:38:36 +0200 |
---|---|---|
committer | MyungJoo Ham <[email protected]> | 2019-08-25 12:46:48 +0900 |
commit | 4294a779bd8dff6c65e7e85ffe7a1ea236e92a68 (patch) | |
tree | 07cccfb3b8abca7f8cbe4d6520f34f1609b99f29 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 2c2b20e0da89c76759ee28c6824413ab2fa3bfc6 (diff) |
PM / devfreq: exynos-bus: Convert to use dev_pm_opp_set_rate()
Reuse opp core code for setting bus clock and voltage. As a side
effect this allow usage of coupled regulators feature (required
for boards using Exynos5422/5800 SoCs) because dev_pm_opp_set_rate()
uses regulator_set_voltage_triplet() for setting regulator voltage
while the old code used regulator_set_voltage_tol() with fixed
tolerance. This patch also removes no longer needed parsing of DT
property "exynos,voltage-tolerance" (no Exynos devfreq DT node uses
it). After applying changes both functions exynos_bus_passive_target()
and exynos_bus_target() have the same code, so remove
exynos_bus_passive_target(). In exynos_bus_probe() replace it with
exynos_bus_target.
Signed-off-by: Kamil Konieczny <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions