Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5195748rdb; Wed, 13 Dec 2023 01:29:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQ+3+bf47gwsX2487h77FGal3Uks49mS855wh5MubGmx1qaETYVvcFFcNqv1mh71Eji6Ls X-Received: by 2002:a05:6808:118c:b0:3b9:d5ae:5d53 with SMTP id j12-20020a056808118c00b003b9d5ae5d53mr9416571oil.41.1702459763674; Wed, 13 Dec 2023 01:29:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702459763; cv=pass; d=google.com; s=arc-20160816; b=SN1fKTQIJx6q2J9cQohLkKxiMV+SPF43GWxNFPC3UuOkj68Cib0HkquYI/vBteoct/ gm8aD/626CmY//gv8AaXIHdIM76+YXajUsEBTBdWSbaUhJKnRmXtzJOli4hfdyOCQs3S wY1r23h5phq2KR8J6dLAoYC0elcKSJ/1NBOY5JRdfNfRxlpJpc1h+qORUBpXZbOPVZ93 Qsi4/Zo2g81fma+TkljhDnCzTEeoCwT8hu1mJciIw5BRl1Cco9kFIhjSDocYuSGun57Y 5lSrEgAEk/F6MrlekJel8qUgOF90kE8m6wTbZRxLQksHvIkNKouAfRirLc8WyBKAM64k oy+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AoGfmhiQWI/PSQLmPJdRfBLiVcEEYs92wNByii4Vz0Q=; fh=l1iWo58bMGw3cZiqltecNTFFfZhXvAIg92WGskXbVMI=; b=yB4trFJ6ui+d7EcBH3WXA33xVrPyi+QCAYdgciNTwPlyLCUoHc4TtVoaUr+Wt4DysR 1tagQasX5fuIGjnqXSh8pYy4SIHZUz4aYYTfNbKcYo7phdnn5S48bFxA+RsSKShnadk9 uQOeISwQiSde36k0EuKc0hYCQsehZjmLx9p1Hrrsq4pPn1XzkLPPUv/MUfa3uia2ZsJm Mbi7EyTpq2DkvjQJg58+CMJmDGD8pAUunmqgwB6U47nMGwNtTXDvx7EByyoHLmilGAJx lKOV3xrpc3vBUMcKs/ZB0ycvmYQ7aBpCSNBoeqDgULkClV6PgZSb/mhOe9CPSblBF38J 5raA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=l2lVBEfy; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ch3-20020a056a0208c300b005c6bd30ec1fsi9352416pgb.455.2023.12.13.01.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:29:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=l2lVBEfy; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2B6EE8157DF3; Wed, 13 Dec 2023 01:29:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232828AbjLMJ24 (ORCPT + 99 others); Wed, 13 Dec 2023 04:28:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232941AbjLMJ2y (ORCPT ); Wed, 13 Dec 2023 04:28:54 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2051.outbound.protection.outlook.com [40.107.7.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1447C10B; Wed, 13 Dec 2023 01:29:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bU8Yln7yfwOMTfZhisWzCYgYtaj0cn50Y1uCi2M71aY0cMf23F5o78oKN0rGOix9D5Z7K+z2KJkf2z6Bgcef2R8fy3ecoPKBPUBkhDC4Vp+Gvn+zI0KEUFQZFQ9EVlBK8SDHRmZ5Qm8D+Ap9+zKCdfn0fEuBJpxBC84eqRa9qVTqXg/UsvewJUAjzUt3LI4W9Eu8AKXVuOelqMFPIecgWkOqILK0JtPE0soKHGTtixVQHArfkNIuPp6SNpXB5QV4tleF88/XLkynrB9jaAosA3YT+AgmaFOpt7HJEP0jeo1es1SlXl/gLShd3AZYxaqdn4VV1insWTTrVkxf89jTJQ== 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=AoGfmhiQWI/PSQLmPJdRfBLiVcEEYs92wNByii4Vz0Q=; b=O9mb4XF6xT+MUGkLwlVnRO+eNKOnkWZG9mZj9TZqjisaLZcG3g3ezbnGcBHfDBWejdemnWUrYrm0yEHw5hEIQog97TuYPBsKXWNlUo186W5xur9emfTgudayvXRHTxwev1KlJSHD+9cJMxXOMnfJA4lCD3o9n6UNwnYiuatWxRkYGcWmjKOzBbqi16/OCbspvnnwrM2zAEbeL00fz7URO9l/cBz791wXjk3qfMy169hIuucGtQWYq2jykgU/HgHEo/2LE0sFJ0C+dg1qb3ABiymCPpjiS+OSrS324Otpjdt1/tIQDx8nTQGzPtoUadCankZP+EX+sHkZDAQjIpa05A== 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=AoGfmhiQWI/PSQLmPJdRfBLiVcEEYs92wNByii4Vz0Q=; b=l2lVBEfyFYxK451l6zV8XQv+hlUV1o4IaBguxIMy7a7TgV8TqQWFDR/JjquU+pqfccitfT5yWJUNH2yaD+PjDNoZt3/dEMId6rMym7BAmKkebkakUpMNup5uz6GhiVImKYu40ql1IJaPliyOvVb+IWRwRX9NJ7mJrvLifZQV5Pk= 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:57 +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:57 +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 4/4] arm64: dts: imx8mq-evk: add wake-gpios property for pci bus Date: Wed, 13 Dec 2023 17:28:50 +0800 Message-Id: <20231213092850.1706042-5-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: cf469b71-a09d-4c92-58d4-08dbfbbdee40 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qc+ooaVxw44hWKMZtxYEmcXQQYtoaq+fm7QnxhSkbPfmPJfq8E46n2QxKXf/UiQDexn0+yGipRJcX4s7Pha9gXK5dV52BTlUCiRL6eOcWH7dV8Ey0iaiIzkvJ5a9XDWtv0rBKxI8gvOHN8br22pNEeNV4+/+sjRQWQidTTy9J43NShA8buFCJlo8Pb++j8Jcr3J3/I80KlAgIp8WizT0Pf/LwpX6ajQqqH35eTPVxaB0X3pEL8pyyEyVA7ipP38ZOO4MeTffeMK3oVeFWOGcB/TPY9yaOYOoqqnWFGbR3aNzDhWqXXMJhdJ9zODmmKILjZyZPS4fhzXb2xSWMNxVCX1+FrPBNZ1Cw1nm8PE9DaX6xrTtUvXESYzf8ZCfNWee5jKQy57vQGpt/vg/rXa9BfqM+9LQ23hnxcuyGcwkwU2pCuIGpPhEBYf77iY9gIhwTNwfpALV8oagA4fkD0fELE2VGfFqrm8J2GfykVkhh66yM+eaNVl0V7HZInR8LiKmutN7ENcfXFYzXBbdZ/mJzXaV+Vi9k804WFsMppX6QiOjknCuP5AIh9Qm/dieCOtARfrOscLWUGCjKvbW1c0NrwdIJOTbBdWc8SDY0migRX19TBYbh+hGKQ7QfLKC/eHEcydz+VyJoZ3iikz0vMbP/aT94ZBfCFo1+rwtW7RK6y6lbwOl+5xgIg208hE1d9f+ 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)(6666004)(2906002)(478600001)(6486002)(6506007)(66946007)(4326008)(8676002)(8936002)(66556008)(52116002)(316002)(6512007)(66476007)(7416002)(38100700002)(5660300002)(44832011)(83380400001)(41300700001)(86362001)(32563001)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5u+5GNTFBSLboJ/mJcM/U8ECtMuYd+aBdDkl8FjKAJELhjxAIxJMK8GPyfhj?= =?us-ascii?Q?lzjbldgnZygKSE0Yn//BHq/cJoZHBVUiMXwEywX4NdvzDf+gdjCW7uu4/U84?= =?us-ascii?Q?1DfsbUkuk2jo/xzodM/5267xXz5EMQJKTlpX0eqbBJCy4oUgwG0EplWMAVk4?= =?us-ascii?Q?mYxciSpFNlqd8R4zi84gyZoMH9YNqp6G8hTJ82YNP2RyzuuVDjVrlHboouk1?= =?us-ascii?Q?wP8Ffvo6OmVNA5/v/07AiTOSN0T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bC0CPGhAnL9w7PPu/AWbKua3aKwvR6QpgB2Y935vQOV4daEpl9rUeIPtaa8W?= =?us-ascii?Q?ZUupjV4YsnNT6QjR8caxrjpbWYz9w53bzQb3v8VJgpFAIGLPn7JPyAstAYmy?= =?us-ascii?Q?BotkjkoxHEvjVLZf2sQw9/WIP7wgqSZx4WfrMvdIGO74kjEUdWqD3hHafG9S?= =?us-ascii?Q?VCaQxreglMFAKi+3IWsJiKAQfoL2XIx1EnmOSsWe2HIQqf6ZeUP7CfGhX5Ei?= =?us-ascii?Q?YgEtc5cEIdFv+FguLM4lKuvEi8Wbs9/tb2owC9AXUw2w1rrkmjKpK6dDFmMK?= =?us-ascii?Q?OrT8wTH353oB/XK/gm3P7SemX1yTo28IBY721Z04cHnH3qFpOAYlfBNSiIG8?= =?us-ascii?Q?Iusrt6E+TjCEYFk9vf0CISurLZV2pxkWKLd3hn/TkTNX1OOH3j9nf6q6UU1/?= =?us-ascii?Q?ISQExwFCQKV2eaXNdLwfkuPcsBuN/ngqvCGDJ2zp?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf469b71-a09d-4c92-58d4-08dbfbbdee40 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:57.1040 (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: AeKmWv4IpBPnO/cvLcFSDCqsV7QVBfuqIw1oK7tQXZsXiq3fNL7LNaGa/UVdFUWoi659SUDl1P4dbRcyCtvxDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8269 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 01:29:21 -0800 (PST) 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..b8463ef230c5 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>; + wake-gpios = <&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 >; }; -- 2.34.1