From patchwork Tue Oct 19 11:17:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12569563 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91B96C433EF for ; Tue, 19 Oct 2021 11:19:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50F29610A1 for ; Tue, 19 Oct 2021 11:19:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 50F29610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=l+iZ323kQcIZ+GUfkheZesf6yUQ6BYpTvrIykKoW3vg=; b=Ce/cZoPb/N6UfK nkLon/NYXWSfgGZKYUAFupxFCrsagWHg2XCldMijdiVFBrJDr67/AiFOPyALt0Men+Gi9hpzVMlwJ Uyyr6EJRF45mOGODn+Kl01RCpdLcez+KQPOk6DWNqGeDdu1ODO3LlZEY35EKxWNNjn1exx+Mz2rA2 qQRt+eyy9sS1s2et0XECwyrbOJ9u6Fv5T6ZWgGdrsKG9ZBym3w08ur86udxAfanVyU+7y7HMpbxyh adtkEkE8qKYtknDshyKbJAkezNMpIj3JThGq557dgvRLxqieExGVBmIt8b9RjkAbKVDJUfJssmDL3 xKHMPATu2l76jCz3ZSLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8b-000wXz-6h; Tue, 19 Oct 2021 11:18:33 +0000 Received: from mail-eopbgr10087.outbound.protection.outlook.com ([40.107.1.87] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8X-000wVu-4I for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 11:18:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MH8Jm4FvGegxhyKN2QRSFpCAMh63MPkv4Ou9WafzxVcdfrPf0PyvP0sxljLTfi8ogJnnhtiQqXvwc8+y88bFdSlvBq6j7VzD6Ep9IsVaE+V4MOss2Pe2KSKGuYnAVWybMXdaiKawjjBfTKsX+SqSizWzQQADEL87Eiyq4Syqnufh+fI7ZiP/q87+mwEqws/JRz+mzBFGBxGf47sV0E3Zfc+rtalCtZ4wGgITD7tzVqEvc1XtxFVJQGXuZsmLvBqI2KsV13fA7sYWkWn1RVwik2gxydIGUnjr+eJvneuPuEynoJv6oECnO5GWXeHWuWX9ltdahcW28ic/+P1gy8VQvw== 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=fwn8YdnOhsLvMLvbasNvPi5rZFgKRrQqsa8M8cvpvqE=; b=SSZqHLEK7HfG32y+EtSYUL0GL0rBM0pl3U1CDHCm4h5tDQ8CC4A/gBuPlhRG8gb5YnlucBAGLaWPSbjBfgttRgGNkSRaSb2BNa/7i0jQr2nA+iBTYxriPopVI5ktMJbJxgfVLzU7TojtNRWPDRALgVUIPF5LKS7kvITyqMq4flqGMZMTVzySuZY4LuALc8ymdC2SsUbDNKQGav69MrRmEENOMECVpXlmJaD74JbVv0JW3fd65P92+7rQ0UmsBJAqjtj0En1sPgxg+6UukJqKyr6yEYkyDLQ/QW3UgG2pK3VwJUf39U8Rv6W8ugCv+GNHMCui73a5V6Ms1BViA++s+A== 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=fwn8YdnOhsLvMLvbasNvPi5rZFgKRrQqsa8M8cvpvqE=; b=YFBMhRKlZ0czMcBdz3KblDv0rk4Wil//rDNYcqdG/RI8nffJMvpPqAVUyZlIKphA/1cVTCOikQQY87Io6apIFJR26WYvAnjUlM/xsk9pFovWicikey5/6+1hnO5M6JAyZZYw+1EJPLsQa0zIKgHZhaWu83wfmKcaSgsAXymmpXI= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) by VI1PR0402MB2879.eurprd04.prod.outlook.com (2603:10a6:800:b7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 11:18:23 +0000 Received: from VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15]) by VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15%7]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 11:18:23 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com, lorenzo.pieralisi@arm.com, kishon@ti.com Cc: Hou Zhiqiang Subject: [PATCH 1/2] arm64: dts: Add PCIe endpoint mode DT node for ls1012a Date: Tue, 19 Oct 2021 19:17:49 +0800 Message-Id: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) To VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) MIME-Version: 1.0 Received: from localhost.localdomain (119.31.174.73) by SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Tue, 19 Oct 2021 11:18:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aca84796-4dc2-447c-4d57-08d992f22988 X-MS-TrafficTypeDiagnostic: VI1PR0402MB2879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kgHxJcVHjhXPgpWFCRqtIqx50m5ggDSuUZRepYyztm3J4HhzqhgMxGUBX/1ZpooLdFGdi2t74M/SuHWbbJ4yX4mDS/24GwJ8o0rpOtmNH4v1EI3P6qyRinztV0IDfIqgTzXya8DlVX3aq4bEAWnSebYV/K92WRkHuAUmN8PH7b4Z12r5vxuEecvkwIKKkrs8++bEUvMynl3RivDD14OunFbr5Z4KDPpU0CTgAfoTjRFT7EsnvwfQK+mwK9gIFcSlBuZLJBDGMZApHEfIahQfNMT5E+EvRbuD1b+dwaOzKooSAeyBnu+QVO4pIOPp7TI/8KWnLusKE1DnqC5A6FzFYDk6KgG3XbFJnvqWpjZ7cFYdnRSq1G5/Uci+S0my0nQUVEB8V5fEzgg4Y15W2AKTKMbAgViM5XhinyI/Nqq5f2Oni4KDNCrZRsL+PL1AsqClYIRR4p95Fwve89y64712gVVDIrRAHB61VODw4AAEJ5Zq1r59AXYRjy0eH8JlQJIhiRo2f7yn+a1cloo1L7zVuQEpsfhiRSMqvq8WzPrDiuJ2SztjKK24e9JyrQjvcbuz5IVHt4WI962v6GEOK7FGUgoySpoVei5WOSLFLHcG0fMQ1beiPLxy7AFzlA0G2CFHPmExADeD0DkL/hWfSNk5m71jGMrSqcY0PPeXLfvLFu93sjqpgjW/xnRc7hKtnPdSuOQjASndx/ZpvhHiTk9rmA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB2974.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(8676002)(52116002)(1076003)(86362001)(2906002)(66476007)(66556008)(316002)(6666004)(6512007)(38100700002)(38350700002)(6486002)(8936002)(66946007)(4326008)(26005)(186003)(36756003)(4744005)(2616005)(6506007)(956004)(508600001)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AXGr4O6XEbUhHZXsomeT+KnRcSA/msyLo/YDGQzeK7vrjI8FkUoOMTyLv1m1kNpGtNd68AITHi+g0XisWpg0IV6ulll7ekcBDPZmHI8XstuQ1Bn7dU7kNevXctDPyeNHxYj9GqRAyEvo4sRZIPykksY1BNZNF564a6luH4Kq/UstJXuL8Ela94uzEGene/bB4KE4rN79gUeAjh+aaTxuFW7mxGytyxsqmcbnjvARqdZRUQXdylDsibHgB2Kqxo7Ks6OokWm8k8eNyMmObFmgABQ1r5xiIyF9yECKW7+5G4doz/VqbrsLapmN9CZTOoctRsZCnTksgMzNIQGvKk6bZuV8OJtywhQWkhA5vkq6+e5HOX4Cdk5mPevJJKOf+zzLDN/ZurOlBgol+QkEZ9VqSyDvbqlf2Mx/PCSG7DKpDQXCpAHKdMvdduupH1TFKeDWINPagyr17ArbUbID+yhwSUafkuKTePLt9K8FYbEojaMWGPLrpjFOCftc0yRgDZvRrUJ4ih9glXUyKc3wvYZ9fFBM9hQUijG4uilOBJoiZ+1Gm/g7snZygeQB3eI/6HvXU7vVRkARIE6ZdvmjPhheXp+tIPWnWUfVjS0Ul7UvR0DU1DQCj3GiX/L8a3Iil59FXkq8ZwlELRJwMVVahczPDqcJLWdc7GjpD3fe5mDKleMHPNdHtZiFyUUV9xfkMfUKDnd2ynrwJ1TeNOWfAbN2RjKM/bp1EnzP0XiHr9ID0uwB/HUXKyC53ms7mY1bIDfOmATvCm2wp3jmugtIihHVjpeR7xoMNuNFDsXHYFwr6Uom7thDaIrqpRGdrdDQxN/WpbMzPTcuuWPWWLNN3qpe4DaNLggRVn8ha3s4aBcKQHy1P475Y9d9WHEo1BXAU62hl7QsfjugUHvLocvYKPHLZjMWeSElUef46z6GlQc+btWsshpsBXnbOhG23pHoM/LgE3oKbTU4Yl4Lz8QjctLUfojg8qOBFCd02Q58ixD+ttHYApDtBJRreYTkp/e7yoLpMJFD7KPgK+3dGWMwmY2kEmA3Jxvn2ElX0mCcOyb8fN0a2HOeu0YRN8x47Q6glbKRB8dBIo8auPhDHBGmAr2/I4Rlmezxp3OzewQvno4Y83Bh36rhiFhQGp3jZFiRQY0MwhWbausOQW23zQjlx5qUO3yFAQzr9FJyQJ80wYj5Yp6KdvgI62YpKR8JK2kwJ3UVNXnf/e63Wpy6a7JTZ+5k8In8lfxtNW/GK0QNvMMGB6LIvfaPFAI8kg+9ari7sUNuGvp28bEhhuItrvS+QVXwnkBvWW2SJT06B6dm6y2/936Y0d9vU/VWOU26tPdR8FNW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aca84796-4dc2-447c-4d57-08d992f22988 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB2974.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 11:18:23.0492 (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: FqEfiXwkdns0smaQWgqzUVw5LFGBgHVPM7KXFAZx/9SWv+ZqQ+YKI013KKJrkYBmFT0I17ZFbcbVkzqJLpsvJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211019_041829_219485_6E753D90 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hou Zhiqiang Add PCIe endpoint mode DT node for ls1012a and reuse the compatible string of ls1046a. Signed-off-by: Hou Zhiqiang --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 50a72cda4727..82bf2fe6f8bd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -545,6 +545,16 @@ status = "disabled"; }; + pcie_ep1: pcie-ep@3400000 { + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000>, + <0x40 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <2>; + num-ob-windows = <2>; + status = "disabled"; + }; + rcpm: power-controller@1ee2140 { compatible = "fsl,ls1012a-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1ee2140 0x0 0x4>; From patchwork Tue Oct 19 11:17:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12569565 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B720C433EF for ; Tue, 19 Oct 2021 11:20:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C8B7610A1 for ; Tue, 19 Oct 2021 11:20:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C8B7610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A+OjNcdJfzdtd09SuXASJ4YZVKc7n4pYRuCHUK8/ZUM=; b=pcD6oxIcPXjP2a TbvMAsH5uuBvME4wOEyMU8FTNtTmVF4ZP0RCXaLgwdfN7Mb7l5jTWc2E2VsoxJSHnh1dS+jg+//ko JsMui2yumpM15hnFyIyd0ghyT45kfjow0CToXqFqla6JEGOrZzWvEyL0N/dyWc3v4RZQCjK8OqM6V AnniQbKKeRovdZuK2ferBoUlAegccqhGHVA+liiDL438LyNkVNVpQsOEl+04XcWqZd9Fh2ugphecI Cdr0uJMf1B2Oq2V6Xwedof3UM/fK2MUbenCpCijiwho/CvJ4bw8JdAhulQrJOkft39iOjRbUvja4O jxS9YKqQhIw1+3c0fj/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8m-000waS-Cu; Tue, 19 Oct 2021 11:18:44 +0000 Received: from mail-eopbgr10087.outbound.protection.outlook.com ([40.107.1.87] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcn8Y-000wVu-SV for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 11:18:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FIIrmyj9njtSUIg04hS/POb43Mv6rZqgPByFJPDTUT1MeXfmDsDoca0W0l2oi2Itq70+6fHTlUXiGUo4q9t8YoHRlaN3ujtIVHXbtxMnx04lbRbjjc24F0Ad2+ThiBgPDIdHPnjWaqCVnDm8WgmIBmaCW5xPp68wKJRs286y01RxasUfJFyve3g7FOZPTnRgJ+e86aGkoTAXAIuWiI1DGcGEJ0Lr+smAd7i6quEElyGm6i7dOriTWf6Y+DnCVj3jcbHtEXell4VCvovdN1P0sL0AWgUWBWG58TRvD7Nz2/PCK7qYFpS88WaihTZ+oy3a8YqQzWZzOOLZqFnOXcHX0A== 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=bhz/RTY6qi6bswaJ1MtebXz7FanCNaNo8Bapvc/5BcY=; b=KU9JYRdlDMtfmHKN3aLsUq7IyBSTnpLpvPuK7t9CNO7WsJuUUAIL7ruahJ3YivSHYBaMNtEc0YRQBqQbZn/p4dKW6rXn/CJx0Jt1apmNxY4vPKH3zq6GN6ZnBrh2Bx71U7lEJfD7ZRV4lGiaXlxnhkHTdTR6SrmCJBuaWKYkHSytu8MP7UaZ1XiFC/Ur2IL7wnq/L0DgWyS+N8WLRgrjpaNQiEBDQVqV2VcJRu8YMQ0nqos1KeivHnSYLqGF/j3k6p+xMR0gGASl6HGe0xuEUMhUhYNji1KRj9LBIKGLlmpRpKC4DRdSPtjqVJrxkrQEyRfBul801xtjPvB3wtJq2Q== 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=bhz/RTY6qi6bswaJ1MtebXz7FanCNaNo8Bapvc/5BcY=; b=H8r/1c82gGxMC/I/hrpXJJlCzA5Ly2y9N85S/WuV5Wu6Pw6n2RQTU6vYrQrUg8P4Kh1euVluBRHEduexAXn/klS+k+K3FHGID2pG5iSawrJP8lswOY4ZrqSD7oEhBm6RXuJsJCgMYB3N/BvwwL99orrbyDD5LsukZOl3iVbUCqQ= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) by VI1PR0402MB2879.eurprd04.prod.outlook.com (2603:10a6:800:b7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 11:18:26 +0000 Received: from VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15]) by VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15%7]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 11:18:26 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com, lorenzo.pieralisi@arm.com, kishon@ti.com Cc: Hou Zhiqiang Subject: [PATCH 2/2] misc: pci_endpoint_test: Add Device ID for NXP LS1012A Date: Tue, 19 Oct 2021 19:17:50 +0800 Message-Id: <20211019111750.28631-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> References: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> X-ClientProxiedBy: SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) To VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) MIME-Version: 1.0 Received: from localhost.localdomain (119.31.174.73) by SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Tue, 19 Oct 2021 11:18:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88d2b1f1-bd2c-498d-7004-08d992f22bbc X-MS-TrafficTypeDiagnostic: VI1PR0402MB2879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gAg7ngQ9MhYQb4wqcib2UqdWUwVHCUfmUhazjyrM9/x/5szWsoavzRSRTHMa0nBVq1b6XSv1u+jpATOQJMn8+R9rMQ6NSeW+LoHqccyqOVQhwFHveQWapUbh+0/8Zl7uhy8YNzTiCG+zS4ins/I8sOZj5X2vAik9pE90ajgXK7kySnkNPtFcMZBRZCdO36bdmOlrwgwEr62yQP5lh0sN9Z+PHLmb//WD7aTBfgZlJMMWo3hPL3Pf00l6+DsNuXS6XoVBKVnrFJr0CVfO8YbKY7GDbqyzp35YSuUl0CXnASjRMe5ajuMFDJZ7yoXSoGOGc/9RYEPkRsrX0hiI/oJK9nZBVJVVhOkTWqobY0ZIn22cZzYz+SVCmZYUT44En7gvwtZMt+2NM1gQ2EmlSgY57gk2QgGDLO8Ky783ZvTyJqosVXtvdoVJRzm4vZbqyNmpNQZVFTmb+VP5SyrsIdkqg7sQP2nvrCZTX6Rvl6m1WgCrGDeY1jfoQ6Ksor88s1Ex6x/70rv4GngV+TZCE4OPIHi+x244v6EMezV5ZSZX/5h7b5jxe20bhn/wq7iW4rnhsMxMEXR3SNzPgS8MpJzGedBlBD8rZnZLxIXTjt0oav+F9P6VERF8IAmenP69Wno9R53s1RPLkXYQ+RFs6gPb9IHYObaUE/XY+oWlBJ2G31/hr/lNglcVzuAguWpFZtBZKNaBUavumOdZA9jPrhfyMg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB2974.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(8676002)(52116002)(1076003)(86362001)(2906002)(66476007)(66556008)(316002)(6666004)(6512007)(38100700002)(38350700002)(6486002)(8936002)(66946007)(4326008)(26005)(186003)(36756003)(2616005)(6506007)(956004)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AJJjdizTqctLBLFF0/KbG/vk9eUGEtTp5oc0g4t7vCurWn9L6qnCqYUmNLfo9Fn9rOBrm5R4P5hxo9Qtbjt15ycivfJP/kRx6O8Pk3inT4yNeGdVD/PjEgiGJWUvvNwc4DRSR4u7+3HJt3ZswI+lDPlAbR1gI3gLSrBt++xPUJdtO1hpfERsnggbv7APkgmm3fCTpnVMvCKsTttXCI4HD9LW+GvHKwXuUlti78R+LdbyKl7yq6lbVQPvM++ViXIv4sA2lbs3IzrMefYkAgGsmwamurLBab2bqlXqAapvlU7ePRoTw2eM1JklbeJeFBsF2hFGmpuTfpdMbF0hB363izftWxtqRThWovPSoPRR43TZp3Mgm8UPOvuMozXSlbKCtOnejfiwvPCbz1GLQFPcHE9MvdneZ6r6Qe21y72zOpFzYRqQdwda2c3tK6RvS4sHDlwJ24cL5ht8g9XWaMKyXM+j/IFGLlDFMPnDgfSOKKokv/GmfqOSoiswPhzlRIa2mfSaxOJmAYz4MmaxRcG284WdaM7IAIs0NOOS+KP1BN+ooO6kE73gLY/2wGlFi4eZ5sfaOsmY+0tfs2lKriRiE6K4ue49xx9pa6UlZuKKaX5q/BrOiUGhm1mVzVtLUbIrY+r4HYxjG8cfVUg95gJ6niheh5gRbMK/dMNt4mg3obriJzOhxaCJKfslQFv3FuNpDIRGkucuBL6jXIW26X/jzefEUclAAKd63zyoenfBMW9C/k7hocBFT6r7/iQUMVbzPfIKRjVV6Gy/VXvVssEOt3EHC5lGrSyPdcgGHbmjKwHLUC8x6bTZtomSVr5Tua5H0pt64hN7Jp15APTPRiO6rkq8EikKYcWLgepSPWsbKmA6xvROvzJfUhisqtwP+vbFRUSIEHeWMPjsiVl+nrBqXVOft4OcYCUP3rlcxcEZldDHrzU3jcJmfhSaJq6EdQVOuSKaJ/zs9PFvm/0rLWCHFOWrUIE3QW8eqZNLU32DP588gPn5cbcOSRJPmodUGnPq3QKv9YQNwsyxeMbL9BQavKzBp9zD0JjbX2JwD8XQOct4P+ohiFAujD5iFI+bht9vPnRx8UdSXwraGWKn0qw1MRCoqzq2CUxYfditZR0f2Nvx43LjwJ6M+QfAAfhR6C9BPwYANDr1GsbxtwX1JymdleMj3XurvjP84TzLPDWYjzGNAgqUYC2nLAN08MJlOEPqxsL+4S7QYH6Jo4VnIhrvODKb3SNYDGTr+oerrHxowd0A4AS2Y81xHw8EU1qgOOSyc/rja8Nnyso/ttutIDMrAq3ZmwgPfXHmkEqy4jXhAnBIRwoNLTKoVfDV4uYZIzmN X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 88d2b1f1-bd2c-498d-7004-08d992f22bbc X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB2974.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 11:18:26.6036 (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: QDKU2gZLcbgQt2lPbmwn5OhCkFazo8dJXQk3XmPUi/xRTnU0z8330RJek2ovJOyPZTjAkempYe4yvxc8vv2EKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211019_041830_947462_B7006EB5 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hou Zhiqiang Add the Device ID for LS1012A so that the pci-epf-test driver can be used for the tests on LS1012A. Signed-off-by: Hou Zhiqiang --- drivers/misc/pci_endpoint_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 2ed7e3aaff3a..b84d5b15aec8 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -71,6 +71,7 @@ #define PCI_DEVICE_ID_TI_AM654 0xb00c #define PCI_DEVICE_ID_TI_J7200 0xb00f #define PCI_DEVICE_ID_TI_AM64 0xb010 +#define PCI_DEVICE_ID_LS1012A 0x8100 #define PCI_DEVICE_ID_LS1088A 0x80c0 #define is_am654_pci_dev(pdev) \ @@ -955,6 +956,9 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA72x), .driver_data = (kernel_ulong_t)&default_data, }, + { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, PCI_DEVICE_ID_LS1012A), + .driver_data = (kernel_ulong_t)&default_data, + }, { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, 0x81c0), .driver_data = (kernel_ulong_t)&default_data, },