From patchwork Fri Feb 26 07:48:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "M.h. Lian" X-Patchwork-Id: 8432531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 56D80C0553 for ; Fri, 26 Feb 2016 07:49:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8544B20392 for ; Fri, 26 Feb 2016 07:49:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 530EC2039E for ; Fri, 26 Feb 2016 07:49:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZD7k-0005xT-Vi; Fri, 26 Feb 2016 07:47:40 +0000 Received: from mail-bn1on0092.outbound.protection.outlook.com ([157.56.110.92] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZD7g-0005oj-B8 for linux-arm-kernel@lists.infradead.org; Fri, 26 Feb 2016 07:47:37 +0000 Received: from BN3PR0301CA0029.namprd03.prod.outlook.com (10.160.180.167) by BN3PR03MB1493.namprd03.prod.outlook.com (10.163.35.144) with Microsoft SMTP Server (TLS) id 15.1.415.20; Fri, 26 Feb 2016 07:47:14 +0000 Received: from BN1BFFO11FD003.protection.gbl (2a01:111:f400:7c10::1:158) by BN3PR0301CA0029.outlook.office365.com (2a01:111:e400:4000::39) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Fri, 26 Feb 2016 07:47:14 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD003.mail.protection.outlook.com (10.58.144.66) with Microsoft SMTP Server (TLS) id 15.1.422.5 via Frontend Transport; Fri, 26 Feb 2016 07:47:14 +0000 Received: from lmh.ap.freescale.net (lmh.ap.freescale.net [10.193.20.68]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u1Q7l8bW031042; Fri, 26 Feb 2016 00:47:09 -0700 From: Minghuan Lian To: , Subject: [PATCH 1/2 v4] dt/bindings: Add bindings for Layerscape SCFG MSI Date: Fri, 26 Feb 2016 15:48:37 +0800 Message-ID: <1456472918-16163-1-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131009464343133512; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD003; 1:1BGkqaAT9cpZfLYV12Ua8TuDc+qNeaqk9SuQaHHZ5joWa2W9DNj9bsVy5CridVCps2pr6MuwIdC1WOPrbLDrQBkZCaY6fbwBscbnTtVcUYOJQWZdq3WvIVgZuAahPGRK01TOqmDbI4MHTbMU4ZHzJcg/Z/7ml52MMzZzWjmvvKSpIO3AGcIMynbv8TTKKJ4XhPv+0Jtf9D/9obulviRT6GGNwR92XcFIgV6ZQ/HmlURd1s5KNK9RsSttt/GGZ/Iwycmm2f6MCgUsTdfM3FgTvRpF+2V2ntEqfepT9qXww3uqfUX80Jc/BMJMkXyT3K5Qmx2uXSK4xGIrCzE6kyCEltSipoFIzowc3SZq6iXHvYVOHfAH6I5VuShUq9nfusqhA2sqRx0zPnxSgI7rhSeGJEMNB6vj1GwqkNYtWpbwIxhgTh6GfWi0tJJTBgx0Fk3PYbJ7NLWPXsx7yg+T6WF5hPZPX+UAsJnvPFWseevzB8ZMo8k1EG19OibdLyUAndgM5B05gq6VGIxRZsqF690b9p4QtDCrMLtKQQFWANoRXlKVawIhXMCwv26XcGAlndLNA7iOMZXaHgfHfBOB/16ywJZNxDrpaV0QQLGZOWbTDgU= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(54534003)(199003)(189002)(229853001)(4326007)(47776003)(36756003)(106466001)(2906002)(586003)(85426001)(77096005)(189998001)(6806005)(1220700001)(50986999)(1096002)(87936001)(19580395003)(19580405001)(5001960100002)(86362001)(5001770100001)(48376002)(5003940100001)(92566002)(104016004)(11100500001)(5008740100001)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1493; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: ff28e529-80fe-4034-1668-08d33e810ace X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1493; 2:n1KD7wAJ7eoTeG6CGC4Ip5DrPChOo8w6CMksLAFOej+rWdZNmcdFNbpvrj/X2GWVCITuX2EZDa67cOOmkMiLliTNuoS1wuBGu5Ego0LxKGNQzccAnG21DTyVtR72MidXrdBLTozIzW8/NqtvyKua3nXOnKpDzFRB9UaNwereFTI1JKzeADwgW4tbvBJnHvVK; 3:l0GjPEjjrMYFcBRw/3VDcsTFatyi3uVMth5XoIJCswPeJuyVj8iHnGp0qVqjeWtxXtTPHRg/Iu/O1rGkF7BKJG8jgIfDHuQmZV0T0O6HP9xnhCQtj6S7sDBoJ+dEUuXthfPlhBorWA9vc7ZX0tc1u7hB36qkLwbhGHeOaqt885TiauSsfLmsJ11ege+xgmRCc5DRlSav9HXHPWu06PEr50PI0mRRnjp/97y37COcrSw=; 25:nm9qRFf0g9z4XWFvtVCDSMxBN1n+gvNRYeZPO2OUHjagh3XsB71DwO4k62UVUvxGCnLIb4IynMZsBwRroDzqVUWRL7QHSSwGtT7sTEPLL0v7MDhJyJ+q2/qtwyIPWaLHoP9T0QPRGRa8/he30nXr0jM5zfOuNUUVm7zt0w+b2Pt/qjxq5SRThgHM1NWqxiI/2zKpnxXMk3kGZl28jHd0vLjoczap4yuGh52gZjl4Qlt60o2ebQ4+tkzmBFxGEEL/YRI1Y2aRSovwYK55englG/UTeq33r0UviEI9UNboS7N6tuS/5U9SbJCfHZqYioS5Rm3rXN8C7buL6PmYdGx1oQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1493; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13018025)(13023025)(13024025)(13015025)(13017025)(8121501046)(10201501046)(3002001); SRVR:BN3PR03MB1493; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR03MB1493; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1493; 4:J6oePR2D/H3Toz+WV8YzeeF64qFqX/s9IkUQMCuEjHd+SGR7eCObWNMQklLC0CZf5YJAwMo76+YI9gKpst1K32JYoqljF/4vg9R6JIKtyNpp99wPbHFyWpLjovze6i3Op42pVxHxt6nJwA7xUQQCoAk3mYCXCTImZiYR93ytdILzWD2l8p6s1w4fUjaMiNt537UK/hzKkAeD9UCRhBhQD4XlKbP6/MuDPdm50ZVuTnad92JJvfNxNZZPElS1H5sWA6GRLB0Z3v7uBDuhMAsNuSHOjg0tZUNOqYc+wMe53eIW2gw4OCWWqsEcM3yiDJfhDRtVDDntGz5M4ky4xVmSvnAcHYlftxnugSxg7coLshr1TIy21aE1ErUssaPJTi6L4cCoLQuVPn+oTR0ELX59c5RapKnb1A5Yy92pbOqY+iD5oRXWHhnLblxRP0oVC5j3NqXoqSHjLfDL4gzaK7E96AGji8FTh2AgBnWawyXIOgI4z+WJaWYfBwqWZ5495Sj6 X-Forefront-PRVS: 0864A36BBF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB1493; 23:jT2li4TBN2nk8loJb5x7FIs3p1ib1iGBOnV5X00lV?= =?us-ascii?Q?t0UsM1nCvvEYdOceJlUrIjscQ1TlnJyDFznj/ThSI5ymk0Rrr7SaYSK7xaLr?= =?us-ascii?Q?PT2HLzrWpqZgrrSE1ytqm/dO5AsZUBEAB4iVmhIhn83mHFWbpWlQDxunXQEb?= =?us-ascii?Q?FVevsLE5i/rLhYotaAszUR/f+4ys8NmyuPK/cAdij9uJ6ney2mGZLE2l9slK?= =?us-ascii?Q?Xl+Wp04OyiWpLUWmEmioKNtV8EWM4L8GUZfOuIFc3JnBib6aJrbG9szI1pBZ?= =?us-ascii?Q?9gFfNb2Kl+UaZNfQ01TZjnSA+/fwkMuF704KPasyyv96fvazGas88jkp8o36?= =?us-ascii?Q?pjs6eIRKn/Omz+RAMzPuvQS3diU9GFnBZCgiRG5/Y7eeG2+Dnm5kcJID9chR?= =?us-ascii?Q?9IhuLC0o+a/G4KzIpNDLG5MByo6mg98st9Fl9bhy5/yYcmD2IAQZgb6zGlNF?= =?us-ascii?Q?nDvX5qqfYDp73pgKyVFU1Vv8PNtDfstG+TGBAJGq7WOCUY3p+7IgfzYxDCwy?= =?us-ascii?Q?3E5qov1ug3S8Y3Yj1I2jWmh2obznXhic6NcxZTO4OnvD4m3QW11W13VVUPYl?= =?us-ascii?Q?5bVFKk05hxiH4dt2JkU23rauEiCK1cKCQdYcQ+qDk2GONmy7/s20FOlaiwee?= =?us-ascii?Q?rAMUE3vrtQQbnQpV7L7EoDlY0RYwCmEH7xTv1HWLo2o2SBlC7cgJ+SmznGpQ?= =?us-ascii?Q?XbFgC2/ii1qurY5Yf8ERFZnB3gIUcTfIM60FBOs9kYvqeBZviIUMlXqjhb+G?= =?us-ascii?Q?6xsuQn0zNSwQNBsl2KT2MRglxGbSPy5391UnxygHEHqpHLD4z9MsVTBDwb5Z?= =?us-ascii?Q?3kwUbGPjEPOxprRU3rsL5W+n046XDWVPo1Rerq97/ToTb5aidZHabjD+bxBD?= =?us-ascii?Q?zhZKmJmfctQ2Xna4AwIsUW7KKbBakXKc63JitwjAZ5jVNo9e/YFP1lCvlrdZ?= =?us-ascii?Q?IUbFs9rQqL6JIGBR1ZbRLy3oAtweVvlzIB3yypwcA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1493; 5:p+VK+6EcToz/G2J2qnZCwt0pWf6/oAO8Wh9//NlSahL/vh/AmVJqWTcG18p2KQm5OjY7j7h4V8TTascsUlpmd4oT2HMqOv4sg/5FGYIyWNMuAzHgNJTknAgbQS0Zni3vkq3cc/4n/FhWZaX9UAyOFn68LChveMNOJQ2IXR9YOEY=; 24:j9tFpWbZ/9DU8bpLuGy4LYWIBaD2CNUzihdHyKkE/qhtbSOg3die8QA4+3AuXv1aqZby5G3resitipv1hJKno7fIxIgR3oal0Cyy8Js0WCw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2016 07:47:14.0169 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1493 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160225_234736_538611_63E34D61 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roy Zang , Jason Cooper , Marc Zyngier , Stuart Yoder , Yang-Leo Li , Minghuan Lian , Thomas Gleixner , Mingkai Hu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some Layerscape SoCs use a simple MSI controller implementation. It contains only two SCFG register to trigger and describe a group 32 MSI interrupts. The patch adds bindings to describe the controller. Signed-off-by: Minghuan Lian --- change log: v4: add interrupt-parent description v3-v1: no change .../interrupt-controller/fsl,ls-scfg-msi.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt new file mode 100644 index 0000000..9e38949 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt @@ -0,0 +1,30 @@ +* Freescale Layerscape SCFG PCIe MSI controller + +Required properties: + +- compatible: should be "fsl,-msi" to identify + Layerscape PCIe MSI controller block such as: + "fsl,1s1021a-msi" + "fsl,1s1043a-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. + +Optional properties: +- interrupt-parent: the phandle to the parent interrupt controller. + +This interrupt controller hardware is a second level interrupt controller that +is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based +platforms. If interrupt-parent is not provided, the default parent interrupt +controller will be used. +Each PCIe node needs to have property msi-parent that points to +MSI controller node + +Examples: + + msi1: msi-controller@1571000 { + compatible = "fsl,1s1043a-msi"; + reg = <0x0 0x1571000 0x0 0x8>, + msi-controller; + interrupts = <0 116 0x4>; + };