linux/drivers/interconnect
Artur Świgoń 0259a41da3 interconnect: Relax requirement in of_icc_get_from_provider()
This patch relaxes the condition in of_icc_get_from_provider() so that
it is no longer required to set '#interconnect-cells' to <1> in the DT,
and therefore it is not required to supply dummy node IDs in the
'interconnects' property when node IDs are dynamically generated rather
than hardcoded (statically allocated).

In case of the devfreq driver for exynos-bus, node IDs are dynamically
allocated and '#interconnect-cells' is always zero.

Signed-off-by: Artur Świgoń <a.swigon@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lore.kernel.org/r/20200521122841.8867-3-s.nawrocki@samsung.com
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
2020-06-16 16:38:28 +03:00
..
imx interconnect: imx: Fix return value check in imx_icc_node_init_qos() 2020-05-10 18:30:37 +03:00
qcom interconnect: qcom: Move the static keyword to the front of declaration 2020-04-29 13:11:44 +02:00
core.c interconnect: Relax requirement in of_icc_get_from_provider() 2020-06-16 16:38:28 +03:00
internal.h interconnect: Add helpers for enabling/disabling a path 2020-05-10 18:30:37 +03:00
Kconfig Merge branch 'icc-get-by-index' into icc-next 2020-05-15 10:46:18 +03:00
Makefile interconnect: Add imx core driver 2020-04-28 20:03:02 +03:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00