PCI: qcom: Clean up IP configurations
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 14 Jul 2022 07:13:47 +0000 (09:13 +0200)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Tue, 23 Aug 2022 07:25:52 +0000 (09:25 +0200)
commit223117350636e20a86fa540e9b53804194939057
tree6da53aab2abcc1d1950f0781f73dc72714bc8b1f
parent014aa3518a5826b88a601f5de867551db5c73855
PCI: qcom: Clean up IP configurations

The various IP versions have different configurations that are encoded
in separate sets of operation callbacks. Currently, there is no need for
also maintaining corresponding sets of data parameters, but it is
conceivable that these may again be found useful (e.g. to implement
minor variations of the operation callbacks).

Rename the default configuration structures after the IP version they
apply to so that they can more easily be reused by different SoCs.

Note that SoC specific configurations can be added later if need arises
(e.g. cfg_sc8280xp).

Link: https://lore.kernel.org/r/20220714071348.6792-8-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/controller/dwc/pcie-qcom.c