PCI: dwc: exynos: Rework the driver to support Exynos5433 variant
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 13 Nov 2020 17:01:39 +0000 (18:01 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 1 Dec 2020 10:22:30 +0000 (10:22 +0000)
commit778f7c194b1dac351d345ce723f8747026092949
tree5331dd273cc15bd07b450129c66302ade39a20ec
parent46bc965df0387539adb0aaafa27927815d918aa6
PCI: dwc: exynos: Rework the driver to support Exynos5433 variant

Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM:
dts: exynos: Remove Exynos5440"). Rework this driver to support DWC PCIe
variant found in the Exynos5433 SoCs.

The main difference in Exynos5433 variant is lack of the MSI support
(the MSI interrupt is not even routed to the CPU).

[mszyprow: reworked the driver to support only Exynos5433 variant,
   simplified code, rebased onto current kernel code, added
   regulator support, converted to the regular platform driver,
   removed MSI related code, rewrote commit message, added help]

Link: https://lore.kernel.org/r/20201113170139.29956-6-m.szyprowski@samsung.com
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
drivers/pci/controller/dwc/Kconfig
drivers/pci/controller/dwc/pci-exynos.c
drivers/pci/quirks.c