From patchwork Thu Jul 6 09:39:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 9827915 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EFE85602BD for ; Thu, 6 Jul 2017 09:56:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD5B928590 for ; Thu, 6 Jul 2017 09:56:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2009285D3; Thu, 6 Jul 2017 09:56:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D76428590 for ; Thu, 6 Jul 2017 09:56:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134AbdGFJ4C (ORCPT ); Thu, 6 Jul 2017 05:56:02 -0400 Received: from mail-cys01nam02on0082.outbound.protection.outlook.com ([104.47.37.82]:57703 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751981AbdGFJ4A (ORCPT ); Thu, 6 Jul 2017 05:56:00 -0400 Received: from CY1PR03CA0015.namprd03.prod.outlook.com (2603:10b6:600::25) by DM2PR0301MB0605.namprd03.prod.outlook.com (2a01:111:e400:3c08::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 09:55:58 +0000 Received: from BN1BFFO11FD024.protection.gbl (2a01:111:f400:7c10::1:164) by CY1PR03CA0015.outlook.office365.com (2603:10b6:600::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Thu, 6 Jul 2017 09:55:57 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD024.mail.protection.outlook.com (10.58.144.87) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1220.9 via Frontend Transport; Thu, 6 Jul 2017 09:55:56 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v669tr4d026735; Thu, 6 Jul 2017 02:55:54 -0700 From: Zhiqiang Hou To: , , , CC: Hou Zhiqiang Subject: [PATCH] PCI: layerscape: Add support for ls2088a and ls1088a Date: Thu, 6 Jul 2017 17:39:44 +0800 Message-ID: <1499333984-17668-1-git-send-email-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131438085573108067; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39850400002)(39410400002)(39400400002)(39380400002)(39840400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(8656002)(77096006)(189998001)(85426001)(72206003)(47776003)(498600001)(38730400002)(305945005)(53936002)(86362001)(356003)(626005)(50466002)(36756003)(48376002)(2201001)(5660300001)(6666003)(104016004)(50986999)(5003940100001)(50226002)(4326008)(8936002)(105606002)(106466001)(81166006)(8676002)(2906002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0605; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD024; 1:gGasFH4Vsr5eyxrqlmljIKoaRKQPtrbfBIZVQBl4R?= =?us-ascii?Q?PjPu9YLKYAYpVUeXDXcmAelBNSe2ISXcMeUuL2KvQIWDZNBoB9SwnAR1iC2n?= =?us-ascii?Q?7YTgOHVlEo++JXUej78GD8UewVGm+pPEDlDnDdkg3fQSsEkjNUn1ht6PN0/C?= =?us-ascii?Q?Wq2cgtplPhVO79wfICTjhKphFDgwPx+RIpJUsyJBkv2N2qQl3/TbPdZR6u6l?= =?us-ascii?Q?khsBKXSjcJ2A/azNKPw6MOUx3CGhjE7/KVIrdo77Xy/9SIYb9xGxThX4ZVgu?= =?us-ascii?Q?MujccWckOP7jVhYwZVSAFFuaS2f7NnGxxgU/FmopbXxnAd2X0JqB4ELNr4cH?= =?us-ascii?Q?2T8m+4ufuFOUShXxR6YEbfpE9gTCp+mGfDgix8HXb+iwr/Uph9ynML0tz/+h?= =?us-ascii?Q?JtmsIr20I5rf6AHHM8oEAm6GpJajdeIwtLAN0Sq+YPWoy+otbz2EJJ8+22pr?= =?us-ascii?Q?l/dsSz9KrvmvWd7z499kwtVteqJ0H2UgVLGNX+a03qWOKHp4hJ316vQ6RYbf?= =?us-ascii?Q?Bh2VVrwEWPwU7317ax6C+5XF27j6LiZdwdTH6iQ9Ovi1wUEAVAAtOOseub4w?= =?us-ascii?Q?6qPfrg1f5DLEAvpI+l7z6o78ciWj0a2Bd5I4PY8W0BUsvixLjVEFhfBMJix4?= =?us-ascii?Q?mrAWxSMyT8xtpkj7HFwlyzISVzNi85cajuAX/BUexVgGuMUEblY/PYv05Gnj?= =?us-ascii?Q?Z20vDkcgG4govfjg+TXcDLlNee5boyHzITuBKANR9wf4ezMlDEFQ6PV1bH0u?= =?us-ascii?Q?+G7NHtPqRZ78UnAG4pM1ctJENpy2OWKDiHU0bUOS3QfDAcXkkxbK313z6A7P?= =?us-ascii?Q?+kFZW+40obY9b80IhHyDhFG8Uy/Nd05dB7WVWg4Pty49HMBL2/qFg1iR1Eh8?= =?us-ascii?Q?Ofq2huQoGisRlkFLhwrUKhr3NY5nmTFnQm/C4m+ufFDDQ2B8yUWb6qnWQ2k0?= =?us-ascii?Q?JNCT5KoVjmTary4mq0vpHOn5WeMDh1AM0HUfwQ/ne1VT2PulnTvjFCFjO5j1?= =?us-ascii?Q?Bi4iC2W5zNeZpvKlD1M/o/Db5T6LG6gZzZ6Q6bkktsVBg=3D=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ce089aa-724a-401e-d663-08d4c45532ee X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR0301MB0605; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 3:iw+72tUv3kD/dynQwmfpLxkD+NPXEJTju13HLNo5ttBxpI6kIKGJ+PrtycLrWVn+7eduN8lsa8u/MsTu2eOVijwFEK6xMZu8fbF+JEdi5pm+AXD0PxZFzwqqojftwYkW3jtP53FYCdGT0A5mtRlsI/5is7rMcwnNsHh8F7FRT1lHXl0xfPgNfE/4SmeQF42+SiPaHTUUTeOXjg08IDh4Bn43u9dvovDmjlu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ZFnzlCUh4bsyA97TEDtbSY0UN7C3dMaZ/1XS/68GYSIvw3zE6IisRefCMgfF6qtx3cWsoJ7yFn76L6u61AzTu95JKnr500A8PLsS5W1VylUPbVUzcbFGZIwC9mJ3GcaZzj7OEgWDWxH0PjYDd5J90tGgH5s4Dip1mjrNNxoOE7lOoNyB+ePxj1H9Sk8JIgAU/DS7G5kw/+1hiFOUR45OaozsigoOXVI4jHNd9QzftIdWAqETLLtnRLTPT4NplngSkP4IThb05Mz/ul/tVdSWg2T/hIszdU9L1sln7BMTw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(2017060910045)(8121501046)(13016025)(5005006)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123556025)(20161123565025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0605; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0605; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0605; 4:U9MWLmMvfuCnMUrMhu1YL25Wh6bzJf8sPtlYRRuP?= =?us-ascii?Q?glHCQdDtAYPKN4rl5d8YFHTsTyaVQV/VQxK1IbHtL6RZjRi51PnzLcQLvgoE?= =?us-ascii?Q?BVKYq98bjk3GeYCbMaMSVmqJH8MEoioq2+1nqBDno9/YEPj7ThPBcolfrF+J?= =?us-ascii?Q?nFeJi3zutki7Xa5jHOMMk8wS640x7Ym8FGM5AGBDksbhINq/4a07OiZ0jAo+?= =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?AsRkbjSOsOzkJ98bmtx7FRaY9fsyqVjbER2K4S1B2pjknDPHs8SPzfDYg3vU?= =?us-ascii?Q?BB4HEVCeWvUkxJkT4qGw/HqwPoR60PJd3BzEA91NFlMhQ6Y6Gvm1ewhREH3E?= =?us-ascii?Q?qT1XUTye74P8/an7k5bPy62wrAaUruOmVCiQvKO55hcSTtlxxsoEUY+htQGs?= =?us-ascii?Q?DCL5ZRvVOH+cUqS/aGPwpFlV/RZDo0PlMWOkkdruBtY54T0sOggaSDzWH6t5?= =?us-ascii?Q?Wte2K+Dh+3vHMuCwVvz+HugM1e9X23AI91q24T2T5lIJ/CrMxPoGEI6xJRJ7?= =?us-ascii?Q?QnsnrhY4x87qB9x2VQ4xARImJ/u8eDeNj+L9Z8JqEK7q+jDi2bSu88sHRxJ/?= =?us-ascii?Q?bGvzd5br7ZaZi9ojQsjiBGFOQH/Fy3smrP4toG57c0kynK46W3oQsyoje1ic?= =?us-ascii?Q?ZFrfW0PVQH5odfJCu7DKmDWjVcWwgP2u46O9SBeUbLKnQXcyFMrABQ0odvQ3?= =?us-ascii?Q?LGFKEPhunl14WAxF70PaJC1obghRUbLuKeCh5++K1vhy1872XBRjnmZGGNB5?= =?us-ascii?Q?VWSkA2K6u0BgJHga/e0HNkmWBXCf2G49wxv0i2HviyM4pPa1Lczkrkdqib8z?= =?us-ascii?Q?ovXb0tdU191U6t+ciQxSHmKEANjSsJSyHdP3QvU9M5TXLFMqxXu20qQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0605; 6:z391EMNJuyeb17ZnUJA+jwfazFrDM8E+v3HSUpdz?= =?us-ascii?Q?FBc/fUNhMF7nxXkq0VW5aVo/MyxYREqZulCWoVekrRr3CzeRwM5yIKVnrVhQ?= =?us-ascii?Q?bMg1MotxIMfXP551r8+BWdh6CiMTfDx9CsxxCrKL733j/u9bYrnQKYAHxC7y?= =?us-ascii?Q?WEG304QR1ZogCoCo6vLI4vVY+4HI/tD2d+IFs6kZcfIRl9XJpt3e+4VQQH7x?= =?us-ascii?Q?kkseXSJLAy4ZK7SLTwO4siaINkYi7DOtulZg/nIWmlf00DEDWovfnMDp+rdw?= =?us-ascii?Q?s0Togp/AUL65+zK0KCK2/suf202NK7qpDLHr79kcQozFk1ohPxjB8wRFAFad?= =?us-ascii?Q?jYQM7x00iqKq7D0WJyV2dmx4YBhDeBOUJMZc544E/weWhGzNeuerW629jAbV?= =?us-ascii?Q?Shd7QF/IGr+B3TQD2QrSEDC1a1QnDH+Cccw5tr07Nk31hWmLzdwEUZmSRp+W?= =?us-ascii?Q?jbAk84Lyi8EKjNAjARezLpMMtou+vUEj4rkMJ+Esx4PLka43zavXjHEkPvKF?= =?us-ascii?Q?CBj8MupF3shVinK8wIt+XfkumyUENkeC0wXOyoSPvWlne8/O8kn3SCnRm49I?= =?us-ascii?Q?7aB8FXEXLjwbEg/xL20MXMCfJM0STmj0CbU6BjR8Lf5xOqPEJ+c/Okz9LX/Z?= =?us-ascii?Q?Wl3ai/rb90K78E8rQx0DaT1xC5k6PujLS65gl+EBnSHsdVU3q8TsmDtD+50q?= =?us-ascii?Q?Fa9dL40nmVB2TP+DcJ4uAyLiCM5pg/wv8qnfU+YK1qrLASwX2uUc5z9pXcH0?= =?us-ascii?Q?fDWCKlnqQSv+pSimL/bxybqoEwdLXFiqQx0jjDUqwbpZfO8e1ZwWD0g9R3IZ?= =?us-ascii?Q?oAhRWmoduDg59hv+38CopnVrVWZEEqVD+F3m8r/kEi6IBggtxL22sWy7ZSfP?= =?us-ascii?Q?LYmFKL5Jm+c2ye++3UIZWvT9010QI9ZWHBPSlXiG8xri0Su6400a7mbLYNW9?= =?us-ascii?Q?MhoyYH5aeGVFQxoWJYj6eeBbD60+daKgmB+3nzaorw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 5:Zi23h2G4MwGYsUU86VE7XTsR8Et9yL57CmFh/KmRZCL0Q181yPUa4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qd4Gsjq+d06dpgCdzr4CG3yscwKlCxr+PqHNT++hAH3VzOSQxZrIfXZ6inR6UgLP/PUw+IpXEpa1oVP/5lbN9JiP2y1H0JLKo3QwY00baexzSojcGP1x1U0TktCDEf+IhjGSfGLo+SoqQmSgSS77hRDZQJZsMp9DGfJeB+/njxU2qqgRpLEpqP1vQvWQI/S8A9uKzhej/gOhayr4XyTUh125aWOYT5cC1H19h1ZfFtQYoTDFAXtQ8hWCx+E/xo/1qTwTlfV+3NSu8NIu6nrOdK1AIxzXHq8rV8UNspNxtfZU6wczzEIjSMxy38d/eamf+HwyzWDbTNnD8eq9vdbj13q6kvhLfKDo3KlF/MpgreBVlXUU/yEMCeMynzddo2sBWN181uDXViuXocc8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 09:55:56.9988 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0605 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang The ls1088a and ls2088a has the same PCIe controller, so the ls1088a will reuse the ls2088a's pcie compatible. Signed-off-by: Hou Zhiqiang --- Documentation/devicetree/bindings/pci/layerscape-pci.txt | 1 + drivers/pci/dwc/pci-layerscape.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/layerscape-pci.txt b/Documentation/devicetree/bindings/pci/layerscape-pci.txt index ee1c72d5..cb735e1 100644 --- a/Documentation/devicetree/bindings/pci/layerscape-pci.txt +++ b/Documentation/devicetree/bindings/pci/layerscape-pci.txt @@ -15,6 +15,7 @@ Required properties: - compatible: should contain the platform identifier such as: "fsl,ls1021a-pcie", "snps,dw-pcie" "fsl,ls2080a-pcie", "fsl,ls2085a-pcie", "snps,dw-pcie" + "fsl,ls2088a-pcie", "fsl,ls1088a-pcie" "fsl,ls1046a-pcie" - reg: base addresses and lengths of the PCIe controller - interrupts: A list of interrupt outputs of the controller. Must contain an diff --git a/drivers/pci/dwc/pci-layerscape.c b/drivers/pci/dwc/pci-layerscape.c index 9bed3cd..0df8189 100644 --- a/drivers/pci/dwc/pci-layerscape.c +++ b/drivers/pci/dwc/pci-layerscape.c @@ -239,12 +239,21 @@ static struct ls_pcie_drvdata ls2080_drvdata = { .dw_pcie_ops = &dw_ls_pcie_ops, }; +static struct ls_pcie_drvdata ls2088_drvdata = { + .lut_offset = 0x80000, + .ltssm_shift = 0, + .lut_dbg = 0x407fc, + .ops = &ls_pcie_host_ops, + .dw_pcie_ops = &dw_ls_pcie_ops, +}; + static const struct of_device_id ls_pcie_of_match[] = { { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata }, { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata }, { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata }, { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata }, { .compatible = "fsl,ls2085a-pcie", .data = &ls2080_drvdata }, + { .compatible = "fsl,ls2088a-pcie", .data = &ls2088_drvdata }, { }, };