Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4317946pxt; Wed, 11 Aug 2021 03:17:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvzxOePw7TfnTDMeSNTQCGCHP3lxORAfDn0ECeIn0LJPYwLKT6tGyBo1Y4ehkO/CZJA7m0 X-Received: by 2002:a05:6402:881:: with SMTP id e1mr10871595edy.53.1628677074098; Wed, 11 Aug 2021 03:17:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628677074; cv=pass; d=google.com; s=arc-20160816; b=WC3fsV8aw3HMFWte2I42TEQEBbTaMLVl/RizpQqs1vg0uoS1TU+5VdualE6t75t2L2 VrZ5SqvAIzH+PjtsEeqAmwJuNRdvo5mLtwFT/nKsiAhAosWJzM+wMdio736hFR3yNIwG dJwhgndL5lH6VrNdRQOAzzMmku3nA+AoPapta66HrdNF7Vu73vBnz+sa3lwDbolk1j3a gHfVckk3ka6ofpv/teztdUrZM6I4dvoIQGZHbToz9SSoCUU9Vk7KeWorscY5PJyI+7eg iLoRGm78uu8b1P3rwyH6ujh/r/z3OYnnlYHH7mIfYJV7fCWvZZ4nckGzegl4G81E1KXX 9q6A== 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=syjt8LAJOuQHQ5nx6Ab6nGWg5IoTmZw0cdHBm2JGJYE=; b=EaJ3gSTXK4REvbvnFw09VbcIjlVL5Gy46Sbcl7jYianx3dLs3GxZ2Digen0QHM39ts Jt3VzNWZb/k/LLPJZ5+RKg38E4TbOMCIpl7mJ0+VqK5FPFuHes6Y6iFSXJGIuwJlnZZc FxTslsQO6mYKf73n0JyYUEL+ejYor2ZOfsFwowWUYtXZyNyTQN+DEUeI8SSpikjmk2lN RuiF5itP6Cx5C8PYZ6Rl0HaK+fg0+LLQyTEJvp5LeGmbPh+SbX2R0XcBomr9zUeSyteD iHmVeaFsR2j9mlZEOY7wYPCmgK5sQ/Ii7Ho4fR1pLwOa0d2xxKwrMbWrWaOqszdbapzG lHJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=kHBvEo6q; 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 w14si10718560edl.215.2021.08.11.03.17.30; Wed, 11 Aug 2021 03:17:54 -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=kHBvEo6q; 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 S237021AbhHKKQc (ORCPT + 99 others); Wed, 11 Aug 2021 06:16:32 -0400 Received: from mail-eopbgr50068.outbound.protection.outlook.com ([40.107.5.68]:42884 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236785AbhHKKQc (ORCPT ); Wed, 11 Aug 2021 06:16:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iU/WctefnlIToUM+cb5C2iKwgI8oFqzD8pG75nJElUZEll46Pu6qM3ARz4/vb/stcQgReSPWzc8WEUgIrXg+KCTo07j9IwQLuqAPWwi0mBIj8df/lwYPzGiDK9roxYPcgTjg/oy9RtPbZjzKnWavCJxsYHTFM8u0kqqw32TJi4LK7iKAf9Cjsk0TRZfPwkBbMz8f9nfZpWb1ob6+c2VDKBoETbCl/P5hmSoeHGzIKQAYFbtPAPG51qF04SHBX4zPRfXBFr0Ih/9pU6OroWZ5tdiOqxy/IiQ/3ae5JYUHdUb12EkBpNt5oaR0+tLFaxxsNEWUkYo/GxaFFJDRCI1QoQ== 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=syjt8LAJOuQHQ5nx6Ab6nGWg5IoTmZw0cdHBm2JGJYE=; b=HbBJHtyusjf68w2if4zzlleIneZGuRD/94eH8crfYFUyTd0iLSjDTTYg/4vdiNx0QL+i6hd6utVDInoEnZu7EfoMJFmKbRBrTiRdKWn83aEE94KrK6JGRUAke2vQf/EL+n94Vxam4egFEZzLL+0fQs93VoA3ceNh1fEWQj9jSVB8H1IBkd3oQJwPlGO4WcGC115CBKwJQ8J/ILKIvz3n3EcudApv9D7a5Ez7/qPk4CxzX5RCG8m9P5SOY52D6bHuuLGwvsIjZwwOnNZ0ZxQ2B1W+10f6QJOsthIgW+WM4/JTm7zbaAq+nrdiuTvVe2PbW3dE92ANx4WNodmYvzs8DQ== 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=syjt8LAJOuQHQ5nx6Ab6nGWg5IoTmZw0cdHBm2JGJYE=; b=kHBvEo6qQj2jYnE5VPunrgdQPCkH6BCLbm187a0Oh2Xs3aqvZcjMTva8TktPHZA2Ph6vt/h9vQETRHCAiR9n8HiSt3A5cc4/mWr0/jeaolWcHxYoWh/r5cOqlffxWJueyHGqFcXnlut/7z4YuyEQ+IPUbqUzR8t8qFaqMTbXJWw= Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB8PR04MB7018.eurprd04.prod.outlook.com (2603:10a6:10:121::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.21; Wed, 11 Aug 2021 10:16:06 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::6969:eadc:6001:c0d]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::6969:eadc:6001:c0d%6]) with mapi id 15.20.4394.025; Wed, 11 Aug 2021 10:16:06 +0000 From: Joakim Zhang To: Srinivas Kandagatla , "robh+dt@kernel.org" , "shawnguo@kernel.org" CC: "kernel@pengutronix.de" , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH V1 2/4] nvmem: core: introduce "reverse-data" property to reverse buffer Thread-Topic: [PATCH V1 2/4] nvmem: core: introduce "reverse-data" property to reverse buffer Thread-Index: AQHXjbpJi0D4d8PZZEmHsekciQjhp6tuEa8AgAABNjA= Date: Wed, 11 Aug 2021 10:16:05 +0000 Message-ID: References: <20210810073510.18218-1-qiangqing.zhang@nxp.com> <20210810073510.18218-3-qiangqing.zhang@nxp.com> <2a69b82c-0ecb-51cf-ea60-1827c60bfe85@linaro.org> In-Reply-To: <2a69b82c-0ecb-51cf-ea60-1827c60bfe85@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8328322e-572a-42f1-881f-08d95cb107dd x-ms-traffictypediagnostic: DB8PR04MB7018: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FxsSUchPamd5mTjdX2U6pNfvgr7L1S8gAE8EVCem+w8MRQHYD+3YEcC/MC1Qz1Iw2eRwedU1m3MryHLbWwkV5rwYFo4o8lIw9i/zfVxmqZ7qxgkg1nKXeRqWnBsN83KmDTHCajuuM/1p2YYUMw7HyevTaJF7jVSwbeLkJ02pj0A0wfxD1Z2Pfez4P7+sm7kzdmICjSHYAQUq6NP7tRpRvuKQGkH/buAGjiByvfqsPj8dcDJA3e9mxnP9ei6IyWpf8gpReNDqbLbXt//eNyA+YV+4PzMtHCeZmrgkgjhZWIw4SiT663DurVwfeuFX91Cd5+3nrT2QWvVEX+XPYl3VvyDb5W6nlzmPQfY9MpKwzO+q4jOqLQNngY81ygKvtpx5UGO/MH10VySCtOX8OQytMccbBicxPxf5Pi8+VuZ9zmH2LBXybjCCsWCTg+Dd4k2GBb5pL4jR4VGJEIDvPf0aXrH3iDExXLxRNVel/jwHdN+N4fyXOV958FvJ0DIamosC5fRtpCxes903ubgjhItu0Km1rZ5tL+RhvSbVsAgRLxi6d8sCnApAH2gEVo1yMlXWgj7iEWnlB3jxAg1Cen9vydp9Pb/vHpOAlYPgFpflu3A8UqDRyUoOjRQdL/s36Wkyp+vGw/p94K+UTy806bRFXBfgPlUcbnRVFbvvBmsmmdOfoVdcJBoUNlwNFk59MaziC9x4mUvjwPHACgElHQ8zpQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6795.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(8936002)(316002)(33656002)(71200400001)(83380400001)(7696005)(55016002)(9686003)(186003)(26005)(86362001)(66476007)(66556008)(64756008)(66446008)(66946007)(508600001)(5660300002)(76116006)(53546011)(6506007)(8676002)(110136005)(52536014)(4326008)(54906003)(2906002)(38100700002)(122000001)(38070700005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?d3VHamxGSDh1MGpEVTlKUnpQL1pVdGtOQWVPbUU2WXZmWGp3N1MyOHlGeUlQ?= =?utf-8?B?WXN3UHpCcGhFUHRub0lMSWVLTEpXb0xFNDhocEMwKzdpN2JuamhUVU00Mits?= =?utf-8?B?NzFBZ1FCT2FaTnFvaDVVU2FrTnVNYWFuZEpidnJRN3VEcUhMRFA0cXZuOVhI?= =?utf-8?B?TVhMclVLbWdjc3d0V2ptRnNPZjZIelkwelFycHlDL05sQ20yNGE3empNNlRh?= =?utf-8?B?MUV1WktHMm9CSjFpeVZRN1daeU5wSC90VFg0dDZ1Vzg4RXN4V1VlejVBT3NF?= =?utf-8?B?ZC9CdlUzNGlpOHFuSVkrRm1BOHU0ZFZFajRHRGhHcmwvcFFjeE9yeS9aZWhK?= =?utf-8?B?OVdobjUzVUVwZzBDNUVRTlFNUG5CK1FFelZCM3ZiNFBpamJMQ2htNUNUQ0lx?= =?utf-8?B?VTJhN1M1NERiVGVTU2p6QUtYQzhXK0pTSkR1WVpzRjJTemIwK1BRK3hBb1VY?= =?utf-8?B?ZU1sTGFVazdHWnorWTlVVXIzT3Z0eDZhYkFCWEwrYlNnbnV2cUlnM05TazQy?= =?utf-8?B?bzJYSFZrSExxMWt6UWRic0N3eFg2bFNPYjRna3J6YzJxMlM2ak5tTlNoRXE0?= =?utf-8?B?ZTJ1OUdSVUVseTcyeXppQ0s2MHp0UFB1ak1FaWNDWldEQVI0RVZtdWtyQ1BF?= =?utf-8?B?ODk2NU1SZ0F3cDZ2NGlZWFJ1SUZKNExicFlLMVFsS05nQTNGVm9sbEd3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VDFWV05qVWxqczJTelMrb0Zk?= =?utf-8?B?NSt2MDBCdksvaHlxTis4SnlNUWQyK0R0SktTcXU3THgrYVY4RCtSM3VXaDFn?= =?utf-8?B?RUFkYXVKUFg3UTlwT2JhcXZRc2tHWjdXRnRlWWFLRmY5ZEJUK1BjMjVCR00w?= =?utf-8?Q?RmMDj4rThrV4UZnDuAS1hoGS9TB+OEwnPTOAZFs?= 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: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8328322e-572a-42f1-881f-08d95cb107dd X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2021 10:16:05.9705 (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: UQ3dWDYVhVnXp3D2ceJN6jX/K2lckis8puts6HE4mEOOGWQtmH+ci74daQg+MMdUPlcJWD4rIICmOYZB4UCsuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7018 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFNyaW5pdmFzIEthbmRhZ2F0 bGEgPHNyaW5pdmFzLmthbmRhZ2F0bGFAbGluYXJvLm9yZz4NCj4gU2VudDogMjAyMeW5tDjmnIgx MeaXpSAxNzo1Mg0KPiBUbzogSm9ha2ltIFpoYW5nIDxxaWFuZ3FpbmcuemhhbmdAbnhwLmNvbT47 IHJvYmgrZHRAa2VybmVsLm9yZzsNCj4gc2hhd25ndW9Aa2VybmVsLm9yZw0KPiBDYz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