arm64: tegra: Fix Tegra194 PCIe EP compatible string
authorVidya Sagar <vidyas@nvidia.com>
Tue, 27 Jul 2021 18:50:55 +0000 (00:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:24 +0000 (13:40 +0200)
[ Upstream commit bf2942a8b7c38e8cc2d5157b4f0323d7f4e5ec71 ]

The initialization sequence performed by the generic platform driver
pcie-designware-plat.c for a DWC based implementation doesn't work for
Tegra194. Tegra194 has a different initialization sequence requirement
which can only be satisfied by the Tegra194 specific platform driver
pcie-tegra194.c. So, remove the generic compatible string "snps,dw-pcie-ep"
from Tegra194's endpoint controller nodes.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/nvidia/tegra194.dtsi

index 6946fb2..9b5007e 100644 (file)
        };
 
        pcie_ep@14160000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX4A>;
                reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
        };
 
        pcie_ep@14180000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
                reg = <0x00 0x14180000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */
        };
 
        pcie_ep@141a0000 {
-               compatible = "nvidia,tegra194-pcie-ep", "snps,dw-pcie-ep";
+               compatible = "nvidia,tegra194-pcie-ep";
                power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8A>;
                reg = <0x00 0x141a0000 0x0 0x00020000>, /* appl registers (128K)      */
                      <0x00 0x3a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K)  */