Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754652AbcCWLWS (ORCPT ); Wed, 23 Mar 2016 07:22:18 -0400 Received: from mail-bn1on0057.outbound.protection.outlook.com ([157.56.110.57]:5987 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751067AbcCWLWE (ORCPT ); Wed, 23 Mar 2016 07:22:04 -0400 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=none action=none header.from=nxp.com; From: Minghuan Lian To: , , CC: Marc Zyngier , Thomas Gleixner , Jason Cooper , Roy Zang , Mingkai Hu , Stuart Yoder , Yang-Leo Li , Scott Wood , Rob Herring , Minghuan Lian Subject: [PATCH 1/2 v6] dt/bindings: Add bindings for Layerscape SCFG MSI Date: Wed, 23 Mar 2016 19:08:19 +0800 Message-ID: <1458731300-13648-1-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131032048199820279;(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)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(189998001)(5001770100001)(50226001)(229853001)(586003)(5003940100001)(4326007)(1220700001)(5008740100001)(2201001)(1096002)(105606002)(2906002)(87936001)(92566002)(47776003)(106466001)(36756003)(11100500001)(86362001)(19580405001)(85426001)(19580395003)(77096005)(104016004)(48376002)(6806005)(50986999)(50466002)(81166005)(7059030)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB371;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD024;1:bKQatIDAZ+pq4SdOpJT3q3/HyubC2Dy10mu6PNhhV9keTTnltRke09czofSmkZemcj69CwsQW9VB5aDZSSuoaa0saeuWZEVlYu/EQPfb++x6UrOqVqxU9OEcg9cI2DxfsLbhaGRO7FFWa143yW8UrtPgQEH8pKHtq1zBREk9TzOC6L7h3yNej3RlNlRor6RastDwkzAa0Wl1Xb4c559v8switgknJTHGSMbIkbeL79qh+Bj2SenYmQae9+wdtbzBTkU67FS295hbemZomPKBMuArsQ866AZbH3e30bqgYysuc4ej14zCBK2RL6a+GSnNsYVgcdqHKkKsB8PCLWGL4V/FcKWFQyzXta0oJVUK5wHpDJ4imwu6Zda4yVxm4fEW7/oxrU5i+0jGf90HrpPWOAoPTRlE9MYnhpcbwfmarAr4DgI4K5H+8JPI2Ion5EQF2cNp3vzh09TVTDTFRAWUABK8T9KbSXgZSb3UAaTT5NDtSPSJ+53ACabu8qEgdo4SwjHr3snEFB2MylUEqsS/baiKfNCDZPNeLPxzihvPNKm4/wI3ja6sQyv8yNBV9mKROI/hjBPwuYfeHinoHLZEB4irfInNatxW32lEzI2UbL1U7eOhHQVzAs4KrQs6DIabA+z7t9+sVxFqTZc4MfKRFA== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 1590c0bc-29f5-4de5-63f7-08d3530b419b X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB371;2:XbDAvfMz5aycsM5Oh7rTYONDiBEMTl2sdxQtojlI+DKSqxuf9pKBu7OOyi7sSVYdx13p7I5WCqI+O8G61iaewmW1JXgIcVVhrwHvV54RMl5AjwRbXDGANA+w97c7U0VcsszFlWpay2uQGSGa7xFUmHpfSZjeRiyNZp3QjS4DFMIZNEgAZVuFnlWLwEMDc6jr;3:51A4O2FIcWrgcE1F8g6sN1QFR6AqO62kaUkfFuYmTxekck7QKuxsKKLtjOCadfmJVGLuZ4u61BTGU2G9KOvdJ53VijzaTUowXb/cRcr/wloUFSZolsU+6U9rKhy9UIE/8KiGNDS/uDrEEux2s700wqIW249iMvgWKkZZRbChPPgGv0sEZKo0moIicUHjzHGb4+CIwdzjU1mLhZtmzvGdidddwSUhPT1ex+d9Uti3vuA=;25:/kg7VGtqJKPESjDHBdE17LeVRv5aoEeFBBxI/o9mg/vn31IDmsakmopLvFO0b6Y9s0bVOj+0A/uSsnnzRBAW8kAd3ma3NxhGzWb7OwmGt1DoP5juxyUYkf+V79IzCucD7wXcuvd7KECU7ypiKYXC6mjzBKmnCceRGsxMjqIFu7fPx5ilHaMBNrPosm4g9XKi82AH3mlxcGyVZo0BllSFib8d4UUKIoyydIFdPC4yYorNb/osJKnsUva0UyYtwFkM6Z1PWeeI9Xa8EeM9nh/XZLKkrqk2NORDTrzGTb5bJ2XCGckGJ5aVrY0Eav4zfxCaObPEBTcq9gV3s21K29UdJmllX6i82HiCt1ENqFvSah+rL/o+X+WztK7z/gXIEGTht2EJymxrQ1lPJhKwz83yPX3j6N1MCSzrrAsx4gUPpdRA59Rp7jKb5q+VAA69UcNTAWe/jlmSd3sZxiMd77OGr2WyESq/GFhhsWUjMKTNFF5+JgZ+/TUHIdQTXZD2fDtW X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB371; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(13015025)(13024025)(13017025)(5005006)(13023025)(8121501046)(13018025)(10201501046)(3002001);SRVR:BL2PR03MB371;BCL:0;PCL:0;RULEID:(400006);SRVR:BL2PR03MB371; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB371;4:ehSQVYWbpljMGYRYJtkWkVHnmwWWRUoo6s7lz96kDjiQv4tJcFkkNnWl5mWyduQC1l+Ohdhmu9cNmOKRMw447MVPS5/0gvVVjG3QwwQNT4xpUvn2wWIsvLzx6kr9S1T3HpXdhjWOezGJlgsvatOO09I/fPV4GBfW/iMr3mX9gYcffQmnBJST+O62nR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ms5z0sWN71jrrS4GdlLMDLlw0a5RXMS4ontk7am5wvt8G+/+M/0CprBpVckq?= =?us-ascii?Q?jd/tjAEftn/D3j1rtC25Hhskpg7G5rncdCr6lbJNSAapEvyBnpg2Q3vcyt2u?= =?us-ascii?Q?WQ5bRW3vy2QT+qJ4tgMy709aU90TEhYZ2U0PD+TZU+1IuQ3p0zpvZbljbe0U?= =?us-ascii?Q?HFqIGqL0JVnFUFjLXiuCEEEVhG6l8yvBdIHzFwPYJNbTcwq3g+tZxhao/2dG?= =?us-ascii?Q?aMkd3AgyR11pX5H3O9wQaPb17eGTdgl4E6cqwrJ9VgRe8l0KFtIgLqodxfu7?= =?us-ascii?Q?CMPjTTLivjDhlGJctKADVoJXKHs1k2vYfS6nc/oYVMSu7vI1YWGHlLiqw6uy?= =?us-ascii?Q?i5DdQxZMtAqgd4L3ETcKTS0syoqqsbSAPWQ1cHgkR4d37drrP0/CjSHDxWs6?= =?us-ascii?Q?a1qhHeROyw/E80t4hMQ2xtaZHwBiaXWO3K1Z2o07znLg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB371;5:2JA5LgGc0M+YeLEu2t5oyg0IMOEVp4TvPLw08V9jmvI6JmbOEO+oeNMPS9Nv+zGtHinPrqTXNlysqgSmWU40p2vPabiUZMZYf74inDRAEV2h5FJZV3ZEK2+qopSLrXf4kwqWrabjda11HVzg2MhRWgBKBN5h2NlXW2g5R8Z3bf4=;24:maYcO9LzH9Djvgq6wmJu7MmTJglpF90M6CYs4EWwrXMkOmtpnImaqRmfDixWAgahW4BKwVqkhnxtrSpaS2rGxSGIKIl9/djfkDS1t9zET4A= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2016 11:06:55.1615 (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: BL2PR03MB371 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1957 Lines: 54 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: v6-v4: no change 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>; + }; -- 1.9.1