Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751040AbdISJof (ORCPT ); Tue, 19 Sep 2017 05:44:35 -0400 Received: from mail-cys01nam02on0083.outbound.protection.outlook.com ([104.47.37.83]:24300 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750972AbdISJoa (ORCPT ); Tue, 19 Sep 2017 05:44:30 -0400 From: Zhiqiang Hou To: , , , , , , , , , , , , CC: Hou Zhiqiang 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 Content-Type: text/plain 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/tqK8ahqiOhlXBlOU+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eX4ZlIWuqlhllIWiBFo/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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1803 Lines: 37 From: Hou Zhiqiang The ls1012a implement only 1 msi controller, and it is the same as ls1043a. Signed-off-by: Hou Zhiqiang --- .../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 }, -- 2.14.1