From patchwork Fri Dec 8 09:13:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13485103 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33ED2C4167B for ; Fri, 8 Dec 2023 09:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VA/G02V3Ik+edU6fxoFy9dNn+IDhKQ4TwFF2BfXuRoY=; b=giTsFNy7NPAoOk tz2meulDlnEuCLCMaha0Co7kCDpb2QyLKbFmx7ElIerIGeq7R63IgLUupYFcd8nrR9SoPzpnXt0YO s+bnPLQUUVe7Cnq9k/tmWzcEOVYrj71H9g8+zMUnPzp/h7pAsRJl9qnmnfJQzJCYtfKThdbz6V0Af BhF2IJObO/LYTgTv7nAPhIgEhyzFUvAGsw2GZuFoKiRaxV9X5RVu/aciQwoqyGDbwCAwTBLbVlIQV 635ClWJ7r/sAG3Pe8Wetw+B2NCtLZUuOrbU2LnD2NZepDeqBUqcrjTCe9ZX9BNTWP+BhQMcbKRRsW zzHgX8sAGgnIioMH8guA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBXAR-00F86A-0i; Fri, 08 Dec 2023 09:29:07 +0000 Received: from mail-db5eur01on061b.outbound.protection.outlook.com ([2a01:111:f400:fe02::61b] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBXAO-00F85e-0A for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2023 09:29:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dfQ3XCknOvbmhB5emox5i242wv3oCRO1FlBibqlFxA2VFwq3CF+jzDsVULeImms8Pau13KR4+OFz+XEsd3lSlNq/hohYVTTWjTKtNktt2nwreyOtnYPopylfxMLlBdVrjc6CsrisgGNiV5d862cAVH/L1kEUwN9afHkJM0CvUEqrZ8Uw3R7QyPLZ1e1m22lVQeGQpvkTdqXiiey6nXkUFJnkyrfzVetun74r8t7oDdsTOWh5pbpb4l0RWpLxZi6BAbJ0FSVVn8uEnXPmkW5Kp7jZvbyOjT3bq7/eyXz6PaLf+hm/zdvJVOjbnGPll9dG8IlUlk6H7k4hGQFflHwU/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3PQVaZlvZBjuhXe6cmiM9DNsp0BqsyeiNKzoHxw8N3A=; b=SuEKBxjtIfvFkboJ/HNQfUpj0+ALlYSnQhljlV1p460lNa7DNfDNVlDyB+FnX5+skmE+d4sVgkcs9OwStCsJFv22zpq6fbndNhwdTFR8u4VOU2juOGeIu0QRErLU3Wd5It0zLsi/vFjN82DjfRi6XBE/ofRs7/rb/80pY87/0NYmYNHi375mIIrHpqQ3mwwso6U2p+vJqV8SD2VViNqAun3fIqq0/1cCtRHVzI56b2hesAGSNxYMoshqclDjskGAmMuDbWG4jrn9OaIkqFI9rsyLiJnP11T1G/WUM6FCdDqOMIze7pKqTjNvFszE7n0DQgjvACdvjCs8aeIxFSb0fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3PQVaZlvZBjuhXe6cmiM9DNsp0BqsyeiNKzoHxw8N3A=; b=pQHpt5WNOn2fuK1Se9+9TlIMkA28p1t7lTn8PhekPUdYgxKR81xM+YvJrp549VnEdhxD97K8mlIMNCn7GiCCSerpbFLDIuRCC9yBBZNPI/9Z2KgKew5UaUwRYOCQZqu0yfoV110fQTSQ2tOUkEK94b0J7DYneO/OvWG+uAtQuYU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by AM8PR04MB7284.eurprd04.prod.outlook.com (2603:10a6:20b:1dc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Fri, 8 Dec 2023 09:14:20 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a%6]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 09:14:20 +0000 From: Sherry Sun To: hongxing.zhu@nxp.com, l.stach@pengutronix.de, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] PCI: imx6: Add pci host wakeup support on imx platforms. Date: Fri, 8 Dec 2023 17:13:52 +0800 Message-Id: <20231208091355.1417292-2-sherry.sun@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208091355.1417292-1-sherry.sun@nxp.com> References: <20231208091355.1417292-1-sherry.sun@nxp.com> X-ClientProxiedBy: SI2PR06CA0006.apcprd06.prod.outlook.com (2603:1096:4:186::19) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|AM8PR04MB7284:EE_ X-MS-Office365-Filtering-Correlation-Id: 32004baa-9b53-45a5-6a94-08dbf7ce0f95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +oa+0PiOWNUTHnyHZN3c/Kz/FovlTtwUSIH2RgqASC8Wy0hgbQwJbVhIF0P/qfM2WnyFY3NlfniQ95jYZEkq/qJ6P8XVysO7eNrRnxGH0xXhPs2mdvCj8bA4qW0lZBZMrDnrrAhROAfs2yIRKWiGzZhiI0ZjJjC4ii7vyayVdt8q/wB3HeE3M10RrB/8dvBMHoAFpSpFBz7EL7s2o7F2DI1rr3Itad2fQ7CHv0ldDUhidmZqfDgYMD1foBD/lzDKnW5Qb1DhDr2xPJdx0bPR+GBkPc2uMlfZL5PKGhy8bMtY7Cl5AKPCZWWmPfLjjlv3xVPHRPY1yOvnV+k+fZtm7YL8AjQ3ktAyhCnaFvWGExxw3xt/IXMIJkQkDtm8b6TdlYD/scoXAF/s3cTdatuZ73Q3p4J2ZwBUdEa6wkSPjAccqhWJECQN3FqGyxNNPJJGJi6kGwFS/P36LGasWWHkhwCUL83seMSKSpLGSw7IzaJ5Y2jm91pHR1eB4AUU86KO6qsjaMkAkZjQA160IngoqcRtKO/BblVfr4GB+c8vSIyU5g/y+j58TYLXt64yL1XH6W/V9V0jK7kcfvIjTucBKmrTBhpCikl1mt95Cwl7lAYfKO0V1MVHtlbbLRbaHo2Jl++/8lR3mrL9zHXpoFspJw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(346002)(376002)(396003)(136003)(366004)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(8936002)(1076003)(26005)(83380400001)(2616005)(52116002)(6506007)(6512007)(5660300002)(6666004)(4326008)(44832011)(41300700001)(2906002)(7416002)(6486002)(478600001)(316002)(66946007)(66476007)(66556008)(8676002)(86362001)(36756003)(38100700002)(38350700005)(921008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D7Jhw+M5bVqDb/Wmj8Ogayp65eJZie9P5uXqXGZI5OPPOH2AQ/DsLJUsLqF0fz6c4z0IxBX87ELlR2WiZkp1YITYp+9QDIUuFq2s88/YXnowBjVqAejglDhlTpgClhGL+4LdYQ0GPAtyF0D2Id+1D93K4TL1RhYEStgRWgneMSyXZKzMviClPbasPlkgTcbIbyKePil/p1PKxn5k6QkQlGfRcNxYbUCFLw/kjrvLOehdmhtoVf1tO1lZnh6qVtvBs70tcxEwLxpCB4XCMLHmw+BjYLeHW50eOyxsxN/6WlAHc9vXPsWxZ4HPIFQ5lL9Ieux3Zl2XCcdWdZ/eY5L/Trn2/TUGqJcex5NKWom+qZGuEQ0RGaA0GnDFjqOaGMXyjcklqagfiv6MHwLMGRc0vkKS+LzLtI2BsdLLcS82DcOC34GFoBB2+PPHyxwqIjIWW5womzHvvlNtqF7Err2ON4jvZ1ULSban6S121HL2wLKSBzlQZ/yU5S0yFqIxn+aRSBmVTB7pipJhFB6oIjdEETKYO8hPuroGSfPp9fadunAECMy/MamSZX3QdNA3Sg0Mdcjv1iHh7Yr4UZKfrgs/PZUC5Jn7ucdCFTYrbRyLvWIwk8wd14uz4cxLm1r8zXjyJJZdEGTxoDLBUE6tISYKEnScY4XY7qE/oPjcVZGExXltfxJ/IX6zdgDOBmErWnuTeWwecPSp2JXOZrCbrKMAJ7VD9W7htFEMP1H8ODh0MDAZQhwDalI6MO+dUkErV7cKOK2NrTSZ79Xm+cKcOW+S9c1euUkNcfnQgLnuUquzACSS0n8e2WeDN1oCdPeChCpi8VZ7Mhgrt1/Rj68qs3mCYOpqPB9ebqMfMQu2A58tlQfisHxYj5DWbcT70su2uljPPmCrojsMQTYUzpeVnnO+tkP97pT2ivYje8QuXA8pBk+2hqrsnJKExo4f26j26I2c5Zv+qMTS5VyXTkiAMnoi3UJw9q0p58SnhiU4sqdGE70PIJJkO6rpCSUScu/C332t7bKwJaG9DiwFHDTpt2fV89sAUr+SS6K2OXlsXFJFJ0aHBHbspc1jle0hchPs529MquW4xGPX9IIfpeUPzY/+j4ih6ZMVBoJyigDRAF5PjNmdv9XISHCc7q+TBj+L/4nTDL6R1zXlsqRfhCCky5QgAtDzG6wTICxkHLJeAv/3KiT3h9WOnCtlZLxa6bfwuT8tEk3m9tFpNUX/3SpYFXDAyGQDDXRdBN1xmxTaLlShP3NPH2ml23Gf5HaXWgXgmKzt2TnkeCGtY0GTWZPg3QN9tZolNy048OSCCrJk7Gbj8L/tUgUkMbmZf1japs4nu0V40Tw7xmLfnlr3Wx56uBz0wkQVN203wXZR95+toSEQtDcW4hINekNSf/qnbvXcqN3alI5ZtJf0xR3XeQapMWvtfKZQe66tR2zBGihLjZgBcNWQjmCoV6vIsw/V1vyK6dznYfyiVFvmwxsz7W/1JVaiLDJb0LSKWniu9mgDQ4ngnz3s87NmWQookchSvMPz8bf9FaInglVq4i/mu3rIuhklvMwgJr3zEVmhgOeRX/Lvdry+GyXdCyAKYxHPUq4a1TDg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32004baa-9b53-45a5-6a94-08dbf7ce0f95 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 09:14:20.1766 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +JZnlcWFAURhcvmOoM7KpZXAF/XzI9+3uEZMKpITwJWlXN9QWpgtaso6E/sE79bnLSbST02MEVQkiCgYzQgNGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7284 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231208_012904_093591_FD3FBEB0 X-CRM114-Status: GOOD ( 14.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add pci host wakeup feature for imx platforms. Example of configuring the corresponding dts property under the PCI node: host-wake-gpio = <&gpio5 21 GPIO_ACTIVE_LOW>; Signed-off-by: Sherry Sun Reviewed-by: Richard Zhu --- drivers/pci/controller/dwc/pci-imx6.c | 69 +++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 74703362aeec..050c9140f4a3 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -72,6 +72,7 @@ struct imx6_pcie_drvdata { struct imx6_pcie { struct dw_pcie *pci; int reset_gpio; + int host_wake_irq; bool gpio_active_high; bool link_is_up; struct clk *pcie_bus; @@ -1237,11 +1238,46 @@ static int imx6_pcie_resume_noirq(struct device *dev) return 0; } +static int imx6_pcie_suspend(struct device *dev) +{ + struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); + + if (imx6_pcie->host_wake_irq >= 0) + enable_irq_wake(imx6_pcie->host_wake_irq); + + return 0; +} + +static int imx6_pcie_resume(struct device *dev) +{ + struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); + + if (imx6_pcie->host_wake_irq >= 0) + disable_irq_wake(imx6_pcie->host_wake_irq); + + return 0; +} + static const struct dev_pm_ops imx6_pcie_pm_ops = { NOIRQ_SYSTEM_SLEEP_PM_OPS(imx6_pcie_suspend_noirq, imx6_pcie_resume_noirq) + SYSTEM_SLEEP_PM_OPS(imx6_pcie_suspend, imx6_pcie_resume) }; +irqreturn_t host_wake_irq_handler(int irq, void *priv) +{ + struct imx6_pcie *imx6_pcie = priv; + struct device *dev = imx6_pcie->pci->dev; + + dev_dbg(dev, "%s: host wakeup by pcie", __func__); + + /* Notify PM core we are wakeup source */ + pm_wakeup_event(dev, 0); + pm_system_wakeup(); + + return IRQ_HANDLED; +} + static int imx6_pcie_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; @@ -1250,6 +1286,7 @@ static int imx6_pcie_probe(struct platform_device *pdev) struct device_node *np; struct resource *dbi_base; struct device_node *node = dev->of_node; + struct gpio_desc *host_wake_gpio; int ret; u16 val; @@ -1457,6 +1494,32 @@ static int imx6_pcie_probe(struct platform_device *pdev) val |= PCI_MSI_FLAGS_ENABLE; dw_pcie_writew_dbi(pci, offset + PCI_MSI_FLAGS, val); } + + /* host wakeup support */ + imx6_pcie->host_wake_irq = -1; + host_wake_gpio = devm_gpiod_get_optional(dev, "host-wake", GPIOD_IN); + if (IS_ERR(host_wake_gpio)) + return PTR_ERR(host_wake_gpio); + + if (host_wake_gpio != NULL) { + imx6_pcie->host_wake_irq = gpiod_to_irq(host_wake_gpio); + ret = devm_request_threaded_irq(dev, imx6_pcie->host_wake_irq, NULL, + host_wake_irq_handler, + IRQF_ONESHOT | IRQF_TRIGGER_FALLING, + "host_wake", imx6_pcie); + if (ret) { + dev_err(dev, "Failed to request host_wake_irq %d (%d)\n", + imx6_pcie->host_wake_irq, ret); + imx6_pcie->host_wake_irq = -1; + return ret; + } + + if (device_init_wakeup(dev, true)) { + dev_err(dev, "fail to init host_wake_irq\n"); + imx6_pcie->host_wake_irq = -1; + return ret; + } + } } return 0; @@ -1466,6 +1529,12 @@ static void imx6_pcie_shutdown(struct platform_device *pdev) { struct imx6_pcie *imx6_pcie = platform_get_drvdata(pdev); + if (imx6_pcie->host_wake_irq >= 0) { + device_init_wakeup(&pdev->dev, false); + disable_irq(imx6_pcie->host_wake_irq); + imx6_pcie->host_wake_irq = -1; + } + /* bring down link, so bootloader gets clean state in case of reboot */ imx6_pcie_assert_core_reset(imx6_pcie); } From patchwork Fri Dec 8 09:13:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13485082 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA5DCC10DCE for ; Fri, 8 Dec 2023 09:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xfDD/m2uFt8CAWfR+ytGpXxw7YdManrsyBY8u2RPels=; b=BM77YQ5wtndgJx 96r1edKBjnnaOBctPKyFsmeOpp2HYdrg7/sBVCJC3qOFhglvyk3oLXz+BmI2Glh/zsWHsB8QjkzmT BAcPelwPS71vz3z6gLmhsaTOIRmcv7V0ez8xwCoVUcNzh/1PmQyZIuxsGNMtwmRYe2t54omEly2x4 BzdBFqYi7RY/LlYTFGESRcO+riMkWNgcD+cfu1uXpL2Tj4StLP3DQ5BkBAgNUOjfTJUTJlwjLCkbE QfSpJuw/zlyPS1q1COgxt4MDVwrklKvs13s7fFRnyXCYGYUFqRYv73coxR1hSSXZJTN1mxchaOHHl Lm4wu2RmU7p0wcHNoyYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwM-00F6bh-1f; Fri, 08 Dec 2023 09:14:34 +0000 Received: from mail-vi1eur04on060a.outbound.protection.outlook.com ([2a01:111:f400:fe0e::60a] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwJ-00F6ZD-2b for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2023 09:14:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NjmVfdl93EzKm2/X2YVcm0gwWTchtrcdrAxB/pBUzzENJJCUqdPBZhGZPfu94FvH3rHhEVz1L+BD8VDqdyajq5xHBR0kAItdyswTelqK02homOL7iE7hBylkJQjlyLRKg2cz0uVVf05gijJ3C5+X17Xc1OYBDsYDRBye+zu0NtcPKHTV3aQmAVCv+patDkHczpN3IzxzR5BRZQ4vF90Hrm0nED5wnDU63rAcuZnI9s7gBT1nc3ti0wqVCox3Xei5Ar/b6LCmvb+C1YrsxRKe6Bo+X2r1UgVlFMmMQgBmxJvdcRKmZ+qwKrEJ7NE+OhxBdmrlYoC26uErVqzrK5rMvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PvhYMbdHsfjbcSdTf0vVjjCWEz5ru10GC5wL8RXiYE4=; b=D9HYthtlPTep/jLUGJClaGtg9G5tLrDAeXdANTf8YPXC27u6NnK4LXB8/m6TR2/jkOaCwr6dVS3MM/k8U9a18ybtPyXJdSk5j7KxSBjdite3pDs2amKP8J19dHnxEEJt13q2rztf+ydBOcNmFUkgXmtm6LDhfa1SRVNEwqjp+nsf4daDV/3YU8GQetbYQw44XLkR6KqvGY67wgjGRJkp786vi1gHmF398Z+QMdBsDtpgpgAdoFDnlVcwhGOBBodOx2p7NerLSUOVytEmKQdJH+cBQMAD48GtZ7P34g6g+Cd+GMuXL1llibb5Rfoox8cTK9EoUa3GbVrLKTL1YfwSfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PvhYMbdHsfjbcSdTf0vVjjCWEz5ru10GC5wL8RXiYE4=; b=q5PFFkIfbJb030mDDYDSgtCT0hlbKzGTCE8W196KlGZ2TiuAURkklp73uGChML/NDVnTAO8AdBN7NeCVLXpqwwj7fOsUCMSjN9AN+JnDuAe6Qv+i32puzBYcTGGvlx+umK1nnKCAViE4lpRgagS6yYAF2eDvlwQ/bGuilBtcZmg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DU2PR04MB8646.eurprd04.prod.outlook.com (2603:10a6:10:2dd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Fri, 8 Dec 2023 09:14:26 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a%6]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 09:14:26 +0000 From: Sherry Sun To: hongxing.zhu@nxp.com, l.stach@pengutronix.de, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: imx6q-pcie: Add host-wake-gpio property Date: Fri, 8 Dec 2023 17:13:53 +0800 Message-Id: <20231208091355.1417292-3-sherry.sun@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208091355.1417292-1-sherry.sun@nxp.com> References: <20231208091355.1417292-1-sherry.sun@nxp.com> X-ClientProxiedBy: SI2PR06CA0006.apcprd06.prod.outlook.com (2603:1096:4:186::19) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|DU2PR04MB8646:EE_ X-MS-Office365-Filtering-Correlation-Id: af42ab9a-ce2e-42f4-6df0-08dbf7ce131f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: khFxdF1IaUxcVz+1nnpC5f7QvLyWXGvTTG/PNQZeM2HTmglDxEzo5xGwZAOIGTnUSJg4S7KfbPAExCqo1BRe63G9EVrB7B20X/Yec1FLJjbGH/tz2o09JeVAyFNUhNEWVGuiPfBYy5lj4qHPRmE2zwPNQrAK7F1G5XGbzyelXQ0pTN+O3yPaUZiQV+JNOZNmbwQ9GavorAQWKKYf3MeWVNNmB3LqHy2pZanqejYqHuACWnh1i5orWfzm4HJvbG13m9wJpkvLWUAlVibj75C1GfAREG19OpQ9GL8HSAKDJT2G9S92/RFa2heo63lrJJPak87CnmV7G7lcp/nXCLjDk6rJfyo9Wq4vAJOQ3+nWcv+8jJxRN6wPDVlmr6krqdDx/1YU2e6nMLdLMWPqSAyq5iIZgNNEHfiTaafeQ74zO3FWNIg7XeRmJBA5RYZ5E/Wg+cT4yKocOA4d2WoZSRQYuV35M5KxksXdeqKFu8DrM/W+g8rLRZYqpVaCgJTkPcmKqxkngpnFxfbtpXB7SnC/ipbwpSgFa2DYZ5myQPObU4orXyJd8jvcLVcxksobrie5QR5fMJdfDGCU2b7/9wCv+gPw9hXamc6RZ/Ru1QtoiVwibkWhmrqbRU5ySMmEKInMJmze7e7SV8Nz2tQrqucjqXn+Ot9kvZHrSLMT+0qxmsI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(396003)(376002)(346002)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(38350700005)(921008)(41300700001)(36756003)(5660300002)(4744005)(7416002)(44832011)(86362001)(2906002)(478600001)(6512007)(6506007)(52116002)(6486002)(6666004)(26005)(1076003)(38100700002)(2616005)(8936002)(4326008)(8676002)(66556008)(66476007)(66946007)(316002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iN/g8kFpxQZ8QXlXJHua7YxkLVCEPRdIr7nx8xXQm+UYHI4IDPTp5m3Wr3IPgTbI0LPj5inUxbPXFFFPC53cxo31rnqgG1ApJFq6ReP5KPhIFEjngRO/Un+ZBxSNlnsEjfAWdcAZVcpMaYjjmejBuR41V6RH9GJg68coSEH+u+KugfqV3KPkTVMFb7RYUoelPRChQ0BcQUJBLJaDsbH5Rq1ytjn49hf5IXEuIGhINHubi4KNYhvdngPNwYX2iUNPbT06rccyQXhVc+heXsII3XBAbdX7PVVAeZ62lprwfnK0LtzS/UjuT/kkzcCZqu8JYY+eRWbmKbpY0Bp/8gD/dcuRy8FDusN1QZC7ESblcfBSzwGrlfOoRjc1FZV0vfrpLAtoQlDiC6LUKXIOsQb/VUTCcG1CrZDqW7pmTqmx29/Vcj2ydMAYUz1m0y4de99y0e2jB5H6DpXJrL9EGC82oR+0VvevBoxBgGHQqqARsQU/8nQWrMJIfnH66xNjNhhDgMi6CWPlkNaGTsfCMGFB9EXvvlNmhDMWpr3ji8M8imKcH0Fi2KKqvLLQr725TA7N/+dQQRm24eM9yjyHKACHoQubSh46tnkQUNlNtk+CUeEtQ1Twb5qxVIUDKxYti8Nx47Sz2dtLjJDV8Nyf5/VzDqla1osgy1KMBPsasLxJQxn2RUyYJz1jPtfKaJ82gHVimI+qMztI8mUPOVIUxZ1BPRYZRay1cGAiisrnCUYln2RKbyuEHv8I6JpjTgwOD6suZz/2emfH9WXCXM4va872h5nJGjJQca5Os2dBiOe+vAMz3IyyAUyRYNTHK4cZxXu8WvK37alDYtpVjkcp/Q/iqTlRLBlNpAIQaYvIiWKGZFX0LT8JPWvPjXD4E4Rrrw0mAGWdzXSSyZVIX1HhdhBsigQWKudq1ku6dDPO3ytBBcQgheCIFGE0DBdqC3+al18khqmaM5vReSK70k3ZN35XQOh05lZOJvJozB6ZFdbkrDTfOUWHDaNPzP5AMMRdlVgFfE9hBKfAjkzmmaBT7sVKQ+NPIchjJHOYtI+pTJw39TCzK+yn/svrKm4ZwklDxS6+X6fz13H8TbaXdISPuG5YWTL+z7cKw5deTFOG1VUEn4SwRNMlfVyVO6zQiOUJURGYwO2+TasJ2L0JmkwTehYWkyPP9pvE+ct64u5wWxQguLkrN/u0/klZy9tMXbN5n9tH2rS963EPXf7pbABZCqd/RXg/ZHx7lRLfRsSEkyD+JW0UDBZrJOiWoesgJd2FyyFsngQsPlWUIk5O6unBoLJ59QSF0Sex3yIkjuWxLfmbiekVyYS6ZpfM4QealGsh3XqNQsKONDbiplQqbkKjiM8MqfxShWpeW3plQ3trs4b4MCk8o4C5KO4j2zWVcQSoKWKGC3xDuT9ZxVk1jYpV/qX4JnHZmcRMc7thdkXjzAnFeuI43PiZt6SlVEFFHDJgjWI3i0FezwPzVYCVvfMDLAcwEfaQKU488dnU6M0guiYRv5l4l4BP3JQtaCwoNMBQiYfoVl79qrknneQBZsivId4+FYEctjWQeMiDSgSHBNkgn+Y8v6+b47r0TguVzGSjKn+q X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: af42ab9a-ce2e-42f4-6df0-08dbf7ce131f X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 09:14:26.2137 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 68A/KkcauGMc36BJgbOhoOwJZJrRtliBSE7DsMhVDERo2jjZAX6iYmmEeCUnl3/O2t3Y9eWKfi0NyT6/wEsiPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231208_011431_844325_8EC84F48 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add host-wake-gpio property that can be used to wakeup the host processor. Signed-off-by: Sherry Sun Reviewed-by: Richard Zhu --- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml index 81bbb8728f0f..944f0f961809 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml @@ -72,6 +72,10 @@ properties: L=operation state) (optional required). type: boolean + host-wake-gpio: + description: Should specify the GPIO for controlling the PCI bus device + wake signal, used to wakeup the host processor. Default to active-low. + required: - compatible - reg From patchwork Fri Dec 8 09:13:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13485081 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2282C10DC1 for ; Fri, 8 Dec 2023 09:15:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VHuekpNhEIedJ+9gPQz6w2I92mqk7RCHw8ZQZPoGyqA=; b=OlM/xmRN6VyixV K8/A7dXt77SbKo7qbGFy3Nfs+HTYM4/4DIMgOGSUtK9kyxu/pfpB2Tyhr2F8jMrp2xUqHKeVJjnQy is8SJFe1g2zWyA7wKPcshPpZR9QD9GR11qoj21pWyI6FP8qR0vBf7cRtoAoKq6DVJrc3afVwRREog 3wS42wrmHCA88BpoiIt4SuYkmUcFOEaZ3HhJKT1fVzJDXOznYNSS6+/H7rcgXquWG0e+oPEqYM8CX GiLBd6uPsKNuvZGb9k58AbdEz9t56w5j6MAA04gHx2Nskr83F3boZOtk5PySakykQ4CfKgE29b09y frpxLyBeN0tYXk8c2UMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwQ-00F6cq-0r; Fri, 08 Dec 2023 09:14:38 +0000 Received: from mail-vi1eur04on060a.outbound.protection.outlook.com ([2a01:111:f400:fe0e::60a] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwL-00F6ZD-2E for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2023 09:14:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DZ94szi7hj2LaDxqFpWd+RVa94oHtmc+QMrPbnaUWXIgGC34uPBSnte0OcqiS3tonPWrG7R5a7GGB05W3GyKLleAy8g2XuFuCZqljXvXkEHPFZyJRGmFFgfANb3RC3JQadISAND0R01Oz3WT5Qa9zRGZbQQyKfiFgSYKZWfYhK7nirsOeMGbySu/iTIng4dGH+R3NCueTSKWO773SQAyzqU1CSRXOfs/JkQxomYCFAirXGOFdHE7nyMtuHhg5/GbZ0aw32ZahI+i2RlvhA+wM22OHNMTjwd9CjxH5q8oGCUrCdYKcnIMwcZ+PenCZokhR6QackRYlHyIprFiQ6SpHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GW2JngSnkWmVAa8OKBA3QVp+402BtxdHJks3BQW4uLE=; b=FMs4L2bhwVd3/bHJXsxVXLsWCorlLLkI2YfWHepSmhRN/VFP7oXgbFLxEPC6frGjY+xPDfXsikVu4lYEfg9VZ1gVWoSdYuy6jj6Ov7RwIIzj9yVykcgXC1DEwAFdGeqi0K8SZj2mODj9I7UGl68dvPEQgNsUe6E6yelsLKTwOLodgCCPzIPuGN8LTG2Nsi6ccYiufGcq4+D0FF6eyId4Ci0G6ogUWgaWNiETYsKf3MwQjpZd7hbQHhyxxh+8vdeTffUTSNXDOhoZcNxp/Dzqq4Up33N78Vis94lWixY/SLinNe3fWS/srcwtsm41M1vA0NkgQJz7hQ246JZURb6Pjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GW2JngSnkWmVAa8OKBA3QVp+402BtxdHJks3BQW4uLE=; b=bcOaPlV7PZ+18y9QMgKvg97njxOHhcq7S8dFRLM9lAvQV4o+Ucdzz4eIKOejB0jzMT8bJhyBXmPfbscKpo0F5XEXX/NFYkquY+uRph+LI2VWJ29xyTkZGySCIlOn6Wn3C/QdLhvpn1ZruZQANHZyTYbEm+V4I/QsqZe3VW4/F9s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DU2PR04MB8646.eurprd04.prod.outlook.com (2603:10a6:10:2dd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Fri, 8 Dec 2023 09:14:32 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a%6]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 09:14:32 +0000 From: Sherry Sun To: hongxing.zhu@nxp.com, l.stach@pengutronix.de, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: imx8mp-evk: add host-wake-gpio property for pci bus Date: Fri, 8 Dec 2023 17:13:54 +0800 Message-Id: <20231208091355.1417292-4-sherry.sun@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208091355.1417292-1-sherry.sun@nxp.com> References: <20231208091355.1417292-1-sherry.sun@nxp.com> X-ClientProxiedBy: SI2PR06CA0006.apcprd06.prod.outlook.com (2603:1096:4:186::19) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|DU2PR04MB8646:EE_ X-MS-Office365-Filtering-Correlation-Id: f40eac79-2720-4fa6-377e-08dbf7ce168f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n+Agk2tGoY43vbwl2M+a6dixEFEOd/fTY8OFiPKZ2PiR3HoTVhCVoKNDlH2vot8a/rL5tYrB2xIGzrvPs33b0p+twvmRNbpBjopIujjJ9nrrhQGuhjOJU5VgkGTGXqQ4kp+JKP3C4aXD2JTGGCEBnFF785H7zOzSr1fwnWzZGwFADsi9BCRILQJ00s3IwzdQFBcIabuRgTV8AWt3eJmCzRumq+vChr/AopQWKe8H3BhXBDoGXwP7c63DSw3K9oM7cIgRWlUlBOfLiPhE6JQw4YE9vkrNIRkO9zdbS7X/TADhBwOumfIfen9eZy/noJO+F0MRP9FhqJfIRLWyWO8c448mmBfMw+j4E1WQWPj2DsQvu3W/HNcd5IZIjqsZDQtHyoVwYbas2H0NPXyIuHzbj4N8CY2BCktAtX1o5pGz/R1qQnbO8X+oc5mKL8rVHwjZXXpuyt+ASaCS85RVQU6KPFS+PqzZEgigMFxiTDjnS8nqKEVUz+JGtGQYB42xx+YZBrYUFTQASgM3syZUZ2nBeIZp7etja546OPDo72cRY5OSjBK6qvbnmx2vKc967IiJlLoZnTMTYMSv+XhK88dKB6BiwFjB7bzdnEHUgg4he1tpdoexx6zgb+QDMhZr7yevjI8roK5ZM9LjNEi8KlTaMFf2kIX/mgyblW/WcyQL9+8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(396003)(376002)(346002)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(38350700005)(921008)(41300700001)(36756003)(5660300002)(7416002)(44832011)(86362001)(2906002)(478600001)(6512007)(6506007)(52116002)(6486002)(6666004)(26005)(1076003)(38100700002)(2616005)(8936002)(4326008)(8676002)(66556008)(66476007)(66946007)(316002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FTn1kidI4nbFHWsL9QRdvkjMeuB0HrIx33lDKL909qSoBej0KMCbO7LoW2dhru0+/R4pGz2a2+NyrInvToqHbPmSMuTr4ZcvqlFO0/xOdX+MWLhkJXVn1wLunoVnhBvzijGiUnjGLLBBtIkPf2kCXe/wCyp5xf3FU1MNnneMyAHqHum6U7oV9SEALLT8I+JBr4kOPr+eOxgtwgg0JE6YDzI0NFkpGl3tnugvorEUmWtgx65zrQBb9z7Elqp+biBBbFnwNVUK+TZaGvwWAY/PgYUxqRKjaykKXD1u0CKz8ApiZdYCPMGOEsx8BfBr19e/bHu9nHxD8sxJIvgGd/JutHNekuBv+/kKMekAmPUuIAgLoan1J1Rksj9xHSiIZXDwpMRdOGBysZFIs1Sd/nrasW5TbgEhrlpb816bFjevbs2inZHy/9SltlweGepMilHzvtdIKuwFrt7hbe/qOpHvvq7DE35qc2Bq2lFSTy6OMvmpnJ1w8ioMpkBdnEOhmjGr5LjffSDtVShUkK/3GywXSJI9DTQ4PopIDOY3Zc7yuzr3+5+hfNY48IwSeRfkQowjYC661eUzB+SsZWfEZrzg3Ctz4uWm2WTQ07MYp8WqXKXt0hWsiLODxwgv20STK6SxqCvbBwoEMm6DRYAwcgWDEguwSu6RoXILEISaWrHmlAn+NmnfmFP0H3uIv8wKL8tF++BYk5NuzmzOlllXfIgvUitjgjaUz9Rl3mzNMDcF5a0nRnHQR7TCnp+xlUBmvAJ3j+Q7gDQOlgxlnMTaBtL+8nfejjwCBApUzt0vsN2td69bt9mmCmDGBxTZP+h5mtzGZtW8/obA1ihEQJsH5Pp1NUSvyRC4/7zMfVpy5PeSeAJPMT0f5X9fNc1JFTx0V+ifdMRhLHqPbSnA024vGSKBaHZjOiA3hXKqWWE4PTijPLZD8dt2I83GUNzObf20aPua6xGm7ap/R3U6E0N3chGSkL0IFMHQjVpwyN8YNMe5H8aiHLH1eIDMP3HRZd8+Dz+HWQstdGynu2pfGSRmk0Ejl+QFKOzHe4VS05tF2SDOIc/esZ3CDB5QedXEvAxk5yecLvEQrGtkBWwszuMluBg85dgkumLXNIhNlNCMljFDnnzzhbKjsrlNqO/FU5enMMu4CSoaxoIgUNb8GL+2SAMA6lGWpm0B2Jdz7rYYua1HOJQu/HE5FHvUoM5f/+TXAoRGCcmfG30mGKNdWmYl05aDkhyaW9qP7QRKjapJdiaXRxLsK/uinMU18aWKfpLPSpAIZPKrpTWTZCVRYRBBURkaveNbikiW3VOKHdk2Hx/58j9IZI7ZRyw0/BBS+SyQWNlFo80C5M2he7cH+p9Wbh0rwueqX52QZtedMfuv9S/l1Y89KJviIL7k6nXNqggp+bE+OnVFBO1j7/9acqJyjBS/WaLAxqusHDgzkO8Jno+g4QZctBs2AAg7+y4TNjYPbnqf8bu7fE7NGT+iBU7WtytHpSbPtSi3WpMeqVSB9Zt41qMDKilwRx4SjCxrID2r8u+pQ2MYy0g+eg5/6EYxaZliKoeBtxEvwV/LPtzpTX1XLGBm5tgesVxOKg6PpRhdaE3+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f40eac79-2720-4fa6-377e-08dbf7ce168f X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 09:14:32.0014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5qJHNGm0vdfUN8WvFQfsmiIJQnJz5w51C8ptMI99yEnC4M5m/zy3uMYPz2hV5Ukmb+4ogg+Gnqs2iwimQIwXOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231208_011433_733023_4285DED0 X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The host wake pin is a standard feature in the PCIe bus specification, so we add this property under PCI dts node to enable the host wake function. Signed-off-by: Sherry Sun Reviewed-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index f87fa5a948cc..cc9e5e599a33 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -542,6 +542,7 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie0>; reset-gpio = <&gpio2 7 GPIO_ACTIVE_LOW>; + host-wake-gpio = <&gpio5 21 GPIO_ACTIVE_LOW>; vpcie-supply = <®_pcie0>; status = "okay"; }; @@ -772,6 +773,7 @@ pinctrl_pcie0: pcie0grp { fsl,pins = < MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B 0x60 /* open drain, pull up */ MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x40 + MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x1c4 >; }; From patchwork Fri Dec 8 09:13:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13485083 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49CE7C10DC1 for ; Fri, 8 Dec 2023 09:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3R4JS1zJcJEcqB4w+Tgpfn2w7Oq8dRcGiLDlUvg9m8Q=; b=WMSUfPqThGjweR aCbbhJ+P2WS2XCdgD09WMrRMMvkqkMrBpNSKdHrYlRULu7sxKfVw/RZSFgiRS3jZEaSNsGTNeP2j6 Gg9Bb9BaVUSZ1nbMTFsmbvN/Uvt3zSj9byzVh2x3VtR5YOu4P8m2G+V5XBVjtdPOkwHqTCIauqB8e jww0IVubqqi3yLXEiNgSeIymUaY1KqlHqK20T7nN1swv2RDgZ8Z/kHwN7aJ2NbNJqNx68g9O8wzM2 WSIMzPPmWGmFoWVpLjskycefvJhavSj8ufLFFACuB7gwlzTldSkqEm9y//ybx2/yzAu3Dp4U/ccHA pgdZCztypcO7Rn6z89Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwY-00F6hq-31; Fri, 08 Dec 2023 09:14:46 +0000 Received: from mail-vi1eur04on0626.outbound.protection.outlook.com ([2a01:111:f400:fe0e::626] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBWwW-00F6fV-0V for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2023 09:14:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jdmRu/7mabmiIEMW6azY+wwklmxWyh7wBeKuOtz7LudbBc7edp5yyQc/xmKESQtsnQkpm9oCd7zNSCOQiXEL9s3ZI35nKBRCbet/ZtgAnGdl2Lo0smmw3W14DfbamWurMkMj1RHpPKhb/VEgUEFGSKQj2XrbKV942IyQ0oeEMGza6iKXYSoS+BeCOOJXUvnlTK8cRqjmDvQoF9DOCQpk/zWbjfBY8ThmH8yUVDKhLGndhXJZa0YeKc6CNYjO5v2drj4UaJP4aBUHLr4uKnrCtjnJDlAll9Q+R8COnIsk23KhNnpWLOCFAt//+nmdT+8ZLFwlzZ2EeAIUBwgoukkW7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eoj/DQJlzz4H3ZDH9C6WEcRJ3ioQNU3k0jovdm9Zndg=; b=VEkEm9EJMFFIUW85wst84DYtcqf98JLDg7gfidF7I0IyJEYVhizITBh9Fp7dP2L+ROazQXlrqTRnLDEXIysH8cOTM1z6ZUvSOqzlPJbKjtJxzyfKB5XssK+8kSMtyaIcYPaqdSgLoRS6+gutzgnFxS12B30Gt09dLUIQo4nYm8VNDkQt/vvdQVbBZoZSEv3I4aNHwKFPV565rLs68tgkMQeCrPDvNz/LmIpvE0ulcBbTIeq4YlissJSaPpv/PH70wqBpsONQEdp6UxtlixC/qiqywhm1DLgDAUBQQLMxUZ3CSboHHFvQ7SP2YpD7L0AJ4WJIx5FId0GJf4jMghkPsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eoj/DQJlzz4H3ZDH9C6WEcRJ3ioQNU3k0jovdm9Zndg=; b=RgV6bYs9k1R2T3pip4WhcprdL1MjUA7NJ2981DcaoitrLNiVHLVJkN3tTPFan7IzwQB4k77wTMJi7IP2fTtp0QsEpDo1gamA2b7O5QV8hH9BL4M7iwq4IX/MWGIcik7cyaYvBA6DJ7P7LtmA5RL8qri3Gk/SW1QIn1Br7qMjUSM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DU2PR04MB8646.eurprd04.prod.outlook.com (2603:10a6:10:2dd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Fri, 8 Dec 2023 09:14:37 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a%6]) with mapi id 15.20.7068.028; Fri, 8 Dec 2023 09:14:37 +0000 From: Sherry Sun To: hongxing.zhu@nxp.com, l.stach@pengutronix.de, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: imx8mq-evk: add host-wake-gpio property for pci bus Date: Fri, 8 Dec 2023 17:13:55 +0800 Message-Id: <20231208091355.1417292-5-sherry.sun@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208091355.1417292-1-sherry.sun@nxp.com> References: <20231208091355.1417292-1-sherry.sun@nxp.com> X-ClientProxiedBy: SI2PR06CA0006.apcprd06.prod.outlook.com (2603:1096:4:186::19) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|DU2PR04MB8646:EE_ X-MS-Office365-Filtering-Correlation-Id: 259bdac0-2dd2-4639-6363-08dbf7ce1a01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oLZlsI3U/UkwCBbO05k6YXZfN+mbGgqPUJsXO6J1dxc5xz6C+ac66ejyLEf/yysREWatsOZ5MzHiCwdtxyMMoBSyg+VX2dzk0kfinRUfQLaAf1Y4LBcwldx671UA2Pd2j9u71iLKBFb6XgZfVektme7OXURyDKC2LygPWrriIZFN7/bQCjrUvo7Zj99a4cCAIJHkvn3ROLgfFnQPL8BcbKo8fK67VW0GkFhLSxi9cLyuxQR5ovJx7uG/nGTtDofE+gtETScq20nifCb0wOR3EVhujK3Av6Xr3tf0JsVMZDMdI4SG5VmRq7S59UldbWqZEqe3sv94uV32W9VxOkCXnllxqNFHhmgb1btZ4eWJKP8vRRzvcEKqr4mHphwxylnBnLqxWdlRbLTnmvidJ9uQCJ2rJMVnOxydP+ZQ3l48WBruoJoE5IzavdAiT4ExBHEx6GtTWmcGGdUsSNgREfGqNgbGsgYcoHkKKtzv4HOTACwzZROqiO5GzzJ9uaJmrM5l5m3QwPzqRT6LjdgI0aMo2vBUEqADVABH369A2Zf75F2CR4iq9zzDYlKktHW74BcM0E4zNHbx5rAOHWXPcv3frrsy7aeZdKeVfqyd0WWffQFfxVPF3bBJcSERz3gBVpdzqZ9UjD0gKtsot96OogxS5eSUnzBwibaV6gWu9wDfpaJzS+Tu60A/GYo6jqDD9kSk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(396003)(376002)(346002)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(38350700005)(921008)(41300700001)(36756003)(5660300002)(7416002)(44832011)(86362001)(2906002)(478600001)(6512007)(6506007)(52116002)(6486002)(6666004)(83380400001)(26005)(1076003)(38100700002)(2616005)(8936002)(4326008)(8676002)(66556008)(66476007)(66946007)(316002)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Lo5r38Q4GB/tBufYWwSagKfGLo0lvsi3FTkB2Xf2J/H7RygXLPsdJzWSbq6XnyB2MbFd4wMWq5OgPBUqBvSID1A/dmr/qR6g+FK9FrSBXVQzSJoRGqZo1Vd+cbKR4B7RCgK1Dso9G7TbCnqGEBGhGjR5goQgOHzHYrDXe2lnVX0OIaLd5aD2sEOT+LM6twYf5dmbABNDpeLQTEwacxDxiyte6dQs9Tx79wyht4hLfjZmfVUxr2dQX4jxUZ4Nxp+ipYu8pocEh3N+UwUBbPKaJ8OsDe/kLP6vY5SSiNfwesQc9KH0u94R3v/RZCvUVEsuARZclfzCD11O7ZaUIOJfD+1dfzWLleQ2cZoRUK09uGvDPjqHms022DWYXi/g2GWFGVeKHQMP+ie6uZE9oKAKJydmKcRbi6OISiU/6HqVfyBpiQzivCX84bkLMf6O6qhJTu5fvc4rk3xHsRrRf02s2G6i3bLPgfccrZMRLWBePEJ4sBHoI2v0j+LEPwXM9Ry+Q2ov8oPzvy7viFQP3z75nVabTYolfLT6/RuPsYcBbRWF/1E8Mum/rXgKXI1BboaE+bz1DUUD45YH30QwC8bzfj3QOVrhkRQwAe+GhLRl/dyoYDDtgV2XP8LfQEvmSXTXdGgYbqzfaTyhUY59wobClfW/Xb+rgtbMCiywyMz8UEKK6w5ntdx42ZBWvFjsyUj4pZpeq0wWYyNdKq0/lnLvzLxc/a0Mzo5Z4wySMlnOQR9fuS69MTIjDm5PRXhlGTl7FbuKLzQBW81nSKigchNVxxSw/Kq4uKqIXPr3lvhOV6p826TNodh4+BTByoQuiJNy1e3pvC05oxo7+N9g9PLjdlOV/zzGa69Y32XKTmLcxxtEdU8f/po0zOTWTUnyXCtnxGQINy+Z9pENRdBVHtD9OgRc6p6e23tjJJUYFyi7hQrTQtiRmGiy9Nj+0EaDMLBd8FFqaC+jN5sXsN0W1ZxWmc1/Iv6eiecRQgDDghwLYMacDL5mKEZFtWqIKiZ7O/YmujgBwDiH5Vnhx+0BQysz9SOwBTaCOQJBYEOudFdbNMmLPowNRqw4Ekq+gTFeY0UGaO5Jh/oBMX9vIlBLEARcUsWYa1RvWEZ3FdYpCFGEb37+jStczvuMftlQVsBIhS6z6NnQevBPssNF8gbXC3sB35TKlo57/pKF5EpOipHZ8NkpluApOrmOsYeCk5B1JCwI+hv3p2WNmCTBqZUlXbq0d1j3xa50GaRWDSwHwm4IJxn0FWpWzCsvJZj6T2nUMfp2qzSCKK5CnFcelrNB9C8jxGPqogV3kTX7M6mQnk0VY9x5JTRHJe4jB0mEi8AiKBzaJRaDptYsM4mo9XO6CTanwsmCQSTMoL/BLKTtcxxqTExHcd0ZkiXfeMPAETH6x9bVlr0p3AgbenXvGZ8yHukhfsqT9tgdiQXF/kmuyx7F9OIElrDfFiEV/WXTnSQQlsHUshObLQoP8apymUNIPm/vOaNZYOKLL8FoWqzWSgOKgMPeDMLCzE0HsPALXf6CZBxT2GcCK1nd74ZmJ9oBxDBI8xQLInHACze7w46nwruvTff/1GOt68QAWIhaOEbNnTcz X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 259bdac0-2dd2-4639-6363-08dbf7ce1a01 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 09:14:37.7917 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qWbh6GfYRWEKXTwP93hll5naPvtcBpUPZNxat7isx/AhWeOEYQ1uVOiUpNUflmwV7oWm1EiVKEenUTnD9G700w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231208_011444_192492_94E2307D X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The host wake pin is a standard feature in the PCIe bus specification, so we add this property under PCI dts node to enable the host wake function. Signed-off-by: Sherry Sun Reviewed-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 7507548cdb16..ac824046c594 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -367,6 +367,7 @@ &pcie1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie1>; reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>; + host-wake-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>; clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, <&pcie0_refclk>, <&clk IMX8MQ_CLK_PCIE2_PHY>, @@ -545,6 +546,7 @@ pinctrl_pcie1: pcie1grp { fsl,pins = < MX8MQ_IOMUXC_I2C4_SDA_PCIE2_CLKREQ_B 0x76 MX8MQ_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x16 + MX8MQ_IOMUXC_ECSPI2_MOSI_GPIO5_IO11 0x41 >; };