]> git.baikalelectronics.ru Git - kernel.git/commit
opp: Add support for parsing interconnect bandwidth
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 12 May 2020 12:53:21 +0000 (15:53 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 29 May 2020 04:45:08 +0000 (10:15 +0530)
commitddcdd29fae23f2d5873e4da89ee310dd616e0d65
tree96d8512a0b37295ca4aa3d688d907b8643c74916
parent3f3137014c36fd283631ec92069960e187592425
opp: Add support for parsing interconnect bandwidth

The OPP bindings now support bandwidth values, so add support to parse it
from device tree and store it into the new dev_pm_opp_icc_bw struct, which
is part of the dev_pm_opp.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
[ Viresh: Create _read_bw() and use it, renamed _of_find_icc_paths() to
  dev_pm_opp_of_find_icc_paths(), exported it and made opp_table
  argument optional. Also drop the depends on from Kconfig. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
drivers/opp/of.c
drivers/opp/opp.h
include/linux/pm_opp.h