Commit 82a2d662 authored by Johan Hovold's avatar Johan Hovold
Browse files

PCI: qcom: Add basic interconnect support



On Qualcomm platforms like SC8280XP and SA8540P, interconnect bandwidth
must be requested before enabling interconnect clocks.

Add basic support for managing an optional "pcie-mem" interconnect path
by setting a low constraint before enabling clocks and updating it after
the link is up.

Note that it is not possible for a controller driver to set anything but
a maximum peak bandwidth as expected average bandwidth will vary with
use case and actual use (and power policy?). This very much remains an
unresolved problem with the interconnect framework.

Also note that no constraint is set for the SC8280XP/SA8540P "cpu-pcie"
path for now as it is not clear what an appropriate constraint would be
(and the system does not crash when left unspecified).

Fixes: 70574511 ("PCI: qcom: Add support for SC8280XP")
Reviewed-by: default avatarBrian Masney <bmasney@redhat.com>
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
parent 12be5ca8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment