Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ODROID-XU4: devfreq: exynos-bus: workaround dev_pm_opp_set_rate() err…
…ors on Exynos5422/5800 SoCs Commit 4294a77 ("PM / devfreq: exynos-bus: Convert to use dev_pm_opp_set_rate()") introduced errors: exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz) exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz) exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz) ... exynos-bus soc:bus_wcore: dev_pm_opp_set_rate: failed to find current OPP for freq 532000000 (-34) exynos-bus soc:bus_noc: dev_pm_opp_set_rate: failed to find current OPP for freq 111000000 (-34) exynos-bus soc:bus_fsys_apb: dev_pm_opp_set_rate: failed to find current OPP for freq 222000000 (-34) They are caused by incorrect PLL assigned to clock source, which results in clock rate outside of OPP range. Add workaround for this in exynos_bus_parse_of() by adjusting clock rate to those present in OPP. Fixes: 4294a77 ("PM / devfreq: exynos-bus: Convert to use dev_pm_opp_set_rate()") Change-Id: Ic07e2d68e0da2efa07cb81cc9b4f76d8ad15bd76 Reported-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> Signed-off-by: memeka <mihailescu2m@gmail.com>
- Loading branch information