Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2217860yba; Mon, 6 May 2019 01:47:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+utkGz3H0FkE90GPIwBr7+22w6mEw6nCemf1VqWlAhGWaTiEwlmLGdfUZA49AczEXlI5+ X-Received: by 2002:a63:fe0a:: with SMTP id p10mr29987363pgh.86.1557132439280; Mon, 06 May 2019 01:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557132439; cv=none; d=google.com; s=arc-20160816; b=a8xyInE2clLQJIfW91vZs7SSdEyjPjzAuB1FwrEqqQ7CAvknByo3oxUfuz3yWMdsmn qmUVCvQjY0zcs/H2js0UPayjtctEE6AvxLv9j54oBu0f70T9/bOHt++9g4JbBI5rg7jD A1D9DhTtZBN36kMflEzYYh9gE3oIJCEDCAwLJlqdtu0BsMrZT0ONBp4WEea+f0iAXpXv Hgip8S4Lj+iQ8O9zLHKeGvOBhNa/aV6eeAMFXdw63vLISHfyI8HsEgB7xpYCHmL3eFN/ 9va99B/GA78+tH+pfPSRgs24Tbrdvi/n4+SYbvzB+6NeXiI05Dtl1D+HC5kv8pubRkBw 5rYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=Yhqinn/fTkT2CCk6OS8uqagWWGsSiQ0BvrKZJyrhaKs=; b=KSc0cscaPxIClkKCPBEE0OXiK37qg1VcZ5l1Ps7v98g0LgPt1bnzVGBqjmSL9VEvrL RLfsFk/b3d1WiaEUVj0KmmseDO90NfFTgRwCisHAHqm1HNVY4n3yWkOCcC0ZXQeUZ6vO 8jovfIUBTPQ6N4ah0yc8ct0MTavLHHoqwu5pOgEf6N5bk4V1vnbNmzzBdSBbym7LlX9j 6+OWuA7ooJM0YMj5kNY+7wUyq7TUBSQ3WyiaV4exBD4EVvwu4VbcbBfXIt9rYkmpJJC+ nrhVCD5Ymj38GGMgprsPW7ZR01U3QOM6XS7NLyAxIvajtwrG1RpcKo/i+WsIEN2k+M6n ft4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=pPMMgfgt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 1si14512368ply.311.2019.05.06.01.47.02; Mon, 06 May 2019 01:47:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=pPMMgfgt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726181AbfEFIqL (ORCPT + 99 others); Mon, 6 May 2019 04:46:11 -0400 Received: from mail-eopbgr60073.outbound.protection.outlook.com ([40.107.6.73]:44148 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725861AbfEFIqL (ORCPT ); Mon, 6 May 2019 04:46:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Yhqinn/fTkT2CCk6OS8uqagWWGsSiQ0BvrKZJyrhaKs=; b=pPMMgfgtCz5JJdbfUk88q3r3ESup/OPSpcnOcDYks8Iqg6EML4hvgbAZLYKCP1/M8bA+mwSze5Cd54Q2yHKEuCYXDaqJvFa56m44oylmpT9/ujG/TpOnL3i3lcwPsq43KjoWnxqRqarcR0/zd7Ervg2Xgu+0pDXXI6xbc/sgYJk= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5956.eurprd04.prod.outlook.com (20.178.113.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.11; Mon, 6 May 2019 08:45:27 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::3173:24:d401:2378]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::3173:24:d401:2378%6]) with mapi id 15.20.1856.012; Mon, 6 May 2019 08:45:27 +0000 From: Peng Fan To: Aisheng Dong , "robh+dt@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , "srinivas.kandagatla@linaro.org" CC: dl-linux-imx , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "van.freenix@gmail.com" , "kernel@pengutronix.de" Subject: RE: [PATCH 2/4] nvmem: imx: add i.MX8 nvmem driver Thread-Topic: [PATCH 2/4] nvmem: imx: add i.MX8 nvmem driver Thread-Index: AQHVA0ZmyuV26b+HdU+wzmbIrs3FtKZdxl6AgAACjxA= Date: Mon, 6 May 2019 08:45:27 +0000 Message-ID: References: <20190505134130.28071-1-peng.fan@nxp.com> <20190505134130.28071-2-peng.fan@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1dee24b2-5fd9-4ab2-cc8b-08d6d1ff3054 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM0PR04MB5956; x-ms-traffictypediagnostic: AM0PR04MB5956: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0029F17A3F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(376002)(366004)(136003)(346002)(39860400002)(199004)(189003)(2201001)(68736007)(2906002)(33656002)(7736002)(110136005)(316002)(54906003)(53936002)(11346002)(446003)(8936002)(476003)(86362001)(81156014)(81166006)(7696005)(76176011)(53546011)(102836004)(486006)(6506007)(44832011)(26005)(478600001)(99286004)(8676002)(2501003)(186003)(4326008)(6436002)(66446008)(66066001)(66476007)(74316002)(66556008)(64756008)(229853002)(256004)(14444005)(25786009)(52536014)(305945005)(14454004)(6246003)(5660300002)(71190400001)(71200400001)(55016002)(7416002)(3846002)(6116002)(73956011)(66946007)(9686003)(76116006);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5956;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FYOzvaaQyjkKb15ktyq94j3Rz5cT03yfaXl25s+jk+EGH/7MvQmi5YE+PKMtr2eGnJXYIeALu1ken6sW8FQLk8xapnwIi/m3LkAgbxFysbJ8hS7lcSmJ2212KbDEbVBaM9MATsOeNNuIk59gEOFslJ6cfTfCOanNuYZsto6+MuJ6K/Nus2Bavi8PM7zpaKwJILeXL3K9Z8udEkG+wMeVFdgGlgc0hTKwnQ4Nz4C2Oa5WBDlzmWwFTjOV1oa9dMJyAOwc5bAR/Vcs4fE4QvK3H0cNY/f4W2AwvUUrdLkbBah2NjxSXBH4J7feIp36+p4v3jDTKFrMneB/jqYu+0HWaWhoSU61SeI5IWANvL2BfmabUwxXsbyoWfep44R73rtsjzGSUzZVKMzcP4/3zJFTLMd9iHjYnUuT8QBiBlSbu4s= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dee24b2-5fd9-4ab2-cc8b-08d6d1ff3054 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 08:45:27.5974 (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-Transport-CrossTenantHeadersStamped: AM0PR04MB5956 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWlzaGVuZywNCg0KPiBTdWJqZWN0OiBSRTogW1BBVENIIDIvNF0gbnZtZW06IGlteDogYWRk IGkuTVg4IG52bWVtIGRyaXZlcg0KPiANCj4gPiBGcm9tOiBQZW5nIEZhbg0KPiA+IFNlbnQ6IFN1 bmRheSwgTWF5IDUsIDIwMTkgOToyOCBQTQ0KPiA+IFN1YmplY3Q6IFtQQVRDSCAyLzRdIG52bWVt OiBpbXg6IGFkZCBpLk1YOCBudm1lbSBkcml2ZXINCj4gPg0KPiA+IFRoaXMgcGF0Y2ggYWRkcyBp Lk1YOCBudm1lbSBvY290cCBkcml2ZXIgdG8gYWNjZXNzIGZ1c2UgdmlhIFJQQyB0bw0KPiA+IGku TVg4IHN5c3RlbSBjb250cm9sbGVyLg0KPiA+DQo+ID4gU2lnbmVkLW9mZi1ieTogUGVuZyBGYW4g PHBlbmcuZmFuQG54cC5jb20+DQo+IA0KPiBPbmx5IGEgZmV3IG1pbm9yIGNvbW1lbnRzLg0KPiBP dGhlcndpc2UsIHRoaXMgcGF0Y2gg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