Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp784513imc; Sun, 10 Mar 2019 22:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzw9FINs5pQjm87FKXx5gqNiScEevMvhpTeuUECdhnPntTXsKd1q4k2AMKVvh7ae5bNPpVA X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr32201182plb.110.1552281212972; Sun, 10 Mar 2019 22:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552281212; cv=none; d=google.com; s=arc-20160816; b=xhlPNI4Y3uyTR2GBCraSJzjWHirwbq2A+z/D8Y5ptjuSTgWDeXfg9vXaDZTCUj58Ne OmXmKHZf21vnvVvjfSbLc/SbTGYoIjj0Xkpj8F/ghcYT8i5yiyhwJclfP7ziO+4LwsU2 IX2NG45RSnasRzhni41fkG2vAyzS80UJT8ny1umYppm5AJrpVZPg4AEpnsfAjpyTRygY ZaBUnHpa5Omxi/wIQ9cDfrVu20WNNrToV3uwCBSUqyeWIrRLk0EZGE1gzC096ZeuLqgW ZwT+kB5U1SCZwoihpm5evJYLSjkep2iZZI1RmxUzFlMofD0GhdcmPmJwYATEsJuA5rn5 j/YQ== 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=spNJJ8Vo0kA/OPVer70jsdN0Y1UGBEGU56GQwyPUxNY=; b=SXTDoEL/mu+DfqYr4uVbq5f4HxOTD6bMOSkcZEBxroroNJn02jeExztyY0nYKgZclM yNTUWbC1KiE9cS4aS5Skd8ibQQBNCeV/tU9RO/9w2hY+JVbIChXV3uV1tqtNYhIUk1db 4PeQxhLt56sEqk0UizOVwMndoAFfLC42oGqqwQxSpxlYgaYvHI0WCjxYZT/3JTYd5Trs QlQ/HDN7thpboEdfYaWbbrrHtWAWvOwTYWkX3W26y/UgjCXGgoeydS1jyvGIohAveOnY ep0DFNd5nup3ewCFYiWAR58gJvqgxSTTvEnR07lSBDR5P2nL7jqE60n+W9LTF0VJpu8X D1mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=bCkd9n5r; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si4247502pfh.190.2019.03.10.22.13.16; Sun, 10 Mar 2019 22:13:32 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=bCkd9n5r; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727238AbfCKEhy (ORCPT + 99 others); Mon, 11 Mar 2019 00:37:54 -0400 Received: from mail-eopbgr730050.outbound.protection.outlook.com ([40.107.73.50]:34368 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726993AbfCKEhy (ORCPT ); Mon, 11 Mar 2019 00:37:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=spNJJ8Vo0kA/OPVer70jsdN0Y1UGBEGU56GQwyPUxNY=; b=bCkd9n5rE8jJ2an2Q7JwxFkUQhKo90Z2xcXmmGjp+wLFE+9dtCYGw4SflTomxJ/pWVP50nESr1/CwdVbunxlSr7TQHFMDsyocWjGHsyNtYExEiiQnmq3Gx8kU+Z1zJMdGsfsriHP/PFP0qcuUUKPVEUUomCbElFiUtSenXpMX4o= Received: from MWHPR02MB2623.namprd02.prod.outlook.com (10.168.206.9) by MWHPR02MB2222.namprd02.prod.outlook.com (10.168.243.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Mon, 11 Mar 2019 04:36:38 +0000 Received: from MWHPR02MB2623.namprd02.prod.outlook.com ([fe80::c89d:e485:cb5e:89cf]) by MWHPR02MB2623.namprd02.prod.outlook.com ([fe80::c89d:e485:cb5e:89cf%5]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 04:36:38 +0000 From: Naga Sureshkumar Relli To: Naga Sureshkumar Relli , Miquel Raynal CC: "bbrezillon@kernel.org" , "richard@nod.at" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "marek.vasut@gmail.com" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Michal Simek , "nagasureshkumarrelli@gmail.com" Subject: RE: [LINUX PATCH v13] rawnand: pl353: Add basic driver for arm pl353 smc nand interface Thread-Topic: [LINUX PATCH v13] rawnand: pl353: Add basic driver for arm pl353 smc nand interface Thread-Index: AQHUwEH1zZQS3QRob0y10ZaiOKtLVqX7XMyAgAAduPCACow1sA== Date: Mon, 11 Mar 2019 04:36:38 +0000 Message-ID: References: <1549694247-24625-1-git-send-email-naga.sureshkumar.relli@xilinx.com> <20190304104301.062ccc1e@xps13> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: x-originating-ip: [149.199.50.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 348bfe4e-a49c-45dc-1b13-08d6a5db26ce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:MWHPR02MB2222; x-ms-traffictypediagnostic: MWHPR02MB2222: x-ms-exchange-purlcount: 2 x-microsoft-exchange-diagnostics: =?utf-8?B?MTtNV0hQUjAyTUIyMjIyOzIzOlZwV0JreVBxclZYRjdlNGsxYk80WkRRSnly?= =?utf-8?B?K2E4TkZsMzVsZEc4TmhaZkg2VGdBMFhicUFuNE5iaGt5MTlQNzkzeXZUOUox?= =?utf-8?B?dmgwMFN2aG0vQ1hDYUdDSU1udDAzUngvUzFiV3lYRitBVlhyZ3pFcElNZjVl?= =?utf-8?B?RGNqZFRCTUplbEJWZ3R1S0xaVFJoaEZ6VVFEb0hINnNCbjhJMTJaSXVLS0Ru?= =?utf-8?B?enhIdGowZXVRRTNyVmdZV0xFYVQyekhJUmFQckF2R01Idkw4Y3I1S1QwSGJi?= =?utf-8?B?aVMrYTBFdm0zWllUeHI1MDlPZWM3dEs5b0k4Zk5VSTNnRy9HcE0xS1YzbkFR?= =?utf-8?B?MU0yNjd4SXUzVU5jalFRYTlUY2NiTEhsb3lxUTJBeWFReUp3NTdlVU5KK2dI?= =?utf-8?B?WXlYNFVsZkJCR09KakpRWW1nWEdnZDgySHlXVEpYNmVsejNwYmNkd2V6YlQw?= =?utf-8?B?L3RlTG1PNFk0UUhCT0lXYmpkNHcwd21LaVp1R255dTZwUEUwT0dSUW5PbVU4?= =?utf-8?B?eWRRMmxPV0hKblFybW5KM0FkSjFVNk9HNnU3Q0JsT09hSUlyMjJySzJsam5m?= =?utf-8?B?QThSanAxeHl2Y29zT3VENjRKSmRtVnZnNUdJRnNrdVc3aHFmOWNwV3hSR1F0?= =?utf-8?B?aExOa1dFSlVPb3JjQTJBbHhHRGpyMDFJRU4yQTdEcklSVVhtNm9vUGMvWEx5?= =?utf-8?B?aEt6QTF0NTY4Z3RUYitJe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0JGZ01JT2k4Tno1NSszQVhQRU45RzJsSi9YYnN2NGpGQmRSY2xsWjN1?= =?utf-8?B?VmRGTjBjNjZ1V2lnYjhneEJsMmkrSmpheENSOThpWEpuOVJibWtvOWlVWXhs?= =?utf-8?B?MmJLTTErcDI4eG1UR3VsVjNzQXhsd2EyZ1VVUXdoVGF4blJnRHNIZkRBYWpR?= =?utf-8?B?cUNNR0JuRFJnb1lEQU9BU2gxbTgvZjQ0MnNFWWVndnloSitiVlVIOGZ4T01q?= =?utf-8?B?dmF1N3dOME9YZFUvQzRQTmM5NVdOT0t2WlpFaFNYTkdMVUp5eFkvNTBBbVkz?= =?utf-8?B?OEozK2ZEL3ZrT09pNTBzUVRkbG9XZk9oalNDc0dybDBMUjUyWVpacFN6aG04?= =?utf-8?B?ekVxMjE0N1BRUkc0aFBqSWxNNTdVNHQzdjJ1dz09?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(136003)(376002)(396003)(346002)(366004)(189003)(199004)(51914003)(13464003)(14454004)(7696005)(478600001)(102836004)(53546011)(14444005)(6116002)(6246003)(6346003)(105586002)(106356001)(5024004)(33656002)(76176011)(3846002)(966005)(6436002)(71190400001)(71200400001)(66066001)(186003)(6506007)(229853002)(316002)(8676002)(446003)(26005)(55016002)(476003)(486006)(2906002)(8936002)(25786009)(97736004)(68736007)(256004)(4326008)(86362001)(30864003)(99286004)(53936002)(54906003)(110136005)(305945005)(6306002)(81156014)(81166006)(11346002)(5660300002)(74316002)(52536013)(9686003)(7736002)(66574012)(53946003)(559001)(579004)(569006);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2222;H:MWHPR02MB2623.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nagasure@xilinx.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: SXB8eToKiPWYVGpGcm+vYKN5MjTVoS2kx/oy9BxJC4CyH/ZbtGtrjqVPDxPmJ3eJRKHXqNSkWTxWBSWSAeMi8ak0O3vv5mBn9yPniLQ7Ji26AbBjs2gbLXoulgmX0iGEHN1SAdcYchz8IXo5/W3+P8pCltokn7e6xbt2nJ/QIRfwtIx9PynelaoaxTJMQETBSb2kIsl50EjU9uDDANwrC2Xa6Hd8TnVCrSRb9Y0oZFNYtGRxgl/grzUrn4eQhJymSBdPvp/c/yAieNZEuGkcMTtYhi8WT4zZnC3IEASoEzWajsARqSgzhaGnXf6gpNvYXJTmdqv9q8VhmUdsZExmSPEth568MSZNtFn6vpYkFLYV7qxTAE3VVeu0lCajFOMx3TyWuFIeKm2Tba9JvWRATmZHPt3P7fZtW74zyYxkDcw= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 348bfe4e-a49c-45dc-1b13-08d6a5db26ce X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 04:36:38.5705 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2222 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWlxdWVsLA0KDQpUaGFua3MgZm9yIHRoZSByZXZpZXcuDQpJIHdpbGwgdXBkYXRlIHRoZSBk cml2ZXIgdG8gcmVtb3ZlIGxlZ2FjeSBob29rcy4NCkFwYXJ0IGZyb20gdGhhdCwgRG8geW91IGhh dmUgYW55IG90aGVyIGNvbW1lbnRzIG9uIHRoaXMgZHJpdmVyPw0KSWYgYW55LCBJIHdpbGwgZml4 I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