Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp321142imu; Fri, 7 Dec 2018 01:28:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/VSuHIq2J9v3Ogh99K6T/tbSbCl/FuSGPLVlQhFjjvTJHqR4OWgMpYq9CABnGWY+6CVMo69 X-Received: by 2002:a17:902:aa82:: with SMTP id d2mr1423474plr.153.1544174931785; Fri, 07 Dec 2018 01:28:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544174931; cv=none; d=google.com; s=arc-20160816; b=RrQ1KsJ2zLPQjPr9rlxEi6SjWHV9f2XO4qgWYbMXypIIQOzEI2t+NWxL+irTU/HRFV GFO36L1baSJkg96+bVTsXqOrdIt80J6GZu3mdpeZlYLvHetOjRD9EDUI1tclPDN1ziuq 1Ai1M4t3NqKUiaLOznObpg158+dQSNQBVSBz+swhCRNZaZqTLq3mnauz7jil5phEPr1M DmZJgYsAJIld3ucZ8oc5Tf/YlKrd6Eg2doIzQOGuw1l8D24iGrKBTDJZRe+Bjt/7Vu9s bVWZYVfyXqnuBEzvZc2gTW/ETgd9pstawviI6mmDzQvtbggPAMQ4mRemM3w0OLT9aH94 DRdw== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=J1hMX8sBxbjpFcRlQGODsDSCbp1bhCLx1XBS5oBEETU=; b=K9GkZHsYJSWBFeA/GskFlqpiBPrPe9KiPAcVrnSNFzf/MOyU1GPsLjKZxY8FSdljl/ NKYbZ9PmzdTb3hOQXhKwwVks4N2qP2MM15fkcECU7IY6u5G0mgp9tYSHh/x6RTgiau+/ 1Ws5UzEOLWnFb6rVpEVJosN9K7DnBSucQTTwNHHNd95ZgYEjU931VrcrVWSO1WDB8Ml5 vTi3YQj0GSon/uyemHTkLXY1E7KOmZHzLmja0FZHKrYSx6SoHJmezADjEqCmxVmwAmTi XvoJ0WtSD/bRomNCXRcWOzhX/utc0n2myA3hJg5qpFyCNJOuPsErsST0Ea4T3PZjmOWl zyNw== ARC-Authentication-Results: i=1; mx.google.com; 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 l3si2388290pld.229.2018.12.07.01.28.36; Fri, 07 Dec 2018 01:28:51 -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; 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 S1726076AbeLGJ1Z (ORCPT + 99 others); Fri, 7 Dec 2018 04:27:25 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:36756 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbeLGJ1Z (ORCPT ); Fri, 7 Dec 2018 04:27:25 -0500 Received: from sntmail10s.snt-is.com (unknown [10.203.32.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge03.snt-world.com (Postfix) with ESMTPS id 79FAD67A5AF; Fri, 7 Dec 2018 10:27:12 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail10s.snt-is.com (10.203.32.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Fri, 7 Dec 2018 10:27:12 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%5]) with mapi id 15.01.1466.003; Fri, 7 Dec 2018 10:27:12 +0100 From: Schrempf Frieder To: Yogesh Narayan Gaur , "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 v7 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller Thread-Topic: [PATCH v7 3/9] spi: Add a driver for the Freescale/NXP QuadSPI controller Thread-Index: AQHUi9vIM/Zqhf65/0GcM/gL1st1VqVyt/gAgAA9mwA= Date: Fri, 7 Dec 2018 09:27:11 +0000 Message-ID: References: <1543932685-15011-1-git-send-email-frieder.schrempf@kontron.de> <1543932685-15011-4-git-send-email-frieder.schrempf@kontron.de> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.9.43] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: <81221F730256DA47A0747DC93B49E05D@snt-world.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 79FAD67A5AF.A51C8 X-SnT-MailScanner: Found to be clean X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: boris.brezillon@bootlin.com, broonie@kernel.org, computersforpeace@gmail.com, david.wolfe@nxp.com, dwmw2@infradead.org, fabio.estevam@nxp.com, han.xu@nxp.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, marek.vasut@gmail.com, miquel.raynal@bootlin.com, prabhakar.kushwaha@nxp.com, richard@nod.at, shawnguo@kernel.org, yogeshnarayan.gaur@nxp.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDcuMTIuMTggMDY6NDYsIFlvZ2VzaCBOYXJheWFuIEdhdXIgd3JvdGU6DQo+IEhpIEZyaWVk ZXIsDQo+IA0KPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4+IEZyb206IFNjaHJlbXBm IEZyaWVkZXIgW21haWx0bzpmcmllZGVyLnNjaHJlbXBmQGtvbnRyb24uZGVdDQo+PiBTZW50OiBU dWVzZGF5LCBEZWNlbWJlciA0LCAyMDE4IDc6NDUgUE0NCj4+IFRvOiBsaW51eC1tdGRAbGlzdHMu aW5mcmFkZWFkLm9yZzsgYm9yaXMuYnJlemlsbG9uQGJvb3RsaW4uY29tOyBsaW51eC0NCj4+IHNw aUB2Z2VyLmtlcm5lbC5vcmc7IE1hcmVrIFZhc3V0IDxtYXJlay52YXN1dEBnbWFpbC5jb20+OyBN YXJrIEJyb3duDQo+PiA8YnJvb25pZUBrZXJuZWwub3JnPjsgSGFuIFh1IDxoYW4ueHVAbnhwLmNv bT4NCj4+IENjOiBkd213MkBpbmZyYWRlYWQub3JnOyBjb21wdXRlcnNmb3JwZWFjZUBnbWFpbC5j b207IHJpY2hhcmRAbm9kLmF0Ow0KPj4gbWlxdWVsLnJheW5hbEBib290bGluLmNvbTsgRGF2aWQg V29sZmUgPGRhdmlkLndvbGZlQG54cC5jb20+OyBGYWJpbw0KPj4gRXN0ZXZhbSA8ZmFiaW8uZXN0 ZXZhbUBueHAuY29tPjsgUHJhYmhha2FyIEt1c2h3YWhhDQo+PiA8cHJhYmhha2FyLmt1c2h3YWhh QG54cC5jb20+OyBZb2dlc2ggTmFyYXlhbiBHYXVyDQo+PiA8eW9nZXNobmFyYXlhbi5nYXVyQG54 cC5jb20+OyBzaGF3bmd1b0BrZXJuZWwub3Jn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