From patchwork Wed Dec 13 09:28:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13490603 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 0BC7BC4332F for ; Wed, 13 Dec 2023 09:44:43 +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=hNtSrw11xPw6TDjhkoA1RaRAmglKktfFCqy4A1Xowjk=; b=LzOaZbDhry1RIh hshHzer1XFRo7BgF//FQy/i0l/A+JSDuR8++KaxKBn+46AeXV7/lcPhDyZ2mo0AYf+yEZ2VwHh163 agfZ2xSt5ep7KXbf8TwRzPAOeiVDfNzmFsFl7jAHdnBtGr4VG3fwtn3T/HKhc1HP4tcaaY8sBiKHs hh04b50yuxpDQTI/Lkl7Ol4T4yS0N+NtOgmwvw5i789v/SLxBjmJGLvDmYU45jDtAC6fAZoK4fRdQ h1cHax7aOlGXNHrm7qefLGZ9LdjWJhbZRWgDrHxra1I3pom1Mm6irAwJBtdFhYZ9cN+FfGE7QMepU gLERT09JozauTO0PwU8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDLmp-00EAux-0y; Wed, 13 Dec 2023 09:44:15 +0000 Received: from mail-he1eur01on062e.outbound.protection.outlook.com ([2a01:111:f400:fe1e::62e] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDLmm-00EAuX-0w for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 09:44:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Aio2+YkVBerso08G3DXeozf54/Vo3U5VahhYHXgCvKggBt65TQmxH2Qa25mXr49n7tEo0jbWNEGaHdWNALnxLcz1/eZSs3Rb4n/VX4xr9Ojpw2/ahnGBOzkMNh9RSChB4njSK4e65XQfdrWQX1VlabsKNEyB8maw0i3DHTsasWi8zSLlaUshiANGJjGoBlVlsomfMf3OJAR/6rn/cIhh/mrjypcrG9aoBBGNsdmsx+Vj0HhukuJmT6uAI6c/e5CW4nE/kClsooSp6FcnA6n9OO98BaM2rdXt9/XaLl0aetOi3mZqm/VP6rMuiQ5lvtk//ktWON4WRLFPErqkMsOczA== 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=TbCK6UKQS9ugxBa8Bfy64tCBnlGdoAhAVYvTWg7qtdM=; b=EQ5cnT5Aso2o8V1NCSMQoGYsaZ9cEUPAlgCzXs0hvtGP41Ll1JxN2q804KKIhyXvmf30G3PF0XHDxvTZJAeXKm0DqO08ccXX8DzDxGGL0GS/kWS4euu1+Pr4L7VWtXbc5482cTjRyi++wH3h/SIwn/PRNbJQap6ZiCfTTZpSq7EQtAwnezIJTZZ6O5akL8e/J4HrmlN9DgS+IplGz34lHVPot4onkZn16uaxNgqOWvtgz49RP/sl/4/MZQEkBbmHBMGx7BcECHfY9BwuV1JVC4n2KeJFaJWd30V96eGy1uPZNZi1h0HeI4UOdwiSO9sd6r4zBvS1JFDwdFdLnvK6/A== 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=TbCK6UKQS9ugxBa8Bfy64tCBnlGdoAhAVYvTWg7qtdM=; b=elJ3W2sI7stwSw3YeAwBTCXtzU+8aXcx+9RPfvN3TyhOE5CM3aOVxLt91K6IQqgCv6j3uYkgIaE6Mo7/Y/j7bf+bX0fO3/CAS0mH2b39nlVpKlRJT0l/AExjosE8wnEfYRrA9lQfcNLY4cyOYgIT0Fn5tPqRu0MF4VdNjh57XX4= 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 PAXPR04MB8269.eurprd04.prod.outlook.com (2603:10a6:102:1c4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Wed, 13 Dec 2023 09:28:49 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::3627:208e:4d62:1e2a%7]) with mapi id 15.20.7091.022; Wed, 13 Dec 2023 09:28:49 +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 V2 3/4] arm64: dts: imx8mp-evk: add wake-gpios property for pci bus Date: Wed, 13 Dec 2023 17:28:49 +0800 Message-Id: <20231213092850.1706042-4-sherry.sun@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231213092850.1706042-1-sherry.sun@nxp.com> References: <20231213092850.1706042-1-sherry.sun@nxp.com> X-ClientProxiedBy: SG2P153CA0021.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::8) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|PAXPR04MB8269:EE_ X-MS-Office365-Filtering-Correlation-Id: 54fa81ab-b05a-4bdf-099f-08dbfbbde9cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aLh1mlVUqTrMR1SRx112RrmfKfcwlJDMkIQg2Uw7E4mq0xoaOeEi9/vcx9jgZghf9cVfavmjEUDe5UJ+fj5vRcqKLrMAkLKfXGhg09RdxDraZ36aCtCLImob1Vyf+VvsnR6wp0syn0JXO+Mh1JJYoOS+6OIy8hM6X32Ax8YYO7mkggAJcm2pKD/xMRjTJ2f3OFzx5KShEc3x8st5hvF9Vao4D4Midbb47ocAdukgDaaSfu3GB27xPDjOc7yq9e8C68vM6cAMMWnmNMRdf7o5ZMnavWufohyGv/nFAXQA95pwT7wAg6CfZ6c+fNnRB4NZMdO5XP7F0uUoMMaV/3aO/luQvS9mmnTYQm6Nkmgg2PRoeMXmlH6cVoFZyAgbmmgkQw8mdGYGIdvl08ICbMZ3eH0tJ/prOke0/hY2OoaPGUESfmhsfRA7SwhAGmYkw5umXxh3mLSQbG8M/8UjvtwdK6TDkIRqjuEIPWCtEKK129M6KaxWNHcvI7JVfY6CvQrYMwp6Tq6bkfpproufeL+/r5aUk6tv47Zz4OUn9HUz+4KXG/5E8dKCmXiLvVRqY/0CiaLhIfp1L/n0SZ54aUY0G99pQZjRZRV9VSdHWOegZFfR7OHhb20QMP0PS1xXyW4Kea0Lht4qLxk20HMPnlSb/0BaTDmYFHE+PGFpXx4XfFo= 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)(376002)(136003)(366004)(346002)(396003)(39860400002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(36756003)(921008)(38350700005)(26005)(2616005)(1076003)(2906002)(478600001)(6486002)(6506007)(66946007)(4326008)(8676002)(8936002)(66556008)(52116002)(316002)(6512007)(66476007)(7416002)(38100700002)(5660300002)(44832011)(41300700001)(86362001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CyZC2CTCeo66MOaGwjdye/8G7DbXQLy6rLs9cZIszU9KsQ7YyAmndeZsQMcX7nFFlzURTnPsqIOdc0iVgQNWY2ZHtCmaashcpdTMIyc1/PQqF13VWU+u/CwPonNRajL6xfhhi+b8kr1s2Z/syuTotfzpnfaAyZDDiY/Cnypj7cCrcpYbFjLBoTktB8gVXjImW3HmdVU3Ae4W4TRpSpZgLhNSkp5Vm+xxx4YZ9qbtwrx1yFhiH4GYIP1KN5+54GJ88+5+OMhN8aMwwbKqxYVM+3TOCb3iJ5GxowXLYhVcBDobn2/ntwN/hKIuuph6FOH/bRRoRuegMS45Te9asWWPg2ZKTR2mNfzN9ek5ZHz5Is3COYHjJt2o0lRcK1Sx2wlt6duFvjBI+i4WnPLaCdp4bgpS5dD+/RzxjKZsAT87HsAh7hnasoXCMi1n4Whz6961b4JzEY1YmyoQxQcUUs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D7BgYNB6jDf5t4aM+Keeec/K+NyeAPSWo2VZzWht3yi5rVZ0b/Y/nwLc6vBm+8gC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54fa81ab-b05a-4bdf-099f-08dbfbbde9cf X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2023 09:28:49.6360 (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: Hn9DEFRz5fNJ++97TAfM6IRlo91ILVWfX5xwy8Hud+qS4eSO94WAAZYeUPSW0xzGMBKC82JyOYa/Zq/WHErzDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8269 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_014412_403766_86E52EFF X-CRM114-Status: UNSURE ( 9.98 ) 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/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..4378b9c1308c 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>; + wake-gpios = <&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 >; };