Files
Linux/include/linux
Viresh Kumar 2083da24eb 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]>
2022-07-12 20:35:20 +05:30
..
…
…
…
2022-05-10 16:03:52 +08:00
…
…
…
…
…
…
…
…
2022-04-20 12:59:50 +05:30
2022-05-22 20:44:29 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-20 15:29:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-04-22 12:32:03 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-16 13:37:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-06-03 06:52:57 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-13 07:20:18 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-02 14:06:20 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-03 16:09:03 -04:00
…
…
…
…
…
…
…
…
…
2022-04-21 07:36:56 -04:00
2022-05-19 14:08:53 -07:00
…
…
…
…
2022-05-13 07:20:17 -07:00
…
…
…
…
…
2022-04-28 23:16:14 -07:00
…
2022-05-12 10:29:41 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2022-04-28 16:31:10 +02:00
…
…
…
…
…
…
2022-05-17 13:32:46 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-04-19 10:19:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-22 21:03:01 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2022-06-02 10:15:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-08 01:33:08 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-05-24 08:41:18 -06:00
…
…
…
…
2022-05-31 12:45:10 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…