Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1701316pxb; Thu, 16 Sep 2021 13:21:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxykA8uA5/GjY5Z1JT7+NiZ6OsUtomVLe0VNwFpikP92c/Ed2Rb9fNr5QeOB7ZZJhZVodql X-Received: by 2002:a17:906:6dcb:: with SMTP id j11mr8227491ejt.202.1631823714566; Thu, 16 Sep 2021 13:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631823714; cv=none; d=google.com; s=arc-20160816; b=ueLnGQ5xtLPJuNkfZJdy+sxZQpCa84EFzubkK4C55qO9Rj/wLdLJ8dSltsIf4TioF9 N3Ah2iD8ust44L1gCEVszxaJkdOl71VedvYT8irZTETsBUMskw1IOX1R7yqfFWNq2lUS yO7OPw+n1RBKl96AO7N8hs+AKeBf5SnH5Qaf/xWJJrtWGDy7aOZGRib/4LEydMhLfPCC HCH58kudIrwGR3Oo4rMKNYdS8QBjXEzYt7YzQ/9Y2+Nhzk13UlxqoTihhKbSUnUe0a6l h8dxIfBEvp1kmZd08iNDrfEhcV5h4P3gH1eYI2+qKaEDc2dbXBsnosq8zF3QIGu3qu2r 6OEg== 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=ziTwQpOgl4C+Tw0e5z9QEgTwYFjy0vI6fwP1NfPy81g=; b=H/lYMn8sE0GEs57ideVkY7/KTDDAKf7lFVcY2oK58Ca1SnbyIbHi2QvrW05qao3rkf gBeXWljwDTdqFrvk7rLVZgNSSTPlHgIPVHjEl5jBuqGDULsQgSG7p/fPXpisANTGIS8y 1WrjvwkFVd33OIerg8ZWOby5guehd+b4j8z6gCLA0XyEBA2EoKgGBbs6QahLT7B1Kkoc bfQVDKc5fQO+IjN5jfqbnprMSeuW0eCEV0/PT3T+pcB4MFROZZqKNif9mNA2O+bK/UCY Y0SPXvdQRXzPbV1A1Z/+/1SojkGWwq/MLMwEtVMqfZ6/hf5kwwfgS96c5icwiB4IqNhH KZXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cMwmBAjb; 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 a15si5368622edr.61.2021.09.16.13.21.30; Thu, 16 Sep 2021 13:21:54 -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=cMwmBAjb; 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 S236393AbhIPQZC (ORCPT + 99 others); Thu, 16 Sep 2021 12:25:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:55230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236752AbhIPQQQ (ORCPT ); Thu, 16 Sep 2021 12:16:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4321061250; Thu, 16 Sep 2021 16:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808710; bh=aEmmNDItKKfIvYWiPzZzc9Ik6tR4WWo7PiWkhXxbDw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cMwmBAjbdvkkXXI9w3TTEpltYZRnRMjJylnYdI11F5oWqJVMmuqYyJ02+Vs6DQ12+ fVPodpMatpH6D9ZQh+/WYs0SRFhM7d9fugpcVt+xABBOrFbDO3w5HR1wPAHbIEJbva bPbIltNJ3d4AjJv1NQzvp+7dOla34ZPtbGbKBGTk= 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.10 176/306] arm64: tegra: Fix Tegra194 PCIe EP compatible string Date: Thu, 16 Sep 2021 17:58:41 +0200 Message-Id: <20210916155800.084210601@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@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 6946fb210e48..9b5007e5f790 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1976,7 +1976,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) */ @@ -2008,7 +2008,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) */ @@ -2040,7 +2040,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