From patchwork Thu Jan 12 19:34:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1725350 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=Bw/Y+Rkd; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NtFCL2MTWz23fp for ; Fri, 13 Jan 2023 06:35:57 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NtFCG14zCz3fBC for ; Fri, 13 Jan 2023 06:35:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=Bw/Y+Rkd; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nxp.com (client-ip=40.107.21.50; helo=eur05-vi1-obe.outbound.protection.outlook.com; envelope-from=frank.li@nxp.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=Bw/Y+Rkd; dkim-atps=neutral Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2050.outbound.protection.outlook.com [40.107.21.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NtFBr5GLPz3bZn for ; Fri, 13 Jan 2023 06:35:30 +1100 (AEDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SEDCp4ZGrykTq75QYHYuCVq1OOWZsFNiVKVaxBXzu3049wtLA/OZ8gCBf3uvr5AUWOd+tKMFo1rLVokZaARAsbZKHhBPBxauuM80DrMMVmBX9N7sFRQQM39RA432JcGqS4/t9gxzBKuGUhm6+LTpb7dys2Y7gfQErlTCjmXCHIvJqJrJDaP3bf+FJ1N7zMQce12p7cs569KQUIT98bLhylg1wLQWGUh0ICASmsgI75qOvHqi3QsLJMUikTafAffIJFpLddENQsX+i284TMiroa0qByFF0Tl3hfjuX0FxIpgvBFhBXBfDml7mjv4q4/tmlFmw1bWVc0AoBRTMqb2UJw== 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=ACfxK11EiDUn6YifuXZI+iHQNLz0XFnMCJjfgAYt7kg=; b=H2IXaCdU3x9sCQcVNBstwILdqKHn5FAEY11zk/CNdcTT+ec1WZHYJy3Zsbee6Ts8sb/edmdVvl8pm4jRRKVYIE4uJkB6YpgPq60E2KXTKlIRRcyGmPCsh20aLhn2ebvEqjBc3A0MOEB0Ul/U8j3At+LbPvacMKAW0GbMiF0779SvryFEhWRnlarOgiTPXijWH4BJJVKA0p1jd3/Id3EeiAlO6uGZZNROlLR55OtqShJh1kT0w8CN7vmmt0/stxJdChO6pSLZAcizxIGfSSQ6lrsTiYzb1UM5L40Nl6bey0OVFjzEQkaOND9WblhtyQKyeobhlvPIpi9towxF1L5onA== 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=ACfxK11EiDUn6YifuXZI+iHQNLz0XFnMCJjfgAYt7kg=; b=Bw/Y+Rkd2o2goXXvaIAvbZw2rcoR/Jwzj/z50GZiuS8MKzQMNlYgExLB7Srlt+xcv0hAg6F9C3C3N+XmyplilDjOy60PTP2eX8BDuKHb8XynXbrQH6zyvDieRTyjWw1C4mrkj8adgF+IpP26PJdoppH1lQ3QaMQ5LI9lFIc7a54= 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 AM8PR04MB7300.eurprd04.prod.outlook.com (2603:10a6:20b:1c7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Thu, 12 Jan 2023 19:35:11 +0000 Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::ca48:3816:f0b6:3fcd]) by HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::ca48:3816:f0b6:3fcd%6]) with mapi id 15.20.5986.018; Thu, 12 Jan 2023 19:35:11 +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) Subject: [PATCH v2 1/1] PCI: layerscape: Add EP mode support for ls1028a Date: Thu, 12 Jan 2023 14:34:42 -0500 Message-Id: <20230112193442.1513372-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR21CA0024.namprd21.prod.outlook.com (2603:10b6:a03:114::34) To HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0401MB2331:EE_|AM8PR04MB7300:EE_ X-MS-Office365-Filtering-Correlation-Id: bb7bfa9c-38bb-422d-ce68-08daf4d41e36 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DhsgZsjSmBj8Tuvo8noo5q6lDjBDuv4qLbheF7vJwmrApiakeA8NaUS1+1Z3sjxa6RKBiakMDFd5W2ouWIiaqFmRinU0GonzUmeGHgQUo9fOis2d/Jd+5uzi5TyDib6YZLO+Sy/Qa6aS25tsMwfezp0tltTph2OU4iAkDUA8V32pXRW7RSw669lBgzLf3WdZGUmOr6JgRLcXEd00gkggcttCDk1uLWMqbw46Yl3S1COEQ31g9MjTGyAjvMWntBf7eiUwQVwaC6jFyr2TsbhDCHufNMq1ejtk6VaWQZNv15gyyJe65mJGgLHwmU2TMmEOEzwkGL2zpx8exLuMo47YTR3wltSBlyzyJrQYB0ZGGBGzPPQLR/+4CuvwEraPe5KLgCrrHYkj9HZC6LGUbxmdAOMQ1SqbgLUCKKPSaDdM+ctGPR/azJqKU7+ycCnkN3qFWEvjZVidUaFErxnTgW5jQEEA9K2nBccmlA6QqJ4Grnx8NKV1M8wlcBpQY372EVLUF34KaWPAfN9DgPWPqe8VGoS2Z3EzYbXclf6hVabGGGHjyHH3XR13b4UgxM3ISnBHt6Ez9n52miUpYmwACupqFMlupH9KjOkGUfciUp1vJED1t0Q3wGEEXYAwd6/CNh3/tdZ5VfYM84bElqCQbk3OLaTXSb71xnM8lfOqc9ToSZGahYlqyRalc3+nTdb1kMVA5fPwrDT5QuZypmvSUgQlSvz+jMCgA7/qryvruSewoUom8hi+B+33kzsmHO1wtq8L 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)(366004)(136003)(396003)(346002)(376002)(39860400002)(451199015)(38100700002)(38350700002)(8936002)(921005)(8676002)(86362001)(5660300002)(4326008)(2906002)(66476007)(66946007)(66556008)(966005)(41300700001)(6666004)(6512007)(26005)(6506007)(2616005)(186003)(1076003)(110136005)(316002)(478600001)(6486002)(52116002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PE6UXabMdE1WpV+vBv40ZMh1ViGo7+f8lykpiyVSXyrXxWwzSMrR/AJMwqGxqICGy65nBs5aFDgUnpHbyrA7FZPG/+qZX72psjw0LXICr5/Yl1e44C4YibXy0BXoC/CGRv6rH/9ftun12n027UVUedWrNVXHdYJAbY7Hsur38masbSjmEEHeRgJi5qayu6f7tD3Ae956tz4ttxX/92YqtzWC/uZHhyHAOuXUqj5SturTzs9t+/C6ZxMLjJVLgFdVeDCePNVszSik4PZJv0NJC42JKYeTq178/TjRZfWd5frFQyUvJZ/IVUpETR0r2IZX61DAZXYrz1S3raXgWaLP0xlIB4J8B6OJLJbHPkMHEyRBtj0OqyPuCiOuxaqSoKUkvrSQeRmYpV3i6G+bVkABbphvGapR3RpIzkwl+QFhBTetiLavER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sJrym8YDhyWrxybHRyXo9rgWs0tfPzYwm/UY9E4o6YAYbEl6JQLEs+2qaZTF5uzEy+NZeDBVoOQuMlb3k/Cd8W8/FdhHXRBiKkdpvDrzC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb7bfa9c-38bb-422d-ce68-08daf4d41e36 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0401MB2331.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2023 19:35:10.7706 (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: qTPkaMnDbS+y2HH86QFTBatWDkJni4q3IoefxPeHoEeeZzTqZkxJMYmZWd+cIzpWKHRMwphlUbePsblEaZARrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7300 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: imx@lists.linux.dev Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" From: Xiaowei Bao Add PCIe EP mode support for ls1028a. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang Signed-off-by: Frank Li Acked-by: Roy Zang --- Added Signed-off-by: Frank Li 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 }, { },