From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 443E7C433F5 for ; Thu, 14 Apr 2022 20:52:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7BE4E8343B; Thu, 14 Apr 2022 22:52:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="YYxkXtAa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 84FA98343B; Thu, 14 Apr 2022 22:52:30 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4FE41831CA for ; Thu, 14 Apr 2022 22:52:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E9E8DB818EB; Thu, 14 Apr 2022 20:52:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77332C385A5; Thu, 14 Apr 2022 20:52:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649969546; bh=KX79Dj3SQp29ky3WxzkD5m2c9pbjUzjj1TpTevYBjzI=; h=From:To:Cc:Subject:Date:From; b=YYxkXtAaesWnmPyR1z+jAujdddGtLqyfT1O8SNfZVnlbpnOQoieCIMaA40wF6Yghs BwOKEL5FXxqUz7SXJWx86tbH2sxMjnGM652Q6rJ472qyIOL/Wvgfou/t9n4lYSZF/l Mk+PFtcIwVt5oTe5KAKB1uoi5pZCCGTDC2lQkoByOlfi49k+TR+E7fsUX0GpdiLUlc rkHPPDhpvMNHMOUGwHuGe5ieQvCE+69+sysnCC+sqKD5xQaOILKN4m7LT+ATf8S0Yc Gaq/YqRA8wttoaaeuLJug8xVSvhUNkMYFd6vDqCuzUozm1v9FSaAd6sr6Sc9scEwF8 mpZLY29i20UHw== Received: by pali.im (Postfix) id 8C5CB858; Thu, 14 Apr 2022 22:52:23 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Wolfgang Denk , Simon Glass , Sinan Akman Cc: u-boot@lists.denx.de Subject: [PATCH] pci: fsl: Change compatible string for mpc8548 to "fsl, mpc8548-pcie" Date: Thu, 14 Apr 2022 22:52:03 +0200 Message-Id: <20220414205203.8691-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Upstream Linux kernel uses for mpc8548-based PCIe controllers compatible string "fsl,mpc8548-pcie". So change U-Boot fsl PCIe driver and all DTS files to use "fsl,mpc8548-pcie" instead of "fsl,pcie-mpc8548" to be compatible with Linux kernel. Signed-off-by: Pali Rohár --- arch/powerpc/dts/mpc8548-post.dtsi | 2 +- drivers/pci/pcie_fsl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/dts/mpc8548-post.dtsi b/arch/powerpc/dts/mpc8548-post.dtsi index 2206f2da9feb..97c3ce6e74d6 100644 --- a/arch/powerpc/dts/mpc8548-post.dtsi +++ b/arch/powerpc/dts/mpc8548-post.dtsi @@ -27,7 +27,7 @@ }; &pcie { - compatible = "fsl,pcie-mpc8548", "fsl,pcie-fsl-qoriq"; + compatible = "fsl,mpc8548-pcie", "fsl,pcie-fsl-qoriq"; law_trgt_if = <2>; #address-cells = <3>; #size-cells = <2>; diff --git a/drivers/pci/pcie_fsl.c b/drivers/pci/pcie_fsl.c index cc6efdd5b464..be156daf8d49 100644 --- a/drivers/pci/pcie_fsl.c +++ b/drivers/pci/pcie_fsl.c @@ -646,7 +646,7 @@ static struct fsl_pcie_data t2080_data = { }; static const struct udevice_id fsl_pcie_ids[] = { - { .compatible = "fsl,pcie-mpc8548", .data = (ulong)&p1_p2_data }, + { .compatible = "fsl,mpc8548-pcie", .data = (ulong)&p1_p2_data }, { .compatible = "fsl,pcie-p1_p2", .data = (ulong)&p1_p2_data }, { .compatible = "fsl,pcie-p2041", .data = (ulong)&p2041_data }, { .compatible = "fsl,pcie-p3041", .data = (ulong)&p2041_data }, -- 2.20.1