]> Git Repo - linux.git/commit
spi: spi-geni-qcom: Use OPP API to set clk/perf state
authorRajendra Nayak <[email protected]>
Mon, 15 Jun 2020 12:02:40 +0000 (17:32 +0530)
committerBjorn Andersson <[email protected]>
Thu, 25 Jun 2020 05:03:19 +0000 (22:03 -0700)
commit1a9e489e6128c53571247ef216cebfd0dbf8ac5d
treecdebe509b2a497c1e5fe7a97aa16be93cd14964b
parenta5819b548af0cc0fd0b84fa3e35723c4c36f157c
spi: spi-geni-qcom: Use OPP API to set clk/perf state

geni spi needs to express a perforamnce state requirement on CX
depending on the frequency of 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.

Signed-off-by: Rajendra Nayak <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Acked-by: Mark Brown <[email protected]>
Cc: Alok Chauhan <[email protected]>
Cc: Akash Asthana <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
drivers/spi/spi-geni-qcom.c
This page took 0.054545 seconds and 4 git commands to generate.