Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1107328pxf; Thu, 18 Mar 2021 21:44:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUM8fPsvENA3l4SH8Ij2X1XGZmoQVl4ZvhrjMfqNKUBtVx2EGb1dTb4cWIM5diM085O+7U X-Received: by 2002:a17:906:3395:: with SMTP id v21mr2236141eja.322.1616129090154; Thu, 18 Mar 2021 21:44:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616129090; cv=pass; d=google.com; s=arc-20160816; b=hT3zMqah/KKUusRsShyuNrwD7L+W9tUJj8v/9vlakz0pZPR0Bkyy0eBSmSyu8mxAs6 YIewULuRQ7Z9acU+duE94bJ7QQ+82i2HlNRIuZm74Ui7pNXyHSmJMCpM3AcCzMpqOwlU 4d0f/hT72pkMeDrFC6Ire8jmxzLBnNZw01uZlur9YSSxybvqgCWoScWBfdaiznA1Tskm SgX3BRFpPhCCqqA+1T3ztUJqrl0yl0P9Rf2Syy5SryJBAo577e+wt4l06tY02F6ufCvz vg9H7rGHRQGd4Iym+G9oDnmKvbfDvGUnRm6tl7jmbyko92bTQoHA6d7dl9fMkd1vvU4X 1NSw== 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=MC8SQcu4+d+W8p5mgoNTIqyjor2HSzPw8WPVvf60v1Q=; b=wz+/bSDQRK5aupik3AtZgPeKy6gRCibWqD9X1MuDWrvK+wCjZH2+U5dY8ziaSs+2tG v8hvhB1NmSAGFJsvVRvPBukv1eTJGnwZWGSIcJni+SoaUUY3IgOfwTOgD3E+TXct9c+5 gMT5ZbvPs8qU/Rdo2opaACxuhWySPBhJun3AjZ73ZclC5zAJDwvTtkqqQttP1YvD9bM1 FndQ9EfEw1YzUYg0zjhdD2zLNR8ZamJx0PN5c2oDFeINO5AJpx1Wm5dI0cKvoUf9WQA2 cHd0q7eC1FCWBGuT/vhkRr7zv3neHj1E4/9Jvn9Ik/2KPOxpBaz2b/YVhElUQ2zkjfY9 MoJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Lw1uBQuM; 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.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si3152540eju.48.2021.03.18.21.44.27; Thu, 18 Mar 2021 21:44:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Lw1uBQuM; 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.18 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 S233734AbhCSEkW (ORCPT + 99 others); Fri, 19 Mar 2021 00:40:22 -0400 Received: from mail-vi1eur05on2050.outbound.protection.outlook.com ([40.107.21.50]:15905 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233730AbhCSEkL (ORCPT ); Fri, 19 Mar 2021 00:40:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=INbniir79epp0BwMZonSjvnyl5Xhu6qzBfMLQkHZqnTlFExYWOPWHsL2SsErbd5Fz49ePhCx0hGih618EfsmVQFQsc41TFpFPXr8B6DxFRi/hIh/8DZmjndvI31P0WsFzLQ/4KKndgwds+40OELjffcCR0Xb6fGkmgSPuppuX5XX7Ms8ufp4FponopT4z1N7KfhiMza56JYV99BK38gIfOY2ct6taZHZtEEDao+dTO1C4xn9eCbaVK7FrF6qig0aGUumzPqrN+lsp/VUeE2n/yfTtd16tVaeRJO+ciQjPPvwjoO6akNp2bnIfGW/LuBWcAoPhaIKJU4BuSE0b8bbBA== 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-SenderADCheck; bh=MC8SQcu4+d+W8p5mgoNTIqyjor2HSzPw8WPVvf60v1Q=; b=e7XWGZWFZ9OE7VslonlMltLfWO6NCLuUya/d6lsvunZnc4OmaqRNHSEMi3/LVprSb6qrnTUJh1u6So8FLCoeqd3IGGtz/N0c6tFBXxOBFlM5YGmntw8O6pXS/+3lNbJpWaU/84p8IPeiDkNAKMyqecvIXTo9RUaGEjeAOSm23a+t6wlV8XEAxF1VlEYm/BGzTUo9y1plwV8rbvWb16kUY1/+RzVbBmuFlkkeu7aLeCJMWIro1KAYGuDUTXydCYz5CPnQOoGKbmkhz2y+1Zt2V3CI77Ghw2D+yKfbs1VeCIy6wGcMYgaTarWAjkbN6KZdNKwdinS51lY4RMjE7ByTJQ== 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=MC8SQcu4+d+W8p5mgoNTIqyjor2HSzPw8WPVvf60v1Q=; b=Lw1uBQuMJxf7M6LoUzJdlghPK7PcL8aBGDvd9ji7+EX4EJZG+aJr2kMlToQ/qr0E41dLWnItMH1EDZ4oXDaAgKrWdehHqBXAy3NMFtQy9ZPVsDlYVvFMrqfZAcuFj3p2UMQUWDoC2j+Ge5emHQun3l9t11On6/xfcvGESxOi/pQ= Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.23; Fri, 19 Mar 2021 04:40:09 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::ecad:ebb8:8eb0:d359%7]) with mapi id 15.20.3955.023; Fri, 19 Mar 2021 04:40:09 +0000 From: Aisheng Dong To: Clark Wang , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" CC: "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "sumit.semwal@linaro.org" , "christian.koenig@amd.com" , "linux-i2c@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support Thread-Topic: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support Thread-Index: AQHXGvpN2akEV/mfwkGzCpLEq/gN0qqKuivA Date: Fri, 19 Mar 2021 04:40:09 +0000 Message-ID: References: <20210317065359.3109394-1-xiaoning.wang@nxp.com> <20210317065359.3109394-3-xiaoning.wang@nxp.com> In-Reply-To: <20210317065359.3109394-3-xiaoning.wang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3676d17e-fff4-426e-b17f-08d8ea911398 x-ms-traffictypediagnostic: AM7PR04MB7046: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5phMMykaTLneRp5133spkV1xY7zIKlPOYEFQ/2C5ZvKiYFgTtsgocELbsp6JOQaouE5K0GRc5wGNu1QKpvb0tMtsYYVxeg6XWG19Xh1Q6+0qO/ZtziguRQTXREHoQ0T3YtE3ahetOvCLQeES7gJ0svAmylD8uSRbmLQPegLp4s0WXd/4rpORxgGB1uu/lJRXfXdozTwjaYaGU281aZ9ZGu+ppJLflUxAlu3+qXV/WI9KLNaUOxxXLWGFxoCF61+X4OBdGmKC70pNx17JOuFd8SLk4Oz9jI8jAIX2K/W8meb4cycQftkOJIyGenubGV5rS4g9zAwqPLNNY9cNGRIUJZWjKc12neNbG8fqxbSiPTtVCI7V+47nsinsEeIHmHs2WYPMB5qcQixakkMrkOcyiCDsYMWxntrjf9p7FSQNs3Qbh6Y8eni1NUo+KJtECP6dSC1pKkdSn65cXdpPZ3Zf0PQaIYXhgvnXH5Ysis9rZnmVhuZ8AgAWDTJZXogt3SInH1U0FE9YY55rtmbrbVICnYeiS13F9kLnD9i07FTAM5M5rja0eauqFK7hKUIrOvOM/oQGkl1J2WLyAf78ouKeRrT1aAQPGKvLb1kermI4vzv9Unj/VVQLh/OBefc/YxIB20wkL0SQp5Im8GvpHRbzNTKtZVpAuFAqiWhOyJpuQso= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4966.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(376002)(136003)(346002)(39860400002)(52536014)(9686003)(186003)(8676002)(33656002)(316002)(71200400001)(38100700001)(4326008)(478600001)(44832011)(8936002)(110136005)(86362001)(76116006)(66476007)(66556008)(66946007)(66446008)(64756008)(2906002)(54906003)(26005)(53546011)(5660300002)(7696005)(55016002)(83380400001)(6506007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?UWNyTkhQNjNXYi81QkVzMG9BcHJQZzh0SXp4NVRvdnZ6L1ZKOVZqdzBocm1S?= =?utf-8?B?S0Yxc050Wjl4K3k0TmpsL1VhMURaVDk5MW5NcnkvMnJ1d3p5cHpkOFd2QU0v?= =?utf-8?B?TkhrWVBSM3NwK2xrTFVyY05iQ3RySVVVdEFpQXNQc2J1WmlEeFNLQ0FrdG9G?= =?utf-8?B?RU5JTVVscnVXUHBja1cvSDlrUndrNVZnb2FkOTl0d2lrcUp4RUFYS0QwbDNJ?= =?utf-8?B?WXRFbkxtNWh4MTBhU3VtSjYzOUFCZzIwRnRkRW1vTGpnbWUrN2MrTHpRQlA1?= =?utf-8?B?SkVISXN1cVp5Vk5HbkxwbGVUcXA1L1BwK200bTZiYU85Vm5xZk1BSnZMNWhz?= =?utf-8?B?NTQwV0dkd0RYNGt6c2h0bUlCSEhPY29FYW4yRDVHZFpMM25RYXVWSlI4bURO?= =?utf-8?B?NlQzVGZ3Zk1jOXMzQjlvb3RCdW1EaCtjSkhoNmdPaEpHMkU3Q0pWTjRYMEht?= =?utf-8?B?OTczOWFBbUhtVVE5MTRDSDU5MkZFYzJHcmU2SWx5L0hUeFBhWVIvZ2k2SFdN?= =?utf-8?B?UFRKYkQyd3huUlV4TGhoY1VBYUZHSkhsVytPVmJzUzlkSTBxUnRrZk96R2Jv?= =?utf-8?B?S0kwOEg4RVc2a2F3aGpldjZVNXlLczZMQjVpVVA3ZUozZjNIOVJtYzAzOEph?= =?utf-8?B?dzlQczRPUzczUExaVHdDb2pvdGlmMXBlaXdCRWxKdVhxaFVXdmhWWXdaemNB?= =?utf-8?B?OStPT1JsbmVFcnZhK0RnR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FnU0VNYmxxWmIxYXNSLzlwUWloSlk3QXEyUTFjWFpGRzRmWTBTSWto?= =?utf-8?B?aXRjSm83VEh1ZWVzbytySnpEeFNqNWMvTEtqMVFybDNnOG9Xb3FkdFdlSEJF?= =?utf-8?Q?PKCdKS31KvxXdIszvHmde/w5SMAWEje+2zMT0o4?= 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: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3676d17e-fff4-426e-b17f-08d8ea911398 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2021 04:40:09.1099 (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: e1RrkWn6FatB1+KUc5g6R8Ulx/pfrHXB5GGwo0exrBvDh9g4RwJf5XlfV1Sk6hiDRVEL2o2VV/gXWYADk74HJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7046 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBDbGFyayBXYW5nIDx4aWFvbmluZy53YW5nQG54cC5jb20+DQo+IFNlbnQ6IFdlZG5l c2RheSwgTWFyY2ggMTcsIDIwMjEgMjo1NCBQTQ0KPiBTdWJqZWN0OiBbUEFUQ0ggMDIvMTFdIGky YzogaW14LWxwaTJjOiBhZGQgcnVudGltZSBwbSBzdXBwb3J0DQo+IA0KPiAtIEFkZCBydW50aW1l IHBtIHN1cHBvcnQgdG8gZHluYW1pY2x5IG1hbmFnZSB0aGUgY2xvY2suDQo+IC0gUHV0IHRoZSBz dXNwZW5kIHRvIHN1c3BlbmRfbm9pcnE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