Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759069AbcJYNHD (ORCPT ); Tue, 25 Oct 2016 09:07:03 -0400 Received: from mail-bl2nam02on0040.outbound.protection.outlook.com ([104.47.38.40]:19360 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757921AbcJYNHA (ORCPT ); Tue, 25 Oct 2016 09:07:00 -0400 X-Greylist: delayed 1994 seconds by postgrey-1.27 at vger.kernel.org; Tue, 25 Oct 2016 09:06:59 EDT 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=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; From: Minghuan Lian To: , , CC: Shawn Guo , Marc Zyngier , Rob Herring , Mingkai Hu , Stuart Yoder , Yang-Leo Li , Scott Wood , Minghuan Lian Subject: [PATCH 2/6] arm: dts: ls1021a: update MSI node Date: Tue, 25 Oct 2016 20:35:41 +0800 Message-ID: <1477398945-22774-2-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477398945-22774-1-git-send-email-Minghuan.Lian@nxp.com> References: <1477398945-22774-1-git-send-email-Minghuan.Lian@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131218724227250752;(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)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(8936002)(68736007)(6666003)(356003)(2906002)(4326007)(50986999)(7846002)(305945005)(8666005)(5003940100001)(189998001)(105606002)(586003)(47776003)(76176999)(19580405001)(36756003)(19580395003)(5001770100001)(48376002)(229853001)(106466001)(11100500001)(626004)(87936001)(7416002)(92566002)(5660300001)(97736004)(85426001)(2950100002)(2201001)(86362001)(81156014)(50466002)(81166006)(104016004)(50226002)(77096005)(8676002)(7059030)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB2369;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD012;1:2idaIuOXegpkSGxzUenr/gruuYoZtvYJxNB5ytlUrSAiHfLtFgXh1DaN9UVshNQPiDOuSGLdWz1moJ3S1OeMI4v8pCLV/hLpVzhGIDbZsLdox8wEarjS8eKeh8hMc9kjrOraerXt9x2BXi5suRNp5KbB+Ncnca3wT4IP5IyD8SX27ZFgDmh9P5rf7FBZb9JEC7QMXrnZhE0KeX0bViOQjEwdksBBtRnshWli0VfnPjqt38mFcbin8B4sKUdCAzasYYDvTQoqzySbO0Sa7HA93BM1MOg/gYKfir7q0N+G7McK/Wu0C8kOTQZQkGAlLwHuYSqB/G7/+m5zQm58GCwM3mnR5d4aqa6wBvCPASQcdCQH6a2DWzZ92Q/+rWOBTtqm9VscGiPrAQ7WDTw8/ye+X+ZpHLAo9SMhtnGyJIrlVgXnqGQvwCoKXXa9Svrb06fiaReOMDVWHyWHSxRYWsBawDC0vuQHv/nfjbGM5nNFiDtCi7X2QFFn1wHh8hL1OzvQaxoarheYecSpd4+VSvaA4gswjZXxWtXuXvweplFnoGRa19zLXUYtjC+I4vu2FD4jJdwRrEOLd+n4qNfk23sEQCwVdQy0FWNfJ/QBn9jZ6x1lPHeN9i6M0eTkTwP3mtOKUnPYz8r4a3WDNt0/gQhhVtGxd/qtONZbs0anIItdjIkCDW7TjedwGIqYE/ThobAvRpv7WConGmLUVibApmxpKu1V4L150ptGM56WhLo68WlstdlrJ7f4mwf9RvwRxUUG MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 301a969e-02ac-416c-fa40-08d3fcd327e8 X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2369;2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p9nkEgca2dnEyolVZRgJ/1NSXSFFNW7Fk2b1Zf4ixlb7n5v8HrcuNvT3vTjy/8nVyIj6tL0viFPVvNbOcZRrQfbDkSpCzugHh9wBezJE3TcaAiKGHmARbO9VvM+bkTwwLZ2Ta/x1dpgGvAcxu8otjgBFXUSus6//Qe0sY4jSH4hgU4u1DcuYSSUM8M8MybMYruXc1b9M8snlNOBDiAezOmhOCIgQ7ObHsmn9rdzJ5U82NyiYNDvPPeA5yNigTOs5TUqbkSN5e1TyHEzbRDRAU9WQfJwom;4:1qMtBTe9Bj1s9aMnr+xJlhkjlJ1Zza3UuZt2IVNloBF3qhRUaPCA0OHezJJUaljl/U0P0O+mmVbfkOpyo1AnvjKFXwv/pYLmK/GrtrelKjwvM76OFt7OVOHsuQTF3bTCGOAyui7mrBo23Cp7w9GdHTHCrtY/GPaOu9bfI09vLO2GDwVoOsLJGHEVpMr+yXPAsMuv67xkvFCq4JunjH2zY6YasE8XdHvpmJLJl7ADOMXn24KcIluZeF0jGnhJoyG3QZHm4dmCCXTO7ae2SW48yiTuH+ccoWBuwbbqSDzKZuDilDtwgN5bA4ZFI/Iy1cj8oOPkwvojo2umod+KK2xVDue4mVwlRjVPdoR/tsWOOzX5rZCLM1wciePlCRpYNZawXFfmoW8bZwltkqtufiLGekz7zCmTXtGcaGX16i/UmY1q7v35uDiyspX6ZlMBxQYke7Jgk7MdMA3YxBSlrECwoPqa6ny/3DWr4rw4IvoBg/m5yQ8C47Pz7+5Gyhs2gVbs/o7nf7h0guk+ToWm89+FqcomPfEPAgIP6FXnyOrczrGHN7HU74Zmn/DLX2RjOgZi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13023025)(13018025)(13015025)(13024025)(13017025)(3002001)(10201501046)(6055026);SRVR:BN3PR03MB2369;BCL:0;PCL:0;RULEID:(400006);SRVR:BN3PR03MB2369; X-Forefront-PRVS: 01068D0A20 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR03MB2369;23:hEZ+1+OD3coXSbJWQOw9VDpajBmmt/pC3hTHcupti?= =?us-ascii?Q?VpYI8pgl29Oo0rKwBlVaPeI9E68QG17VJYKWwI6ey5PFia15kKSaRMz7hEjj?= =?us-ascii?Q?0eNGUnTOoS+ACt2+mgeE92JLH6z6bUSPBciG01ArnC/g8zD5GUf3TVWFwmYw?= =?us-ascii?Q?OYgIKFjIgKycBAV8FHB0hInDGwY9xF51ia9uDp1tkUpfbtP5/hmenlK1NaZH?= =?us-ascii?Q?JnZmT61bjxBNIQ4O0+yqt068aRkyMfmKAXgU1r8jeoYIjzRNy//6Zye2ROvV?= =?us-ascii?Q?XZRE+UjlGg21WctLynv3ktN3U6/hbVHClfLk5YJGoqxW/M24Df3yUjX8sJtz?= =?us-ascii?Q?5S1zEckEKjATQVe4uUnPjR6n4HLaoLmCRwBJMaOyKmCgqPNY7P/4PVYRT4zG?= =?us-ascii?Q?EgeF3G8Guf/HtGnSDjFRTd2JvKOcuNqIJMpOVCSLonLai/778ALmMawRt8fk?= =?us-ascii?Q?Qaj+N4ckh2cOtdVXxiAFJDYTlOVIXYNKYsZOpQ+34aWxJW4z4bAHmzrknNUW?= =?us-ascii?Q?/q/O1EccYl5nqHUyW92/Es0WWgY0rY378UllU0qgWqP4aQCGymGk0XRteFOn?= =?us-ascii?Q?oW+COGUc6GN9V+HGdF721Yr7B7kD5qFrC6Nb7kLMIvnPOHTW+S1gvlWe0Nqg?= =?us-ascii?Q?f6V/W5L22dKw6kneC2JxBAMSSJYA4/p5P+j0TUWr7Jkms4M2uPEtiIYQ31fv?= =?us-ascii?Q?5n1VCQ8CcS721RfYw8ZHgv1/fvY7hd2Fy74CxO7lnucozditTjRLchldD6G/?= =?us-ascii?Q?v+vR9LGAU/FzPz/G4WjJUEZGjN5PU+Ejt45STPIWJoCs+hmRY+0eV2emjcU/?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wReZgY/a;24:GCUhKtX0azasCak+nwGAkqinewZ5DJbtmTXVHXt3vRatkYXZMtpM/ZBXD+fiM57z85sV6S0jw5UPJA8mQb5SO+dsITCJO5Yx229Q8J82BwA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2369;7:3cCrafBZ1XaVVrAjc3dmLWPiUu04x9av+qI1mdUr7M7uLrA3mA1sfUtWxUhBNUKMhaLki/QZ4InCbCHPL1C6u2uOo6seuhMhk+SuLvlslpTEHpJpurdZQ5DEMenm6mrqMcLHoGLXHAtQ4bQvcLXNxZHLk1iORvWWBYgu0RXFiWc3AOwT06LDc5SbPGCQVvfRLi68mrsD5QhRug88KnO5CR7wy1qmfkS1XGYQDQhHZUqZDukfS2K72usXBCjliN67wLezeaAj1gTkjNnGOatibWvsqs+maJ5WrIS8BAfpc97Rma/3gSTbp7iygRSxVZIVJzG9YpKUEB6mFS4NdBBKRAG11Jn0yBXfv47fqrI8keg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2016 12:33:42.5378 (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: BN3PR03MB2369 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2167 Lines: 66 1. Change compatible to "fsl,ls-scfg-msi" 2. Move two MSI dts node into the parent node "msi-controller". So a PCIe device can request the MSI from the two MSI controllers. Signed-off-by: Minghuan Lian --- arch/arm/boot/dts/ls1021a.dtsi | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 368e219..7a3b510 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -119,18 +119,22 @@ }; - msi1: msi-controller@1570e00 { - compatible = "fsl,1s1021a-msi"; - reg = <0x0 0x1570e00 0x0 0x8>; + msi: msi-controller { + compatible = "fsl,ls-scfg-msi"; + #address-cells = <2>; + #size-cells = <2>; + ranges; msi-controller; - interrupts = ; - }; - msi2: msi-controller@1570e08 { - compatible = "fsl,1s1021a-msi"; - reg = <0x0 0x1570e08 0x0 0x8>; - msi-controller; - interrupts = ; + msi0@1570e00 { + reg = <0x0 0x1570e00 0x0 0x8>; + interrupts = ; + }; + + msi1@1570e08 { + reg = <0x0 0x1570e08 0x0 0x8>; + interrupts = ; + }; }; ifc: ifc@1530000 { @@ -643,7 +647,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ - msi-parent = <&msi1>; + msi-parent = <&msi>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, @@ -666,7 +670,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ - msi-parent = <&msi2>; + msi-parent = <&msi>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, -- 1.9.1