From patchwork Wed Dec 13 09:28:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 13490593 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 7269DC4332F for ; Wed, 13 Dec 2023 09:29:19 +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=rP8mKqU0ZIPtZ5mZD4pt5G9+ScjrmZRSnBk54WUknBw=; b=T5BnyVLwB8pWVX iJqjao6HaaenlZWzSqzk1o83JT3iD/b/M8H4XI5piokLDgIF7IOqApj/EinlYs4tU3RIFYzE+AJ6x Bq2UACx5LTNzKMhb1e5Thf9/b/FUtnYiYVVhAEasxVxPOrVwV0+f/yimhymqjBDRalg/H6qmB/JM5 yTsF7hqILxp0h6v8ltrNZnoCUg+JwxuRaM5cwIVguhT5mJJKwVfwWrM/Tjq5Ktiz8IL/hmKx9LWia URQFIUIqHLqBYFDW4hHKfg+dhuG6MkjvUd0qmoHvJknEALsDHjKcmmejjqS+xp9IOzzqhs5qLtutB H1/IMwJmVbZqjYImo/zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDLXz-00E92k-12; Wed, 13 Dec 2023 09:28:55 +0000 Received: from mail-am0eur02on20601.outbound.protection.outlook.com ([2a01:111:f403:2606::601] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDLXv-00E8yI-1B for linux-arm-kernel@lists.infradead.org; Wed, 13 Dec 2023 09:28:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fRD8Pap0XMA7QqomogdmgXa5TUfunQ8zliNgrkKMCDJqovhTW6W8s30K8gHh9aZh5pBLRu/CG2z5+tOsKesE2XRdZGKIQ4Zv0wJzu/BCEDVyW6lIFMO02Nv+96tXAeUu2IBapkWXhDeNQW86mc39jZuHA+PiF19V3xW3liC/iU5z8jmKi758f8qEh3aPc1ZZRWgRZgNk9M4qFCKZlLPp7F/QdQLWdwHYYiV+6HZLsE3+nw9+gjcK+xTDl9Z9ZlPpPSyFm/+dQcet/4vjEyN1e7yG1Uitoue4aWfvXoax4FIQ9EZvrPooR3NvmmJf1TIFxnS9x5eWGdbCc/5DLEhrlQ== 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=VmziI9c+9olwG+IEupTevq784wLQApOj9mGzXsHbDBI=; b=GbbMd07640XzZwShKq9EXvwMTN91CffIFBSW5wU128ccfCaZZVhVGgSXN4ziBph3pHyEYtfuCuo1B7cJcJcaYJX8Yru71INOkdqmr6VMi3sskHOtco864qowSTMXeZMEPidhQNra15+RbW9W3YZ4Y3QyjMULLbXQcUScAfbNAH6/euEtQdbvGO8JnrXb898szt1O4d6WBpzEaYU4DCWGOMGk5zxzc/nVfmPPkA5dEM0VUEPPuSst4JQ0PbbNLO/twksbqkoettyiJ6etfa8NLSZA0LHnalt+P0JEWyhp8BlDPIWubhtDvKyF1ZOR/iBbBeebA4wVs0sESxMgeGzvYg== 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=VmziI9c+9olwG+IEupTevq784wLQApOj9mGzXsHbDBI=; b=gtH7PFUWCorYWaeu8rYEy4kp6ezACYruWqNzdRNXtOtcoExIX+MI76cB7U5FC2ree2fUE1noy6GMwcVNiR5wZmiPHkLygi0tLkudhwBw+LT3FPm1VS5w764ntWsZuW6H1tvUemNQmjg0CKfEz6aNDsDMyNr3jZb0MzRT1PQT16s= 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 PA4PR04MB7933.eurprd04.prod.outlook.com (2603:10a6:102:b9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Wed, 13 Dec 2023 09:28:43 +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:43 +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 2/4] dt-bindings: imx6q-pcie: Add wake-gpios property Date: Wed, 13 Dec 2023 17:28:48 +0800 Message-Id: <20231213092850.1706042-3-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_|PA4PR04MB7933:EE_ X-MS-Office365-Filtering-Correlation-Id: 1aa69ff6-d91c-4f4b-ed10-08dbfbbde650 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8YIW4D04Irgg2wH3Z0ONNA/sWV2DIMXwgyv7nQHW4aLbhizpdX1VvoqJ5z0TlQHdsVkkKaUSWf7lIXrjVNWAHQYVhkwREcZGUXWKTRdy/51I09uB2sCutUUPm8QfxGW/D2ItEHkwKinCB9qdi93s7/WFnMp1uHKhFCLdDGxw3qGIt+ikkLSsx/Gf22pUA12h2+d1OkUioPGR6o5Mv0HZe+yhPWJkf4voGjI97CHrsTAliS02boI8rQnIDumlJCDoM/Or8kB9bzpcPMz6LEk0P1J/C/qnQ1B+g5zFDOiDMQjlSXn/PfKjPMxF7GCdnDfgZaQ9SnB6nj7A64WSEGywgVJ+u9DgPdWyZfxCtpsVcl4SaV/oQJocC2YMpcfY9/bieUO1ep+XYzx5A6V2g7lIVDD2F9gPt6VmJWFk+zmi2r07PDRJdAAXvXoTlBhB8e19TJvfpym7cnGQiRC8PniFhvIYllFXj5Hy2VQDKJA/yNAbyKSXqSJkgek1U2FP+AUFFnHKOC7DQMiEe3vll6sVgFO7CH8SIVKYPRk3nHCFifQPlE0oqaITh9kWwTcu7r3o3CsMeaFM5+1G7JadEzkDphgPJ28H3fnDAxe/dzfwrbZO07bGuawZMzXfEG8KqP0WQkL1zso+VM2K9chGscMksNDKfm7MtsJD7L/TSFAKFdg= 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)(396003)(39860400002)(366004)(346002)(136003)(376002)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(41300700001)(4744005)(2906002)(316002)(7416002)(5660300002)(8676002)(44832011)(4326008)(66946007)(66476007)(66556008)(36756003)(921008)(86362001)(38350700005)(8936002)(6486002)(38100700002)(2616005)(6506007)(6512007)(478600001)(52116002)(1076003)(26005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: symN7C4wHgwfK/enk84dhKTU+8Df5a2UhzkpuEK9BzrL7yhU3wekhwk49EGZOfad+hfcdnXxOK3F1xYAD7wViFiXvt8CtfP7CDpbdSpOeZcL9XBzeS6QQCOGcZ96hNPbcnLEvqwnrkC8V1z/Nno2qwGhub3L48aqWW78pVi1DSzfYLvx+wSW6akZhZ6aBFH6hf+kJ11OOyKcBKW0yJ9kM34s8cBsZZ61BLmGmzUkhb62dLjnsS23ib0CsN4ls0imvWDSXJWDZzvTj6k3UOKXoCb71lM/V+EhBszgH5ntCrx6NEwGogICwMl5eyRZnKMu80MhvC9atc7rIsYjCKoUCdOgov0DBzxWTsIz16iiIPO3D7E7alRAtfHwA35wBXCQ+8/85AiXfHFq+tSTmeJCHVuHbn/B1JO4gSbQVyx7RJliGrLDv0qsh4ugOuTZCvm3barkPiesBGzu/UuBWcFiK4UFCcdkruH6nXalcHdPdaxlNlP86OSABf1YcnYBI2SQUWT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YJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1aa69ff6-d91c-4f4b-ed10-08dbfbbde650 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:43.8044 (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: JWbeG7hdqa/S0GbcR4O3GecotUXN+YK3CKrnrGbakInc/01xTbknhcW67RPkOzUH7FtzVzEfhrt5D+2JuECXJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7933 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_012851_417523_F5A41DD6 X-CRM114-Status: UNSURE ( 9.05 ) 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 wake-gpios 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml index 81bbb8728f0f..fba757d937e1 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml @@ -72,6 +72,12 @@ properties: L=operation state) (optional required). type: boolean + wake-gpios: + description: If present this property specifies WAKE# sideband signaling + to implement wakeup functionality. This is an input GPIO pin for the Root + Port mode here. Host drivers will wakeup the host using the IRQ + corresponding to the passed GPIO. + required: - compatible - reg