Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1951211pxb; Thu, 16 Sep 2021 21:19:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1yQYPp6VdjEBk3eS6uTACy8/pY6hGGntzzU+EJ0H2LfgJG1dNBM2f+oWxGtnyOq48iPpL X-Received: by 2002:a92:d90a:: with SMTP id s10mr6556561iln.175.1631852384652; Thu, 16 Sep 2021 21:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631852384; cv=none; d=google.com; s=arc-20160816; b=P1RvwM7Peq0/Xk253kvAukQ0FfeDJMc5jGXdBmQa8xNesohqk0ZqJd/VCJxoRRpl7E nZ0IwpcuF1sjd8KBtZ5wIsK6fU5dSoiHnSP4N2b9BHD/PfqSCxa/PqO2EUgeM0Bld+hD kk96ugHdwzdqG7zAyBHo5HFHg3bTKdn/ZRGs4g5coO/xiPmbrj9rgV0KZ+QkBoR205v7 w+IasQLmYfcGD2vRuWpZp/jtVek8ZEyUpoYtxcKqeQDtXdj2CFJBaA+j7huKq1IBaMv7 mZ+o3f+jY5b7eqrgR+L/+C4kwiuNY0Qc5bfESbwoC4zJAaFcIfB5kSHEpzXDVIrughxO PZiw== 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=xy9HKo5uW3nj1W0rLwOic0pC9rfRLYHtpaWrj8hpiuw=; b=ZeAHNfp9NbIIEpxTxnEkYjNrFkzOPR/frx2yfwHUV6xqGMwX5oyEXl3zOa8gH6F6Ur HESOVCyuDJnEKNKiysYcKVzNyzqUgZz4/IQqJaidvkEoAxEL8f+p3Lj8ULe/yr9E2YNg Mbu139XKoK24Ru6j1LN4L7+Ss8Nt0SPu/dnlWWB7XK6mSMpJp7fL3DhxHkKcOPNZpgkJ WzrdbZB9quuXtPJvd4ooKiYpzUfHSQWMXB8Dx2jcEsAvpVp+6dOzpLd8742nKLWX8mi+ 4BOM2+mSKh/hmlsQC7kVAQnu4LQcJ6D6NzyIgl/hBAhSB3BaMkoGYOnKz9vWbddbYRuE vaSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Y7xh/6dj"; 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 187si4602386jaf.20.2021.09.16.21.19.32; Thu, 16 Sep 2021 21:19:44 -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="Y7xh/6dj"; 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 S1349317AbhIPRgz (ORCPT + 99 others); Thu, 16 Sep 2021 13:36:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:46924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352339AbhIPR14 (ORCPT ); Thu, 16 Sep 2021 13:27:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 039526103B; Thu, 16 Sep 2021 16:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810738; bh=vpGN6M9N/+VFlJTwRXh9c32T/+9r1GIZGJlU8Oq/aBk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y7xh/6djtAeFGOLvLxEXFJ8Zewh+AdxVtnyMh9HjP1ycylutpb9nyrsxyZayo8TvC HdLmNJqiSLbZVC4+5ltGkqTTA8Vw6t1h+WEG+iTwGDWHmpVcWajtysyRr5hoDYL6HG 7M61zUWQX3ULAGTup2MTtLunRFf9pxoQEMObPcq8= 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.14 250/432] arm64: tegra: Fix Tegra194 PCIe EP compatible string Date: Thu, 16 Sep 2021 17:59:59 +0200 Message-Id: <20210916155819.303235002@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@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 5ba7a4519b95..c8250a3f7891 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -2122,7 +2122,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) */ @@ -2162,7 +2162,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) */ @@ -2202,7 +2202,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