Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2339927pxb; Mon, 20 Sep 2021 19:23:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylGv+K9STEeoe4zCpdVpnsJVn4pcYYcpDhPZNVnEgLRe5QWfwuZUgAniOor08nlSjLgwBu X-Received: by 2002:a50:cf4c:: with SMTP id d12mr6331258edk.115.1632190985875; Mon, 20 Sep 2021 19:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632190985; cv=none; d=google.com; s=arc-20160816; b=W0oflq0DZSxTlOUMwuVq8Hk7IfFSeS+/Lq4kfLCMe5HU5tRDRpenwr1KhNXXanbIkP +0aa3cigxenDeK6KPPX7HHbg/PJZKGt8DeeaaZHZqrta18s4H5OLVKaK2TW+IbaBIM8N qIBtaPrfrOs5JsfeeUzzBlsO9SSD4YK9/uK1eSNz+c2B5m7y94lMj6Lq6YRXjhw4YOgN XepG2T7A9KzSiKlwvt4lal83dW+e2Hqr1FsW9n94u+XzlehAZjnDSfWmwEga0HTJv7Xe vwzTaEuhTlHX48YADi2AfewXt6Skg1pRlyMfDCNymGumrHjZI6pYWS6lc7LS5IfIlnh0 dhiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NtapDk5MfiajIDkAlxmEei+C8oe9N6qskM58vagEdf8=; b=BePZkUg2xOPggPEZDKPJE2myqD4WXjkjWZOm3+t4yImQB3+t53hYSSSsIZ1ZUETDi3 h6flz9rBPXTdT99IEQjU3B0J6qIEuXR1/I2hI/HD2vOIN9UvMFPlKKQjLpkaCvEX5M4X mP2A1rQtfDiqCBSZMo1h+KmtfOAFP47qC8QHi3bcMdO2QO2LazrhLpsOQahB7JVSDcQ6 DfKOgtIRvz2BcWTZ1ZlrKeUpPx4ZPDpgSxHh2cAswYgrRQNIO8yEk6V5FtCCzoGcFl9S EMrHKRJB3sgmSXtloVtHVqLlmfMO3D6hnXyE8kjC3z5cn7tD+ZOc6FT6Q0VaoFi4KueT aXlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eFavqHaD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jl8si12958841ejc.718.2021.09.20.19.22.42; Mon, 20 Sep 2021 19:23:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eFavqHaD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376883AbhITSOx (ORCPT + 99 others); Mon, 20 Sep 2021 14:14:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:35752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359252AbhITSJZ (ORCPT ); Mon, 20 Sep 2021 14:09:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68B1661A56; Mon, 20 Sep 2021 17:19:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158351; bh=6THc55M9H+piYc7a5/b5tKa38hBPIcjtanzULpo3bgM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eFavqHaDG9SB7wcRBdLoX9n+yNWb9Va/qRN+HWF3A9DW13QXDB80n8MeiAyUpsvbV pISzRbZX68dILntVotN5Mf35nuEPzgjBuy7GmQ2IXn//uDHl27QwguNAHaJGdxwEFw yEJ5aXXrE8JGbEmC+Gso6cN/E4bx8oLP8yUfOTQY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vidya Sagar , Jon Hunter , Thierry Reding , Sasha Levin Subject: [PATCH 5.4 115/260] arm64: tegra: Fix Tegra194 PCIe EP compatible string Date: Mon, 20 Sep 2021 18:42:13 +0200 Message-Id: <20210920163935.045576843@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vidya Sagar [ 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 Reviewed-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 0821754f0fd6..90adff8aa9ba 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1434,7 +1434,7 @@ pcie@141a0000 { }; 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) */ @@ -1466,7 +1466,7 @@ pcie_ep@14160000 { }; 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) */ @@ -1498,7 +1498,7 @@ pcie_ep@14180000 { }; 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) */ -- 2.30.2