Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7644664imu; Wed, 14 Nov 2018 22:24:42 -0800 (PST) X-Google-Smtp-Source: AJdET5cCTaCf8taq8X/DZtRv6zAaaXsbO6bUo6sZTdMHfaDcTFn5GVDq+6UsPUnMw4cu7RWwX3xc X-Received: by 2002:a63:ed15:: with SMTP id d21mr4587250pgi.305.1542263082856; Wed, 14 Nov 2018 22:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542263082; cv=none; d=google.com; s=arc-20160816; b=cc9WdJCRtz4Zghs9MNPwkvMCOh0UWtPol3wl6NB9b4LBG6ABliZsEJRaoSwikR7qpQ 7BNAJnIGgjv9qJisrUfu8+0pm0oBgpnBXXjclLuD8Iso/YJJzWIFWy90yg0fT0PhV974 pRS1UWt4qnLla2rZEf7r00LQ/VxFnEFvlIRF/OnM4xvV6nOupoWw7LEH+vCzlojkkVP2 D2ixHHTmBYrs5VWM3cReggk3r1KWhhhrEvTLRkVjS9IdTIZuwM5HCaT+Y0wQEKnvI/zr ikLKsVJxH8V7LOSM7JAZJRlmEN3MHi7yqOYHodNKcvMJveyUYEm18Fj3luSfNGpo9mGg DJuQ== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=5X7yOC5MGYibW3U4BoU0Rdr9J+zOlcATm6stdzU9xoQ=; b=k1wdfCH8uVJKAcP0k/ppAqgpODSqUCdPw9Y/mDoC6UaBdOa3Ror/8gRzCVi6KmSftI WGDoOfSVWw2jKbdpaDVUcEXHPfip3SILbJpff1m6tNSmW1i4boojn3bk0rb3TCzZsOQK i5uEoKP/m9Amgu9My8W9Jk/z/Jj/ahosHUhaK+fRewVghALcSfIbZBP6mCwY1wU6xFxP JG+DTfTK6BstFf/EAV+yKBHxNxqMT4Duk5yG5+SRBHqJAog1yb1QyIIhWIGKFcvjwJST qER542tgc5s3GZUuCbIjcykRjxognNsFx5ei9qXrXq0cUogjfEoQ0cQm2TDmIixOgvwv KT+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=aodlX5H7; 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 h19si25291282pgb.231.2018.11.14.22.24.27; Wed, 14 Nov 2018 22:24:42 -0800 (PST) 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=aodlX5H7; 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 S1728470AbeKOQ3F (ORCPT + 99 others); Thu, 15 Nov 2018 11:29:05 -0500 Received: from mail-eopbgr10089.outbound.protection.outlook.com ([40.107.1.89]:36614 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726574AbeKOQ3F (ORCPT ); Thu, 15 Nov 2018 11:29:05 -0500 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=5X7yOC5MGYibW3U4BoU0Rdr9J+zOlcATm6stdzU9xoQ=; b=aodlX5H7nvT3TXrIS0ViOMMzNtcSwWHY5gD3hOwWv9/6AjH7IwkgvQhWeHdlO/KDGIuqHMJN7zSkfPYd74FNzv/C9MgCpGBc4LID8xD4edC9OWn+mXetsICwlAwja30c0GPr6a82VoB1xD12WgVM5ubZGNWU48ykwv4usZFR9XU= Received: from VI1PR04MB5726.eurprd04.prod.outlook.com (20.178.127.24) by VI1PR04MB1584.eurprd04.prod.outlook.com (10.164.84.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Thu, 15 Nov 2018 06:22:12 +0000 Received: from VI1PR04MB5726.eurprd04.prod.outlook.com ([fe80::297b:bb50:9b83:48e1]) by VI1PR04MB5726.eurprd04.prod.outlook.com ([fe80::297b:bb50:9b83:48e1%4]) with mapi id 15.20.1294.045; Thu, 15 Nov 2018 06:22:12 +0000 From: Yogesh Narayan Gaur To: Schrempf Frieder , "linux-mtd@lists.infradead.org" , "boris.brezillon@bootlin.com" , "linux-spi@vger.kernel.org" , Marek Vasut , Mark Brown , Han Xu CC: "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "richard@nod.at" , "miquel.raynal@bootlin.com" , David Wolfe , Fabio Estevam , Prabhakar Kushwaha , "shawnguo@kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller Thread-Topic: [PATCH v5 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller Thread-Index: AQHUe1duroFEkzCsFkCoS8/TUWpV/KVO8aOggAAF6ACAAAOAgIAAGyKggAAHfQCAATWVMA== Date: Thu, 15 Nov 2018 06:22:12 +0000 Message-ID: References: <1542116782-13118-1-git-send-email-frieder.schrempf@kontron.de> <1542116782-13118-4-git-send-email-frieder.schrempf@kontron.de> <65577d13-b17d-8f69-313c-01d23240d1d9@kontron.de> 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=yogeshnarayan.gaur@nxp.com; x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB1584;6:peFd2Ssce57GeSSSPMnB70ezm3nfsJHMapxc/gXzpDRA/L9FqElvNvG0zozondGuUjDWBHIK6TiRBPHxMF2w0GerjzFVJ9ugAy/qrBVFaVL+UhGQjFG0HQCUO1fHjlTBziJsWaG1xljvdtRXaIN2cZfGQ1iKLNGhfBVuwZlZdZg5rfLHgkRG4FQApPSiYLPAQUJa1ZC3gymUyE1vb1zH5bGLV4+GqS3cQ8M0CEUbsjkH5132P5laD7aEv4E3egbmsGrVhA4+jFIKWxNNWe5X1zzz/BLRGMq3BbJ0seTvisfNNWQ/2Kbhvcz6adZVq4PphfjGcf2ZMSdtI82dVQAM/0nqt583kNAJKfJ0hlK9DQekX1qSz6ZZaOQSFnN8fWRyTdbTkJ38ZeUhC5aL9kylCifpd5aXIPHXy+UCsjAOqJfYqlTEw6b6l6rtrmKeOKos5Ir5I+qr6f89gWwJ87+EWQ==;5:YTmUpOsY27lsxuS+zI/tqWSTF0B+r2se18xEK0T8XIGS1JfqqAx15H1R/ioaFF7MZlvCfK3XJw5J9busLJDHunIgYIDq3fx51CQBmBZbzua1mp6MoGISvu91n8RrE6lkq0aAV5fA2I4seq6oJRrU8Clt7QDJW6A2cNV+OkuCobU=;7:6k806riwT5i4qC0kWSWZJVNIcu54niSEYCbe0tJaj6cLYxoZTKbp76hASTcBSHpnq/EZXKA+P29+4eITXfUuYgFgc7T92+3L5gqGho2JXblRI6rD/USq9/2095onx2xO58zt+hh+Pi05N3IQnBRBwA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 25df7566-4354-4b33-0a71-08d64ac2adf4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB1584; x-ms-traffictypediagnostic: VI1PR04MB1584: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231415)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:VI1PR04MB1584;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1584; x-forefront-prvs: 08572BD77F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(39860400002)(376002)(346002)(366004)(199004)(189003)(229853002)(6436002)(93886005)(6116002)(26005)(3846002)(53936002)(68736007)(25786009)(105586002)(106356001)(7736002)(305945005)(99286004)(476003)(74316002)(2501003)(486006)(7416002)(55016002)(8936002)(11346002)(9686003)(446003)(316002)(6506007)(102836004)(14454004)(8676002)(55236004)(76176011)(5660300001)(81156014)(7696005)(81166006)(478600001)(110136005)(54906003)(2900100001)(66066001)(2201001)(39060400002)(186003)(97736004)(2906002)(6246003)(71190400001)(78486014)(71200400001)(6636002)(86362001)(256004)(14444005)(4326008)(33656002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1584;H:VI1PR04MB5726.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-microsoft-antispam-message-info: c/Xobn52xPDiiG7Udxm/48lI8xM/hp6gH6OI+z2koGPTojCFCqrctGW9DeK0+yBMYmgrkUJFYhod9JYPB61fM/yZ8FgSd6Muu+HO8GPXoCm64CYjI/EimepVz+UfSyigsxNroEsxgTLzzRlm9UyKStuurNHn8F1VfW2wtNarfh4EMY5Klpp8aG9ksyOTn8SbFm1f6rJPKo7ZK+NsKKh4wVB2YLSMkjAEytHdl1ivjIo5gZEq//WcDd/aIIC8YwfNQvgywMOW+gzQVtWYpgb3YsSSDSc9/+838fVGFKOYLqEG565Lv9kAZEfmY5rHNCiAkHheIZkz9Rmk2x8St2bufEict29vN2Lb0F8J706wSLc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 25df7566-4354-4b33-0a71-08d64ac2adf4 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2018 06:22:12.0545 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1584 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRnJpZWRlciwNCg0KV2l0aCBiZWxvdyBwYXRjaCBvbiB0b3Agb2YgeW91ciB2NSwgUmVhZC9X cml0ZS9FcmFzZSBvbiBDUzEgaXMgd29ya2luZyBmaW5lIGZvciBtZS4NCg0KSSBoYXZlIHRlc3Rl ZCB3aXRoIEpGRlMyIG1vdW50aW5nIGFuZCBib290aW5nIGFsc28gZm9yIGJvdGggQ1MwIGFuZCBD UzEuDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL3NwaS9zcGktZnNsLXFzcGkuYyBiL2RyaXZlcnMv c3BpL3NwaS1mc2wtcXNwaS5jDQppbmRleCBjZTQ1ZThlLi40NDY3OTgzIDEwMDY0NA0KLS0tIGEv ZHJpdmVycy9zcGkvc3BpLWZzbC1xc3BpLmMNCisrKyBiL2RyaXZlcnMvc3BpL3N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