diff options
author | Rajendra Nayak <rnayak@codeaurora.org> | 2020-07-09 16:34:32 +0530 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-07-31 06:46:15 -0700 |
commit | 32d3e0feccfe2d07e73aaa322766ab04b3c9d594 (patch) | |
tree | 291f1cd580ce53d778a1eb2d1f0970bb20b1138e /drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | |
parent | b0530eb1191307e9038d75e5c83973a396137681 (diff) |
drm/msm: dsi: Use OPP API to set clk/perf state
On SDM845 and SC7180 DSI needs to express a performance state
requirement on a power domain depending on the clock rates.
Use OPP table from DT to register with OPP framework and use
dev_pm_opp_set_rate() to set the clk/perf state.
dev_pm_opp_set_rate() is designed to be equivalent to clk_set_rate()
for devices without an OPP table, hence the change works fine
on devices/platforms which only need to set a clock rate.
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/phy/dsi_phy.c')
0 files changed, 0 insertions, 0 deletions