Message ID | 11c9de513fbbc39a07d9e9892e7172dacf49a8f9.1534264292.git.leonard.crestez@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE9D81515 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 14 Aug 2018 16:51:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF4F32A4B1 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 14 Aug 2018 16:51:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A36982A4B4; Tue, 14 Aug 2018 16:51:55 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E7632A4B3 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 14 Aug 2018 16:51:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732972AbeHNTjG (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Tue, 14 Aug 2018 15:39:06 -0400 Received: from mail-eopbgr60043.outbound.protection.outlook.com ([40.107.6.43]:35184 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731707AbeHNTjG (ORCPT <rfc822;linux-pci@vger.kernel.org>); Tue, 14 Aug 2018 15:39:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PoayyEj9MrYdu4FfAXmXeW97Ff6v2RNRgSCyX2EN1uw=; b=YLG0Hxsgt7IBTVfVTlOldit3loIS3Zfv/3gIFbOllfSNanYt5feTldbGdcJIp/un9KObPtRe/eE3S49K+4FQIHvb1yR5QR0kNxZThwXVxG1oyh+CpzDu/YI8c22SfU7n/NTRk6LTrvcMLHGlAjVh2V+16Q90uXpHCDSLj8ZnA0A= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; Received: from localhost.localdomain (95.76.156.53) by AM6PR04MB4293.eurprd04.prod.outlook.com (2603:10a6:209:4f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.22; Tue, 14 Aug 2018 16:50:59 +0000 From: Leonard Crestez <leonard.crestez@nxp.com> To: Shawn Guo <shawnguo@kernel.org>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Philipp Zabel <p.zabel@pengutronix.de>, Lucas Stach <l.stach@pengutronix.de> Cc: Andrey Smirnov <andrew.smirnov@gmail.com>, Richard Zhu <hongxing.zhu@nxp.com>, Anson Huang <Anson.Huang@nxp.com>, Bjorn Helgaas <bhelgaas@google.com>, Jingoo Han <jingoohan1@gmail.com>, Joao Pinto <Joao.Pinto@synopsys.com>, linux-pci@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com> Subject: [PATCH v4 1/6] Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping" Date: Tue, 14 Aug 2018 19:50:15 +0300 Message-Id: <11c9de513fbbc39a07d9e9892e7172dacf49a8f9.1534264292.git.leonard.crestez@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <cover.1534264292.git.leonard.crestez@nxp.com> References: <cover.1534264292.git.leonard.crestez@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: VI1PR0102CA0077.eurprd01.prod.exchangelabs.com (2603:10a6:803:15::18) To AM6PR04MB4293.eurprd04.prod.outlook.com (2603:10a6:209:4f::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5029996a-f78f-4d9c-2ec2-08d602061d37 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB4293; X-Microsoft-Exchange-Diagnostics: 1;AM6PR04MB4293;3:hhquarKJKNAUrD7apJj2DyxWI5CDfI2cvMbLYnNFWzUq2c3Wu5DmvOGSkN+2SSZAbXe6+tGZKtoADkLMCD9yblrLezhpZsaeiqKgbRieFNzX6Uoc0ATAfGq7aWEni45hH4PUDHl8K/ciPf77ukx+OAImBrEkxIr8rfnh6v3VFvduO78eQLqmP+PNXWEIjmGi5TtGZc4ITpap57PEkWA6MbCVvHuKUTM6ZShAcpVmOpC/RnclcKcpJXTOkv7UwzUQ;25:NCsun0SQenJkNH9B4QrufLzjiSlvY5XRmQjCH9C2qX2MkJOq62PimjCTv4d5Mht66hpel4FWGyyMJCYrCpXgqjpI3/c2tgTDxG3RYwgETDr9kFZg4II48BYKpfxKqnKAIMWeZxMbwGIectw3y6x20YTEAtOf+SdyhnWgeZ+7pXmfhs+XZ3mZ7j6LtkFq8efcKk/lWmKYnhU+dBdUmP4f2tDVHLhoPE9iYYL+ivlUSmUDm6KbkqtZwsu72v+U55F4eQEJc60xJiFX49FD1x5TPS/mmdhceSrYIkwkRoBSp0x0ViGpaX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G/Lsj8+/g0jsy+FP9IWmkF/Y5mj99h9R80bx6q4E/Gqj4Q7xibqsAw2bUainvCl1tTWqE0VmyQgqWeoDfVk8zEpEsAh8podqydhPkuWkz8z0 X-Microsoft-Antispam-PRVS: <AM6PR04MB4293740A39D31BF2EAABC4FCEE380@AM6PR04MB4293.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231311)(944501410)(52105095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:AM6PR04MB4293;BCL:0;PCL:0;RULEID:;SRVR:AM6PR04MB4293; X-Forefront-PRVS: 0764C4A8CD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(396003)(366004)(136003)(376002)(39860400002)(346002)(189003)(199004)(118296001)(16586007)(6116002)(3846002)(50226002)(478600001)(36756003)(16526019)(316002)(386003)(26005)(186003)(97736004)(6506007)(86362001)(2906002)(68736007)(76176011)(575784001)(54906003)(8676002)(81166006)(81156014)(8936002)(110136005)(66066001)(25786009)(50466002)(48376002)(446003)(11346002)(105586002)(106356001)(47776003)(486006)(44832011)(476003)(2616005)(6486002)(53936002)(51416003)(52116002)(7736002)(956004)(5660300001)(6666003)(4326008)(7416002)(305945005)(39060400002)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4293;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;AM6PR04MB4293;23:4C1qIcpvQczTcYfSuxte3L1tE89YzjJwbvWUkniYb4i3jyL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AgA==;5:9XxmAXsftzp9NdOmeodjyi9/lxqIAD2wR1LhsvWwYAXu92FpF6N6RcINmFBBIIRpaeoJ+FCdbEslPArWvAJS+UxTtM8dxECwi453ZhKYWkl7P/RheeZMgLFusDeMawcu0DYG7p2/JlRtC+EFWMqYTKtmkdc8CatK79vMaX8LPZk=;7:Qr6BeX87P91y587Rk9+/g0UngGmV2AheWpGD6L4XBCW+7l9b/ip0197LoNkACcTgfp7pXO/xsBg8d9mlCwJRrU+TNIoTtORGtrR3g3Md1LKpBQ4AqEjl+CPd7WTZ+wB8kx8a2WtLcFmltu1JVPBP9ldmFABKt0peTlEoJh+aqifBDheGftRGVf0nRM6DOzcEfDQAztH3+MrKfEIy91VXhl++4VVIGIYtWI4IWjeTlEzJdAybwAjrXuGt+jjxWI7D SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2018 16:50:59.1571 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5029996a-f78f-4d9c-2ec2-08d602061d37 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4293 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
PCI: imx: Initial imx7d suspend/resume support
|
expand
|
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 7cbc2ffa4b3a..7234e8330a57 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -124,14 +124,18 @@ num-lanes = <1>; interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "msi"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; - interrupt-map = <0 0 0 1 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 2 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 3 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, - <0 0 0 4 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; + /* + * Reference manual lists pci irqs incorrectly + * Real hardware ordering is same as imx6: D+MSI, C, B, A + */ + interrupt-map = <0 0 0 1 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX7D_PCIE_CTRL_ROOT_CLK>, <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>, <&clks IMX7D_PCIE_PHY_ROOT_CLK>; clock-names = "pcie", "pcie_bus", "pcie_phy"; assigned-clocks = <&clks IMX7D_PCIE_CTRL_ROOT_SRC>,