Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3465521imu; Mon, 10 Dec 2018 02:40:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/VGupFAVYCHPiuicTvQfKyXpvh58mGbyfUboKq/Hy0N+Ym8D7Qb2cMahYhs2TMbQ0gQ6P/V X-Received: by 2002:a63:6302:: with SMTP id x2mr10340357pgb.183.1544438458096; Mon, 10 Dec 2018 02:40:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544438458; cv=none; d=google.com; s=arc-20160816; b=hAhALyUet1Pw4ETauiv7cjGS0gAAsNSfjzGxGrN2YJ6DNpRLdNlqziVJ0FS73bAiQf izhwz+61IdpTJlXOWQ4aKAK/v/O2oXh9LrkshouD/X1Qy/KMsdJ2dnJmHuJiwwIla3i5 CxHH+ezo6kP9srd2q3fko7sp9rWGeokkCc21jSdu9EUhHg1z3W9xd3Aj53W/AkK5iQZT 3zBhQu97QyBk+9VOWmPg+ILbnuwscksRpnNNk7fMZRUk2YSCXl8LQj79AAv+DOEvBFKn UMHc614gh2UG101TqHHzsrP57m+VUZg1oKXSLCCBVus4i469VdIOyAphiOl+P3cG/kYb f2Hw== 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=RaiGAA6DUQjmmNPR/eyFZvg2SGK8G3OYvwamMJLGC7o=; b=nQcE9awWlW5hfeURpM24MeSbNW70ZwkUKMWcFJV0HaLCDSavBa7ZFtZiLzB69WV5Ev YwiUYvZTw6T2XE+YBk6pEdyWrxP24SRIa8jjN9wRHjuXaS29tcaIOZJsONqYF+3icOYn OFZrtFU2U3zi9pCt0rkr459Nxw2xic5lLQI2Q/9Gz70RlwB1NAP55d2RH9l+LhMSlhun WmVtQb57tvdWZ9xgSKS7TPryjEIHpxDIbB/W8YiCtSnhKdsqM9ZFxY0xVy6Dc65w9XqE khcuJyKpF5MhQr15nCRz0I62utSImudco8/+R4//2cuI9NjTVMIQPeGqpPMOMcW82KEy Yb1g== 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 t65si10181605pfb.247.2018.12.10.02.40.42; Mon, 10 Dec 2018 02:40:58 -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 S1726851AbeLJKfm (ORCPT + 99 others); Mon, 10 Dec 2018 05:35:42 -0500 Received: from skedge04.snt-world.com ([91.208.41.69]:55586 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbeLJKfm (ORCPT ); Mon, 10 Dec 2018 05:35:42 -0500 Received: from sntmail12r.snt-is.com (unknown [10.203.32.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id 5158167A868; Mon, 10 Dec 2018 11:35:36 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail12r.snt-is.com (10.203.32.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Mon, 10 Dec 2018 11:35:35 +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; Mon, 10 Dec 2018 11:35:35 +0100 From: Schrempf Frieder To: Yogesh Narayan Gaur , "linux-mtd@lists.infradead.org" , "boris.brezillon@bootlin.com" , "marek.vasut@gmail.com" , "broonie@kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" CC: "robh@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "computersforpeace@gmail.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller Thread-Topic: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller Thread-Index: AQHUfZ16K+V2Xzw84ki+MmwTwSKgB6VxfoaAgAZOooCAAA8EgA== Date: Mon, 10 Dec 2018 10:35:35 +0000 Message-ID: References: <1542366701-16065-1-git-send-email-yogeshnarayan.gaur@nxp.com> <1542366701-16065-2-git-send-email-yogeshnarayan.gaur@nxp.com> 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: <09BA064FA0EDFB4488DEE315E521920F@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: 5158167A868.AF09A 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, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, marek.vasut@gmail.com, mark.rutland@arm.com, robh@kernel.org, shawnguo@kernel.org, yogeshnarayan.gaur@nxp.com X-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