diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-05-12 03:13:32 +0300 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2023-05-18 19:02:23 +0300 |
commit | 0ac2a08f42ce5c06d5d1216eac59c046961acd4f (patch) | |
tree | d5455a06df1edc59a80906cba7737a86c45de317 /drivers/interconnect/Kconfig | |
parent | 375cccc6593650ab9436d3d5fad7eabd7085fff3 (diff) | |
download | linux-0ac2a08f42ce5c06d5d1216eac59c046961acd4f.tar.xz |
interconnect: add clk-based icc provider support
For some devices it is useful to export clocks as interconnect providers,
if the clock corresponds to bus bandwidth.
For example, on MSM8996 the cluster interconnect clock should be scaled
according to the cluster frequencies. Exporting it as an interconnect
allows one to properly describe this as the cluster bandwidth
requirements.
Tested-by: Yassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230512001334.2983048-3-dmitry.baryshkov@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/Kconfig')
-rw-r--r-- | drivers/interconnect/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/interconnect/Kconfig b/drivers/interconnect/Kconfig index d637a89d4695..5faa8d2aecff 100644 --- a/drivers/interconnect/Kconfig +++ b/drivers/interconnect/Kconfig @@ -15,4 +15,10 @@ source "drivers/interconnect/imx/Kconfig" source "drivers/interconnect/qcom/Kconfig" source "drivers/interconnect/samsung/Kconfig" +config INTERCONNECT_CLK + tristate + depends on COMMON_CLK + help + Support for wrapping clocks into the interconnect nodes. + endif |