From patchwork Tue Sep 19 09:26:54 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: 9958553 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 0EE9D60208 for ; Tue, 19 Sep 2017 09:46:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AB4E288D9 for ; Tue, 19 Sep 2017 09:46:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F62B288D4; Tue, 19 Sep 2017 09:46:13 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EFADC288D9 for ; Tue, 19 Sep 2017 09:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DoEAedpzTQ6lW5sl401vj0SHw7KJFOfqBejKArzIqSY=; b=e1Kzrm3y7qrUY/ CKAEhGyNW/U1qgkcFJdldU3ABwT0FyXWdgjYd4YLz2cXnx231Heo29YD9iSKAUiefnooNT7DULu5w kjynq7J1wiIG8JDuUDTnz+d2YDxmDu+/NxHsDFrtT2td/GMQ/F1GeL65S7xmA30Ub/t5vlv34agxp PPh7e+bavMKbsCNS/dPCP/pFFIbDyoYHF9ceH0HKI5GNCwp/VclIx075qTRMB2pIF1Zr+v8hmlwzQ K0sJfHpPR1NFSAy9olFAkd/c7xvgIeXPfMO+Qo5FulW7CzOjcny0EOMpQqs0Zkb8+zR75G19+wdDc 3qK1rJ5n8Ag4MK4YaQNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duF69-0004W7-2J; Tue, 19 Sep 2017 09:45:45 +0000 Received: from mail-cys01nam02on0606.outbound.protection.outlook.com ([2a01:111:f400:fe45::606] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duF5G-0002dj-Ij for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2017 09:44:55 +0000 Received: from BN6PR03CA0013.namprd03.prod.outlook.com (10.168.230.151) by DM5SPR00MB235.namprd03.prod.outlook.com (10.173.215.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Tue, 19 Sep 2017 09:44:28 +0000 Received: from BN1BFFO11FD012.protection.gbl (2a01:111:f400:7c10::1:130) by BN6PR03CA0013.outlook.office365.com (2603:10b6:404:23::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.9 via Frontend Transport; Tue, 19 Sep 2017 09:44:28 +0000 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 BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.35.14 via Frontend Transport; Tue, 19 Sep 2017 09:44:28 +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 v8J9iINO014190; Tue, 19 Sep 2017 02:44:23 -0700 From: Zhiqiang Hou To: , , , , , , , , , , , , Subject: [PATCH 1/5] irqchip/ls-scfg-msi: add LS1012a MSI support Date: Tue, 19 Sep 2017 17:26:54 +0800 Message-ID: <20170919092658.22482-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170919092658.22482-1-Zhiqiang.Hou@nxp.com> References: <20170919092658.22482-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131502878686006985; (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)(346002)(376002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(68736007)(4326008)(575784001)(230783001)(356003)(86362001)(305945005)(104016004)(7416002)(81156014)(50226002)(50986999)(72206003)(5660300001)(8936002)(81166006)(8676002)(50466002)(8656003)(1076002)(106466001)(498600001)(105606002)(48376002)(36756003)(53936002)(76176999)(77096006)(189998001)(16586007)(2906002)(47776003)(110136005)(97736004)(6636002)(6666003)(5003940100001)(316002)(2201001)(2950100002)(921003)(1121003)(83996005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5SPR00MB235; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD012; 1:/mHgG7w2nQTcmxKkZNMzzhfsYXJ9bQYDOAW9jK7sh1us4ARGfCjTV6nwSWyJRgYJoFaYzpOPKnxHbcu5IRG+5dvR7xKPFuouCd4AWjLo/Dc+D7n2CcQsMXObmJtIRcKT MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cdc543e8-5628-4c3a-ed68-08d4ff430579 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5SPR00MB235; X-Microsoft-Exchange-Diagnostics: 1; DM5SPR00MB235; 3:KvcQkDkIfC3xMhmQsbrvhCE7QeTfNLtwE2te+kCrXBwgoE3jI5TVh3WJn8Rwh1nJ2CY8Z74V3DQxaw2HsWvSObXPJDdA65cCh3+mVBKlUCjWGxriSKa4S5w76iX2xV9WJ/da60GdaXChMISDyAE4+EMaEo2DVchx6b5uYfGLGudxfLptO6QYhDaSPTQkpqMe4AP5CYSRcNmPycu35nF/0lEwTyvECqE/09vIg/0KCi+eJKSSHdgY4Ioe2/qbSG2614PSka9sOlw8hRUlkkeG0QgoYCn8bRc7KLXsyfMI4KgBQCgpEKGUA82U5PTvP2lOyPgeEBidJejRR6iC+IddpkRzpz4+xBpWpox+v1lSJts=; 25:VgWh9JvSWbeVN6ofS5E9TGbecdb94C+vobFBPQgiL/3vTzLmGiRHEUl/rLYL7oUVFY/lUKw3cV0zw4doNjnT1oJWmZvduY3tRa/A2h4Ah0xk0AxmcDPalJEoRapX3OIwTusWgWtJiq6XLMW7HFyBF5mcRmzd3aGuriUf19rmpp8XkAyBV6sXXzdUorMkJdU6A2dNZT/rHeh1LTRI0LvdFD0EqBSsABkFHkqr+/gOhf+8UkPodppGZKfE+bVPNaNcJDH59jq0U+OJ3SoyCcRryFutjMu6a+KpD9NK80a8x12XmcNxGTQyIMuHdgPYCqDQD+p0aHHIYpByeFCKXgcdLw== X-MS-TrafficTypeDiagnostic: DM5SPR00MB235: X-Microsoft-Exchange-Diagnostics: 1; DM5SPR00MB235; 31:j2vbmaNHjEann0EyihXF7xC+MgkxK64HJDtmEKg/F0Q5OS89xrfAxtjJ3Vn0AAGhv95J7kCCDoMWO1DpSudDJs/6Xr0DIe9sckya8blPTrLXtTEV0Zn1g9KmhnnspG8kctBvXvxnkuTPUr3h6kBFMKj4brTvovZy2n3J+4zRW9f6E4pU4jF4Lfsw14mGPLAp9kEif9bga+uNdGQETSn0czQDPzTtQA1oYYqF//ptzGY=; 4:mgnBVYV8JAbsL8Hc/5fnArCzjw4717J4FnWqXwvEf3qBE7SfPGklSOWNp1pGxkuQE+9ifQbJ6HqhxSNcjRX8IN/vJelG3kHyzP/VTEu5IIm/7GH+HXI9Cf6sQHYQ6pRooM8UwY+HtAZfTLB3xgEKYnNf4Eo9b5GJz4fGhve441VYLOjUUPxptJ6HFOGSDbsSS+rXDASOfRt0JFiJmZEG+dqriI7AVmyJt4rQDJszjIAN9HrfnVIUSFBGRPqPcVkKcl+mZldqYaBdWaF0VeSiQkF7hltUtXo4z5ED0r0Yz9E= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6096035)(20161123565025)(20161123559100)(20161123563025)(20161123561025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5SPR00MB235; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5SPR00MB235; X-Forefront-PRVS: 04359FAD81 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5SPR00MB235; 23:G9tTUDJmbxkD4HW6CPWmcIMcDOJBBnEzuJCqL7sVb?= =?us-ascii?Q?wJ3wcMzwnQbG0uI3/XcsaQkQACZl2mORZhaoEEA9F0FZnrlf/r6LxqQp450H?= =?us-ascii?Q?QeXUi/rjV1ASv6KtXq+xVti4RIGmLMTReirqsB6gH2l+SDTxqZml29uPYmPf?= =?us-ascii?Q?ejjKxz6ue2i84CueL8VF4z6Fi8zGgS+W9HvDF6z3sEAikVI5GJm/g2+s6mV5?= =?us-ascii?Q?H3rZ7PLZ6YL07eIcmy+Wi6+9ArnUdJaR5u3Y0EJVFki+wn+2iTCFUll5Dmxw?= =?us-ascii?Q?LV1VZOYDDvEKdNhY4noACulEF6EcERf7cFiayMoGCPEcwqwUGZ9Zc5lfNcXE?= =?us-ascii?Q?WcxerqipxTXpDbi+WlSz7nbhRUGgEfVJm8seF2QWx8rdHM8zemjJ/55TBDy6?= =?us-ascii?Q?kdewYf+eNhy6UkzV1zQ19SySCBQB52KjXpom8rk5TCc0fJ5ux+B6Xorn7gUa?= =?us-ascii?Q?SekCq7TzjA2yt+kqUaHIHrOQ7Gew1o8yhuJKasljQeGx2fZAY7dyH6lR1h7Q?= =?us-ascii?Q?uzXo9hbgFCuT70AzeU9GfBQu2RVMRLXnWYdbppSkSE+6z4T+FDxlawaKDjug?= =?us-ascii?Q?Ax11WlNHAERz4D2/P9el1wi1f65dHl0NNQkHLkReGtchJMG/snuocJFHT8E/?= =?us-ascii?Q?o4XiizxTADVD5gcERu29TDGrkFcflsrxcz0phqElPoRgBiskOhDkGPhh88y9?= =?us-ascii?Q?hFs34CZHPqB13/71SQIM7RrZ80mPV+81dxwJdYbUvbO+besf8KMyE4aniNFe?= =?us-ascii?Q?JvTcDxwMU6x0L4hEsr+oIPJQy1WxFQguYIjQK8cjal/tqK8ah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dUs6O2CH17aZo7eX4ZlIWuqlhllIWiBFo/o2oCYcP0aAdxpKXJWCrte4Xks2KrmvWpvxCK60r+zwnbQNJ0Djg==; 24:gojajNvYfx+tIqUTaD/MW8zGqQKhpI8W8YXfK+dZpJqMD1t5qq0BxY3Wya81GLPEGUP978zUQtMHdAPN5oTKotfBFNqRhyAmJQLuDR03di4=; 7:biAXPTeaemWBwLOLzCTD8IAYoukkRu7h0DVbiOlwlgdVjY79MiLoZST5Os643lnpJjdfTBh8hQSr4Gakozx5uNu7ojTsnXjGH8dGUN+kVfbhGDw/pQa+Ky1xbUKynz+pzQKB2e+n55PMMLA6kut/cxjxNFi6Y8X5CX6B+JN24LRfXErW7GiJRD+aoLXq0YBL9luHUFE1kEKWXDAW8xbviJyoYjUHzHKVzrgj2M/mQLE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2017 09:44:28.3354 (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: DM5SPR00MB235 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170919_024451_121711_F47A439D X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hou Zhiqiang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang The ls1012a implement only 1 msi controller, and it is the same as ls1043a. Signed-off-by: Hou Zhiqiang Acked-by: Rob Herring --- .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt | 1 + drivers/irqchip/irq-ls-scfg-msi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt index 49ccabbfa6f3..a4ff93d6b7f3 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt @@ -8,6 +8,7 @@ Required properties: "fsl,ls1043a-msi" "fsl,ls1046a-msi" "fsl,ls1043a-v1.1-msi" + "fsl,ls1012a-msi" - msi-controller: indicates that this is a PCIe MSI controller node - reg: physical base address of the controller and length of memory mapped. - interrupts: an interrupt to the parent interrupt controller. diff --git a/drivers/irqchip/irq-ls-scfg-msi.c b/drivers/irqchip/irq-ls-scfg-msi.c index 119f4ef0d421..57e3d900f19e 100644 --- a/drivers/irqchip/irq-ls-scfg-msi.c +++ b/drivers/irqchip/irq-ls-scfg-msi.c @@ -316,6 +316,7 @@ static const struct of_device_id ls_scfg_msi_id[] = { { .compatible = "fsl,1s1021a-msi", .data = &ls1021_msi_cfg}, { .compatible = "fsl,1s1043a-msi", .data = &ls1021_msi_cfg}, + { .compatible = "fsl,ls1012a-msi", .data = &ls1021_msi_cfg }, { .compatible = "fsl,ls1021a-msi", .data = &ls1021_msi_cfg }, { .compatible = "fsl,ls1043a-msi", .data = &ls1021_msi_cfg }, { .compatible = "fsl,ls1043a-v1.1-msi", .data = &ls1043_v1_1_msi_cfg },