diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2020-11-12 15:09:28 +0100 |
---|---|---|
committer | Georgi Djakov <georgi.djakov@linaro.org> | 2020-11-30 17:26:22 +0200 |
commit | 2f95b9d5cf0b3d15154225e369558a3c6b40e948 (patch) | |
tree | cea7f0b75f6c24834027cd6f120adabf0dfbe0a9 /drivers/pinctrl/pinctrl-oxnas.c | |
parent | be49d5b2985bca407d130305ad78021d3c17db19 (diff) | |
download | linux-2f95b9d5cf0b3d15154225e369558a3c6b40e948.tar.bz2 |
interconnect: Add generic interconnect driver for Exynos SoCs
This patch adds a generic interconnect driver for Exynos SoCs in order
to provide interconnect functionality for each "samsung,exynos-bus"
compatible device.
The SoC topology is a graph (or more specifically, a tree) and its
edges are described by specifying in the 'interconnects' property
the interconnect consumer path for each interconnect provider DT node.
Each bus is now an interconnect provider and an interconnect node as
well (cf. Documentation/interconnect/interconnect.rst), i.e. every bus
registers itself as a node. Node IDs are not hard coded but rather
assigned dynamically at runtime. This approach allows for using this
driver with various Exynos SoCs.
Frequencies requested via the interconnect API for a given node are
propagated to devfreq using dev_pm_qos_update_request(). Please note
that it is not an error when CONFIG_INTERCONNECT is 'n', in which
case all interconnect API functions are no-op.
The samsung,data-clk-ratio DT property is used to specify the ratio
of the interconect bandwidth to the minimum data clock frequency
for each bus.
Due to unspecified relative probing order, -EPROBE_DEFER may be
propagated to ensure that the parent is probed before its children.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Artur Świgoń <a.swigon@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lore.kernel.org/r/20201112140931.31139-3-s.nawrocki@samsung.com
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-oxnas.c')
0 files changed, 0 insertions, 0 deletions