diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2022-06-10 09:32:04 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-12 18:05:20 +0300 |
commit | 2083da24eb56ce622332946800a67a7449d85fe5 (patch) | |
tree | 5e66680874d4ddaa82f9bda53a8ef2bc5f243c13 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cb16ad69bef90a86390d7f94081fd5ae9e0df8d (diff) | |
download | linux-2083da24eb56ce622332946800a67a7449d85fe5.tar.xz |
OPP: Allow multiple clocks for a device
This patch adds support to allow multiple clocks for a device.
The design is pretty much similar to how this is done for regulators,
and platforms can supply their own version of the config_clks() callback
if they have multiple clocks for their device. The core manages the
calls via opp_table->config_clks() eventually.
We have kept both "clk" and "clks" fields in the OPP table structure and
the reason is provided as a comment in _opp_set_clknames(). The same
isn't done for "rates" though and we use rates[0] at most of the places
now.
Co-developed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions