Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp22469rwi; Wed, 26 Oct 2022 19:45:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6T7unNxkSpUCX8ExwssnOca6hYmBZdkPVDpgjvVeiIIR1zPn3mviBOXii11Rt/A1luBMz0 X-Received: by 2002:a17:906:2f87:b0:78a:c0d5:d019 with SMTP id w7-20020a1709062f8700b0078ac0d5d019mr39836740eji.158.1666838754421; Wed, 26 Oct 2022 19:45:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666838754; cv=pass; d=google.com; s=arc-20160816; b=v2aCu5YVUAIHdUV17AArTsfsM/KmEc8SkN9aeHFkEjmgICAnzrcB8T52wf444FMttq XRz8AO1ubmb4DxIIgj87oqZayxmeyNbYxYvFHRT/0h+b5OBj3KeDIKQ3630TRBwDIykP 12EOrMcKLKrj99ApOvzbYiZcg8yTuBkE5r+iUVnrgfS2sL3X4HD07btWO5mh8lQaYuml MNy7gC/fKD5jv0ZJeXJyqEEfGitHcvm0xidANmtvgkpeoa3EK8pKaJokfVgMQ3CrkLmS 3erxtFbx9JNr2FCoPWlUOnrOmSqOc48UCYX5Rb8YkEHNQMCQeFAtcDehSJckaYGR5XSj Mz8A== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bW4f8On1hCNLov0pvrMAu8+f0SYKuASAVJ2nnl8URvQ=; b=Dq2qM1UGN4fO+14lF9exP6Vhka811zKBuavPPr7q1/HGDd38QSak5qHvkT3It75g8G mE+Dc6H5tBHvOfOtktWKVevUGe94xF2hoA5KW5djKONhy4TBBdb22OvIx132+UhXe1Ji MuVrQWJj8gLhxtAAudmTl9bK2h8bJsYt5L9Qpq0C3MJZAxcaAQrWWdEqvtBvB6QCwqUq fCstiPhTt2xGcCHrfJc2dwdN0r5oHdmySDmcbJv5tjE19cAGaGGDz8fBNIH5qlPDQJsv iOR2trg5VKXYvBGrSD7EvzdlYeX9zphRQXviATVkCkK2HiutIWHfNVFFldiHEV3FVRjQ a3/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q3VuhPrf; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a170906844500b0078255525a6fsi111801ejy.671.2022.10.26.19.45.29; Wed, 26 Oct 2022 19:45:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Q3VuhPrf; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233826AbiJ0C2J (ORCPT + 99 others); Wed, 26 Oct 2022 22:28:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233968AbiJ0C1w (ORCPT ); Wed, 26 Oct 2022 22:27:52 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 572841413AC; Wed, 26 Oct 2022 19:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bTq1WsS0V3jJ1sprrgXqxvpZk2LbbXebw7CTWCeruOy7Rra5RrOwyCQH7g+RV9LiscyhYWcKCrmSrKNlqpeMoUuqRcpRrRATzcD2UsAWI/+6FSm1D/+uE2r3ugJe/aCV3c3RBY0r8DJWEPAfMoHg+FHpX2odwgwMO/M7ssmgKxIV9iCZ954tQVzw7fu5GKf4M0X27pSVaKnLGUM+yRhbgmzqlLseK7dDLd7tOUZWt0ypm9TmCOtfB0IEliViz7u55ipwzkIaLDLfVLTmYAOLh7Y8wbTO7nAbEZYQg1dfLFZ73bV511rjjgLta6KnpumZN4vMCdkr4vUvdC0G7mXFvA== 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=bW4f8On1hCNLov0pvrMAu8+f0SYKuASAVJ2nnl8URvQ=; b=MsBFkcrdL/DfvQly9HXlllDFswfGpacAuLYj9+5GEPIMas/xe/XJbXGSYKp8ZZB9i3CQHDjCbSREMWe4WEP6c84XgxATCHSK49rsqhCosPbeZdmp6iIS3VtM+GB3DUKMBBplhhFB04cZFagY4LHnoa6coWv7wK8fXh+JVw9rcfwjIsCm75JJvEB0r90OMVae5I8pMQvs+6PgjOTQiHOFJH+PtLv/KPiUBw/qyuqy4W8prwo3bAIn878OpN2OQDW2XvzQJLBL0k/MY4vQ6tiEL2Nh6zwHBl/6ED/8CvOe9gOmWCNS3ruPHZIVJs/2HYHAgWVNIAv8Fq1ZTk4Hpu469A== 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=bW4f8On1hCNLov0pvrMAu8+f0SYKuASAVJ2nnl8URvQ=; b=Q3VuhPrfw7HShduBXk1Tl4vWePVBfNXp99mE8ax6kJLMC9oIGOK/gWyYP8uzs4e0OFq0eoFlUMC5f6buVIkK7k6CGRT1/4c13sp7ueDw83matRD0PuwoT8X8JNBikDs9loUbKNmFkajqxM7/IlfSIM7/gJ6HCQ+32PLmsE/KVtM= Received: from PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) by DBBPR04MB7578.eurprd04.prod.outlook.com (2603:10a6:10:208::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.25; Thu, 27 Oct 2022 02:27:40 +0000 Received: from PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::4150:173b:56ec:dc6c]) by PAXPR04MB9185.eurprd04.prod.outlook.com ([fe80::4150:173b:56ec:dc6c%9]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 02:27:40 +0000 From: Shenwei Wang To: Peng Fan CC: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Linus Walleij , Bartosz Golaszewski , Aisheng Dong , Jacky Bai , Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "imx@lists.linux.dev" Subject: RE: [PATCH v3 5/5] gpio: mxc: enable pad wakeup on i.MX8x platforms Thread-Topic: [PATCH v3 5/5] gpio: mxc: enable pad wakeup on i.MX8x platforms Thread-Index: AQHY6KBK/UJi3tb5606lXM5u6pHcnq4gNMCAgAFQ9PA= Date: Thu, 27 Oct 2022 02:27:39 +0000 Message-ID: References: <20221025183244.615318-1-shenwei.wang@nxp.com> <20221025183244.615318-6-shenwei.wang@nxp.com> <20221026062011.GA18160@linux-1xn6> In-Reply-To: <20221026062011.GA18160@linux-1xn6> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PAXPR04MB9185:EE_|DBBPR04MB7578:EE_ x-ms-office365-filtering-correlation-id: c790776f-9d11-4395-f1e9-08dab7c2d1f9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N0rSzDi3l63hvMXzneRluZgU8Uo1fEeRqzWcI5CM8P9CYLrpflXnsm1+/1FR0ktb3ldUhvDY4F+xJklEA9zg9jsSSmXZrAyoGg6WwnSZy9FeCVssuZyYd9H6f/pl8MPwhZiSuoVl5BB0+Nu/xq3Owji3FYXlyOwQssbcW9jTme+jDVFfQ3RS7WUI/PMHrH9K4oF2lDEpGfvtKJCsf3HLk9iOdivknfz+pkaHFA8uMZffR7HQRUs1JaDrMrwVSyGzHFGDx/eZz2M/orJTo5BS3ha/eaov04I0jt6VrcXgJY5wz2RWr9x6ns8yV1crHJcGr+uJwyDL3y02/Bb8od/k9Rf8WtT+TyRQplbB//NaEecsj3ump4LK4L8DYMdkBljjJOMIZCQY/FeRJnX+bOdrlOIlilsBp0CTpQBAZxjp5IRnMm/Tv8K57tU8DVzVZ6QzKHLntVYzsCakZWw7k6o7GqmFUJ6JWkIeNtjLlScxAFy1rv8LIvrIl1Ceei/fj0ZaU/R8IPkmP0sHg0gZUyqA0RiY1nm7Sa1+2D4akwXMqHGYllEKJMUU7XdOMjcTOfhPYvnXdr2qyQ95h8dbVUBEmV32soy1ck1T7utEUk6kvmKvYhr8oWG2rUBzeKcVjyF+ibF2GPKgWHYccWN3nAQFgkaGVDFHKmbaezVd9LnnlRsnsYC+/MeJRlszqaZeB1FeGZ3vOPBzjZJUNMmopc1dWuABbkytTml11DlxyzHRM367btSSvoD37RZzLKeLi0zS0cg7uN4SCl4QIw4mV9Lssg== 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)(4636009)(346002)(39860400002)(136003)(366004)(376002)(396003)(451199015)(71200400001)(7416002)(2906002)(186003)(38070700005)(478600001)(44832011)(316002)(54906003)(6636002)(83380400001)(66946007)(76116006)(33656002)(6506007)(66556008)(66476007)(66446008)(4326008)(64756008)(55236004)(8676002)(7696005)(52536014)(8936002)(6862004)(5660300002)(9686003)(26005)(41300700001)(86362001)(55016003)(38100700002)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZGdBVGdSZWM2Q0JRaHJjdUZoZkpVaktvWHBtSUxINUorZUxnVVp2VC9qeWlo?= =?utf-8?B?T1hwK2dhUUVwRGloYXNkUG9KdDZ6SVhUUGlEYkVSRUJjUU5RZGtnb2pjRytL?= =?utf-8?B?NkhlY0J5Vk4yOEphWnRLQU1lOW8vVzhBMk5NeXpRM2FIbUNYbDF5a0RmSFpN?= =?utf-8?B?Q0U0QnFLTVZSM09keUUvdmpKNEJweUZVLzRKUWl2UEl5ZUF4MitWWUZjS0tD?= =?utf-8?B?ZlMzZnBlSnd1WmlhaGNTOXA5VnlPSWViU0xNcVZ4TFBCRmxDWXRmeEZtdlY2?= =?utf-8?B?bWhQSnFXN2wxcE9SQ2pDaUlDSVZheEMrZGc5eU1QL2U4eDl6cDZTSHdNemRp?= =?utf-8?B?aUZPQjBva0tkeHM0TEEwMitkRUlGTHBvMkpEQ21nMWZINWg4a2xEOFhBRUdR?=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XRwNW1ucnNscHJybjVGRkxB?= =?utf-8?B?RUhRT2RHV2dLNmV1OEVSblgzR3g4TlZkbUozTnZVaW5JRDBEaloraFBPd2g1?= =?utf-8?B?Yk9tZ09uMVplVGRkUy9HY1JFQzVOSGZLR1lTc3YyQ2dPTTRTSURBamlUY0tS?= =?utf-8?B?VFJONUpsVUxJOExSNnpzL2NsWnhJK0FUTktpRkt0SkpmS0Z5Z2NURGlzd05k?= =?utf-8?B?UnFxMFlSWGNjTkNEdzBUcUNxV21nVm8yTE5zNnNTd25VMXhab3BJZ0NvODFt?= =?utf-8?B?WHZxTlcxU2RIMnc2NmxpaUdaTy9OOE8xa1RpMUVLMW5DQkJwZzBEWkVKSDhJ?= =?utf-8?B?Rnk5NHJUYjdTT1ExZUdmSmFQWFptMGtVamFlNURDUmo5NnlKRm9BR0ZwTHBy?= =?utf-8?B?cWFDWDR0a1NzUXkvS0U3dzlzRW9EQUJzcmplNXhObHhuelZDemZETThXZmhW?= =?utf-8?B?N1RJdkQ3N1cySlFEaS9sSy9iQjFBTTRpdjdZa05BVXVUajErS3ltM1JOQWN1?= =?utf-8?B?WHJwWlY2djZOdE12dU9ROE1BcFJYZ2lKbm8yMEV2NVc5NHo0YXlkaG5CdXpz?= =?utf-8?B?OUFvUThMeURRUFFvRVhjK200MVlpUzRDUXc4cFl5elViOTZlNEhEUE1XclNZ?= =?utf-8?B?K3hKYm53NUI0cUtHYVpMWFRTZm41UUlPZTdwRjVQc0xUZlVFN01oSnBuZVNm?= =?utf-8?B?MWttSzBoZzl3a0xsSXhKaGFvS1dTMStnTTFtRTZMaDZUNDdzZGVIV3MwdCty?= =?utf-8?B?KzNEelZkOXVkMVVobFphdG9vTjE5ZHpYYzhOam1FL3A5cVRjQ1B6ajl4OHRv?= =?utf-8?Q?8BaWsDhA8yIwaaY4Q8FlxxzU1?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9185.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c790776f-9d11-4395-f1e9-08dab7c2d1f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2022 02:27:40.0078 (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: Zew46/2Boz3ZNzxfHpvoMnTkr2VNb/IZlDUcAcafjCEL5QS41rMoXXTcTCNbAoQ34LrSp7seh1C3d//cHIfizA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7578 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGVuZyBGYW4gPHBlbmcu ZmFuQG54cC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgT2N0b2JlciAyNiwgMjAyMiAxOjIwIEFN DQo+ID4rCWlmIChvZl9kZXZpY2VfaXNfY29tcGF0aWJsZShucCwgImZzbCxpbXg4ZHhsLWdwaW8i KSB8fA0KPiA+KwkJb2ZfZGV2aWNlX2lzX2NvbXBhdGlibGUobnAsICJmc2wsaW14OHF4cC1ncGlv IikgfHwNCj4gPisJCW9mX2RldmljZV9pc19jb21wYXRpYmxlKG5wLCAiZnNsLGlteDhxbS1ncGlv I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