From patchwork Fri Dec 16 16:15:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13075178 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 108ABC4332F for ; Fri, 16 Dec 2022 16:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232198AbiLPQQV (ORCPT ); Fri, 16 Dec 2022 11:16:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231844AbiLPQQM (ORCPT ); Fri, 16 Dec 2022 11:16:12 -0500 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2072.outbound.protection.outlook.com [40.107.8.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3611C8FE6; Fri, 16 Dec 2022 08:16:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ezOLJUpCUDAYfC0rVHC8a3PGHxXHQiPRqXvXPWcbCj++h4dR2rf/AJfMRz1OtmJYDljhO8fg3tCoL3wN6F6oPuVUAYQu/XzN7UpAVycaywUYF36U9+aoX4sBIJhh6CjUZ9gOswfNkc98QEmXj574H+dfZ86LkOKO88PtxIZU+I4L3EdU4byzt7FJvYsd6Phoy6Ya9E6PmYHKRc1l1t+ZduP32dFoTGZaavAYhImrOcVGKpzSGolu5bBNBNz1jvp4bIARzl9zdFY0ZT2FKrrrs/zYOJ1Ha7QkIjUJvgJ0dK1q/5RSVgvlD5I2wUjCRDKs5rA3bML2dw9F8zIWNsTZMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vV8Y9LpoZSRyz9y5n6d9BA2TkhUJlHTWofDb93EDr64=; b=FFHmfuXdDtqb3ie3GeQYZo4sL3rlIdDPnGZXOswFWWUOCY6l/0N9nZWbWH4cuWhbwoCs/EQmzz/7aiB1IePAhytGpinWRCrDkAGT0CUAg0EZ0BX5hiSciFCwDQYeJCwizOvun4SwO6liRKaJ1DoSKoW1gCJk+27sfum7LxZOTCh+XG0YtaFHHZEtgALoXqyP5lwuTNKTGA2FaL4LkR9Dx9MJWx/bpH3vxPB2RcVJ45hSHFfa5wf1CXUYdGztshO3chhXb+SKX5WxVA0FRWydr1Fnd3GysJBlqgamQOyUAYfk17Q4WFuS/5j2U10Ylco+MGJQVlDQIuZ0yKgt33tAuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vV8Y9LpoZSRyz9y5n6d9BA2TkhUJlHTWofDb93EDr64=; b=HGv9BvTTW8slwMRdfaW7Qepb8Y5+LuVqUxhJkPxRi8ON05D452u+HesxrknHrin9+Zr6OisFHeiYlVL1mg4ex/vMnU74BwyuMwhi5QX9EfbDDyGgVCik7w153t1SiWjj5s3XfAVf/qEYXLSBl+D3/8nmncvfml8HX9fhheRF7iA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) by AM8PR04MB7220.eurprd04.prod.outlook.com (2603:10a6:20b:1d7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.15; Fri, 16 Dec 2022 16:16:05 +0000 Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::203a:e5da:a4a:7663]) by HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::203a:e5da:a4a:7663%12]) with mapi id 15.20.5924.012; Fri, 16 Dec 2022 16:16:05 +0000 From: Frank Li To: Minghuan Lian , Mingkai Hu , Roy Zang , Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , linuxppc-dev@lists.ozlabs.org (open list:PCI DRIVER FOR FREESCALE LAYERSCAPE), linux-pci@vger.kernel.org (open list:PCI DRIVER FOR FREESCALE LAYERSCAPE), linux-arm-kernel@lists.infradead.org (moderated list:PCI DRIVER FOR FREESCALE LAYERSCAPE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/1] PCI: layerscape: Add EP mode support for ls1028a Date: Fri, 16 Dec 2022 11:15:37 -0500 Message-Id: <20221216161537.1003595-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY5PR13CA0015.namprd13.prod.outlook.com (2603:10b6:a03:180::28) To HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0401MB2331:EE_|AM8PR04MB7220:EE_ X-MS-Office365-Filtering-Correlation-Id: 409fd006-78b1-441c-8cfa-08dadf80d4f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2mVyjx5dkU9ZqNMp3k4hq/vKrvVbdN7jK8RKDl8iO80lYjdIP8s7rDIv1sb4vSuQs7pSOYUDLfmbb6MdwbwMHKxi/cWBMYGjLKN1ky3ofy38yjWjamKpp6y+rnMMaoxD8i97SiW4I7dXBrsv1qKRg3UzG8TOdOpTvGFVXnczHwxYUHkwEWXYwdDRMbacWASJPMmHhpEwl3S+rpbwxDp6TNlV7djEAuGDRsFeQqmIruLg5+tgTruZfOwRCkFg336YRFg9kFqbm6Jt0nel60+ZX0YGT22OaB2KCD44V3Q1WyUKXELlewMtEpm1dDICwjKh31oI1RhFPrde3jBaEpH1FSLQ4KdE3S+2cuczP1k5QQXfNzp+0hytcWokWyaSx/A8KQdSuqgwDf4I8qDg6eYQR5YXkBoBr2rWrMzd2FIJkfuJvyFso8HAMG9m9I7+FKhv2OBm3zHqVnBWOHHCdfg0X4blqf8XfG/qV2xl/KJikxG4V9UHo1gAxQTilMS5L/n+eEN1rxSzpVOW7dq4lEhJPARIana0TvAYKT/61UuufViO274W6babfQUzwk2LsOSOpUUYrDWAT/QaWWL4SyG5ql+ud69Whfcq5u3J0u0ELL58atYjBUfr4CBhVZ1QQmrpY6poOqRqMO+tzKf6HGXE1i1iUvyAcTvt7FsISTL69w6qoPAHY5HakBbjxonPaitrKoqSse5q/s5ynMZnFDMPvXke1VlJWvJGGyudiB8vpFckFqtHFJYMObUO/4OiAB0x X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0401MB2331.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199015)(8936002)(38350700002)(921005)(38100700002)(5660300002)(52116002)(6506007)(8676002)(41300700001)(6666004)(478600001)(66476007)(186003)(26005)(66556008)(66946007)(4326008)(2616005)(1076003)(110136005)(2906002)(316002)(6512007)(6486002)(966005)(86362001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8Y9sb/Pq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QSdp9LPzCiN0SOlRttg0sjBYa0OmykTkPOZopWStfhrTXk3Yuo1hs/veWrM5eo+4kfVazPkYmnK4h0hQjtWIi69CVsnNtPmzucyMi8eK0pR34Og4fCYP5rD/pvC2I5SNZV2OP0ZW0ge92I8bJ+LIonHg4mtFLQSw/x4uUPq7l5PeU1s77UN7Pd57DWPNo6nQu3Tx32xiFoeSnxhrV4EdBcKEegQqUdhkNgb7zfyvPi1OBe0r/bc4q5BaeMRvWNiN/3EyUyJapuPcc7fUJg6xTtY/o0wLJX4Cr7b/DezL5uTEVNM8LuBMK7Z+w7xXv/GO3jFEuTuZlUg7txDolWV3Y/GlgfTX7U+LXOrTVYktp0alZQn3uSmmwleSpQByK5xXJ7mLcMP1AxQXA2Y9/7/zt0HnUI7OJAgV4VHFRVqG1jK9o9CwU9qBUyhx4s/oHWQgyQGEu+dMyug0yTD23xgT33AyKbadi3RXuIUQ9RtwfQgc5RRAcatYf2ikCB43bIZ15YvVdaVCBQRg+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 409fd006-78b1-441c-8cfa-08dadf80d4f3 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0401MB2331.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2022 16:16:05.1791 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QIdN9WTgrabCx2CnjjM95RUIq3uz7dPDgMwVPeZ34/cx99Kk/dta5PR0GBk1saPLL1WMFcQ7vJNWVFpMO+fprQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7220 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Xiaowei Bao Add PCIe EP mode support for ls1028a. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang Acked-by: Roy Zang --- All other patches were already accepte by maintainer in https://lore.kernel.org/lkml/20211112223457.10599-1-leoyang.li@nxp.com/ But missed this one. Re-post. drivers/pci/controller/dwc/pci-layerscape-ep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c index ad99707b3b99..ed5cfc9408d9 100644 --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c @@ -112,6 +112,7 @@ static const struct ls_pcie_ep_drvdata lx2_ep_drvdata = { static const struct of_device_id ls_pcie_ep_of_match[] = { { .compatible = "fsl,ls1046a-pcie-ep", .data = &ls1_ep_drvdata }, { .compatible = "fsl,ls1088a-pcie-ep", .data = &ls2_ep_drvdata }, + { .compatible = "fsl,ls1028a-pcie-ep", .data = &ls1_ep_drvdata }, { .compatible = "fsl,ls2088a-pcie-ep", .data = &ls2_ep_drvdata }, { .compatible = "fsl,lx2160ar2-pcie-ep", .data = &lx2_ep_drvdata }, { },