aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2022-06-10 12:02:04 +0530
committerViresh Kumar <[email protected]>2022-07-12 20:35:20 +0530
commit2083da24eb56ce622332946800a67a7449d85fe5 (patch)
tree5e66680874d4ddaa82f9bda53a8ef2bc5f243c13 /drivers/usb/cdns3/cdns3-trace.c
parent3cb16ad69bef90a86390d7f94081fd5ae9e0df8d (diff)
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 <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Tested-by: Jon Hunter <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> Tested-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions