Message ID | 20221111155016.434591-1-shenwei.wang@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 A324CC4332F for <linux-arm-kernel@archiver.kernel.org>; Fri, 11 Nov 2022 15:52:12 +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: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:In-Reply-To:References: List-Owner; bh=qe3LyBtp0PkP174RbiGAoOiEtaeV2j/a7WFMyE2zjSg=; b=oO/wo8ouCxwS8J jU5KaMKPdQdtn4WvcffQPZJOGBp/NQ/eNnH9GzmRy8ZH1PvRequVcF42ILycL0TmsZTR7pX4/d0bm XqH9+2wB6IOeDswSzAoVJyKV3vcVr7uy1JpXa/QbGBZugbBrS6ASgrrICy8Mi+WzMF0OV0B62jAnU fq04OPyCpwJpW8k3i5tKIxUUe8CSGrVOqeDszjB1OCbVfdoAZFe20iyqIt1bNLzVrFx9jno803Abf Kwva5dcs0iTHqZbW8LCVSjzQ+VOcl9wn2IIvGZQwWgPqI1/9ONEQ/7huSzZA/ZLdlaGP5oPGr7wre V54C9Tv5QY6jSpG93jjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWIw-00GgDh-8s; Fri, 11 Nov 2022 15:50:56 +0000 Received: from mail-vi1eur03on2086.outbound.protection.outlook.com ([40.107.103.86] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otWIl-00Gg86-OX for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 15:50:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GsIRQcQAZ1a+Ji5/Ea+dbvM4sa23gjHoVHAaaYEhkcs+DtoNUnfPHj1doPZOfaK4v56/ZP8zoB1tfqTKvODBXDzcHyPgWKJmEMg/10UBFi6azzNTmNiqMGQUEmQO99zDwWf8wbZQnDrqiPCgi7xWTuw3FQunqlUSfr1gm9HaWjLiOr0ai+EGgxiPx+cGlya+Mu7ffhXFRNW5w/POa5VKE/t9coChLG8M16Qtq66lrb2mNKkU1J8uei7YOCf2OKHzTYUO0VLU3b2DKch7Bi9EPMn37QIeUbDvQ+4XMWpr289YTxKgdnr2rt1l6/hyJZBWjD8Jr54COrNHdAf/n1BWKw== 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=UevSxe+9hXcigtWg7ojcOtcASvZlkN99DAUECkZigv0=; b=MJVuHciJMnxxoKn/Qq+ictEf3YPkty3LKQG32G0CwW8g2Y+U/a+nmA5JdHLFmBQKX9cyRV03XRnKiTTdf5ML3BILZdpPyAHJnMU/Fzfenvmd6F2TERlgR5P/u1RVrXqBjN4SN0P5iBjne3+gunlX9I2YgsKiYxI2dPK/jqbcE2Y3fHqLqjbjNOaUV5FYdHZTQHh+P5Hkgg4unV/RdRA+QGiF3WNO31dfkCPFTLSsso9ltfgDXx0e9kae8eMJij36bMiuIFOz2m00tdCFArMPlEll4dWVS8T4kMuIwCwxKVZe8wMrxCrKkQSQyqJaJQc0rFCA/FOZXcTAF7ijamIZZA== 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=UevSxe+9hXcigtWg7ojcOtcASvZlkN99DAUECkZigv0=; b=HRYPlJ5nNPbWJ4bsG+IfTJWeq05Pv+tlYb43KhCwmovUCjLWJrC0Hcw8g/A+GCk2HIhvVtQPgg4vvmm1oMJWhR/M/y5hC1+MFtcjKHms/VmUFqXbTx9EvP5EgZjCoNoP8yb7SNHdbMO3QUGXSlvBr0M5kux0szuLHEUpZk4yKw8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by VE1PR04MB7342.eurprd04.prod.outlook.com (2603:10a6:800:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:50:38 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::6b44:4677:ad1d:b33a%6]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 15:50:38 +0000 From: Shenwei Wang <shenwei.wang@nxp.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Shenwei Wang <shenwei.wang@nxp.com>, Peng Fan <peng.fan@nxp.com>, Linus Walleij <linus.walleij@linaro.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev Subject: [PATCH v5 0/3] gpio: add suspend/resume support for i.mx8x SoCs Date: Fri, 11 Nov 2022 09:50:13 -0600 Message-Id: <20221111155016.434591-1-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0008.namprd05.prod.outlook.com (2603:10b6:a03:33b::13) To PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9185:EE_|VE1PR04MB7342:EE_ X-MS-Office365-Filtering-Correlation-Id: de15d1b1-eb29-4b0c-1f7f-08dac3fc794f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 68mbckEe7WcLT5pVegoPY6LEijVkc81BOrFZ9gCDEJYyPISy1uxmXF+WcIZVW7HaTSbwhVcDob1B2zDrKVpCunBD/VQwS4IlEQG0MTvkLYmuOIuDOMb8sYTjFX2e90aaZo84wk8aFBw2lNHHKirlfwr/gJndLJtO/75ZYhak3eJ2QEQk33GwUCnsjV8PTcxYK+htIp22UCy2jKtcJiMdYzJZ97Ip+se865bPlyh2dm8gF7shvIhBCXOhB9jGcfAqn8Td3BWSHAdBWkmMP2DC/zgI1KDQcD9s5qIdIUkSP/5xreG4/WZ+iPitGONHpZmetfMiMxyBzQafwh6qKPZNtFQ42Gn6uYB2N5Om6R8KrU2a/Ha21gOEkS4Sd6MniwbIdEAvJ9efarf2o8xlAD3g/AykayZXhOyf3NdJuuyA+vxKp/7kOyelV6op8RaFoEhoT1TwfwoW5+q9Zr7GGRhdOoNsBytdCMkDRxChZzjXNoCarRC56qTpeXYC7IpnUlRIyiS4BAC6mwbtwpRhWKGfF6fM/nsZJxE5zZ4vSmoVRQi9n6zjruWmZM0ExMCVba/k98xEBmd60XCYQzMS8EUIJaijR68UsQzwxnSQdvyDJtBjgU6KW9O4X5xIR8hN6+bxGD5FZJ0C7+VWUGxjdqp88xWd/bIL6ObwkwWpkPSPlCMx6FSsQkgE9TWDiZWHkZywPKbIn/wJcKkG/GQ6miw2ezSfg2j1vQMim4RacZJo1W1WsHOHh6bgNxisp9lJ6xbPUYNpui5oZRMVq+4hsT3r9A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9185.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(6029001)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(451199015)(38350700002)(38100700002)(66556008)(66476007)(4326008)(478600001)(6486002)(66946007)(5660300002)(41300700001)(7416002)(86362001)(8676002)(6666004)(54906003)(8936002)(316002)(186003)(1076003)(83380400001)(15650500001)(110136005)(2906002)(44832011)(2616005)(6506007)(6512007)(26005)(36756003)(55236004)(52116002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NWcthTYa6k8SR0uj/L8w5Gn6beDZNxoyrDV+MmE/QiHwqmCAcL7fgNkERm7iC9PF7pwTmXM6I28ezctWzIrudwVutQUlHIVGfE7vghVMfMc96PdJtIcXYldtSktrSTs1t9xomlZ6Iklk1V00bBVEPbe7Uf1jQaTPEo3G0gny7fEdVY4FulTH7481gZqIIYmR/0njDv3tukuoalgbsmg6L6oUqWqznARVcQWyCHZWbSVkr5BH32h+POoKrNwlfcVyqnwhOsFfQKEFPTNypkvamVm3AYyRdvSbtXFX0U7lOHpDW7eIMW1LQDtiyvjPwy1Qtnsoq3DstHHO+YsR0mlv6XWItzOS6HO1lFbZsi9+2cMiuk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TDiAF0l3fXBlIzbss2WhMAnI4lmCT/95U5LxzMhFVNc+xmUJPIp10SSRFeJpZ5VzERHexKP1UKTFlgg9Z2DgN2BQdn9jPfbmu+SelQbjObJGUQSAeigEHwATK4sZI7ct3aUmtAlo/dBXsXI9J/dLlyX0M8hl7sjwM7ve0C/BY6IQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de15d1b1-eb29-4b0c-1f7f-08dac3fc794f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:50:38.0305 (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: e9clY9BKjR9Ea91JlBxluHtw/Zf4gssHGnO3wKGygbiGqZVSGhZhiJPeknja9Mox8S5PXO4UYCvEF46dZwObMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7342 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221111_075043_832462_3038AD00 X-CRM114-Status: GOOD ( 11.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
gpio: add suspend/resume support for i.mx8x SoCs
|
expand
|
On Fri, Nov 11, 2022 at 09:50:13AM -0600, Shenwei Wang wrote: > On i.MX8QM/QXP/DXL SoCs, even a GPIO is selected as the wakeup source, > the GPIO block will be powered off when system enters into suspend > state. This can greatly reduce the power consumption of suspend state > because the whole partition can be shutdown. This is called PAD wakeup > feature on i.MX8x platform. > > This series of patches enable this wakeup feature on i.MX8QM/QXP/DXL > platforms. > > Changes in v5: > - improve the commit log per Fabio's feedback. > - remove the two patches accepted by Linus Walleij > > Changes in v4: > - fixed the format issues reported by Peng Fan. > - change the return type of mxc_gpio_generic_config, and limit the > suspend/resume behavior changes only on i.MX8QM/QXP/DXL platform. > > Changes in v3: > - According to the feedback from Linus Walleij, the wakeup feature is > moved to pinctrl driver, and the array of gpio-pin mapping is moved > to gpio device node and initialized via gpio-ranges property. > > Shenwei Wang (3): > arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property > arm64: dts: imx8qm-ss-lsio: add gpio-ranges property > arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property Applied all, thanks!