Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3237605ima; Tue, 23 Oct 2018 02:38:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV63f6fKnxOpJI7O3tf8Sw5iFFRtN1t42DUQfRRTdsq5YFckoc8U4FWYWmjuVIhyr4J9Aj+E5 X-Received: by 2002:a63:ec11:: with SMTP id j17-v6mr45663879pgh.388.1540287524640; Tue, 23 Oct 2018 02:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540287524; cv=none; d=google.com; s=arc-20160816; b=YDRtoFzqjfxn8ukVs2zJzQ5IlRPkGkH9tIMr+r3vysVP7r/QNUxjZ32e1c2WE1HEq9 Wm4gTugdBPC59NXpXuovAsDsd7vx1AP2B/6C36Xa1lTPGkj2/RGDMVHxnN2la6jbCGLT 7CX1JoBW9FczQ2gCJB0RW0bFAboBnUUB4Ay+ZwCGNDhvlVebXLXD5EypWOtKaulMOlP/ 7KyWydAf2u6fPSYJt7kOj3mLlyc5Ob1VI9I9bv7fzxgEjTMq6y7qYu/x4JAPh6a25etj hqqXYRbj54MH2mWTU2vVqWWvBy0+K76ngwl2tZiZpKTyqiJTs0onUQ/eg4X21jc2OoEL VdPg== 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=PfrTXoZG6eK6bbB5BaJyAY0kDt1bRK34E3DWIq5cXHU=; b=kw5maEEBOWK8BGMDY2wWq75eL1whS9XT4Z+06etNK9th6k0jt8vuuajx4SGFeVGjc6 kaoRNaB/ez6RjNY8gJsdjfpFIEZ/9fexw0I6fuBaVM6upHVHb6p4e29+xyf71kavZcU8 kRy809rygco/VI26GDCwSV9rygQyrFha3nT3mevdi6BAUC3d9QJPSkx9Wpb3QWRF6Acj zGM8Y8nN3lvlxqWoyXk2xuHP0zndPGQ8IKb7AqrXUqXWECjKyqBQw29Zp2pvp0IMfCW9 WFsc+/BAWgyzdRZ1cdZSZ+fvw33Mx6G3o7xA/hQsIH3+/WqYXEwoD4DBC7pdWtItDnMz 382w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="HSHyVx/a"; 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 ay1-v6si716763plb.410.2018.10.23.02.38.29; Tue, 23 Oct 2018 02:38:44 -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=@nxp.com header.s=selector1 header.b="HSHyVx/a"; 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 S1728771AbeJWSA1 (ORCPT + 99 others); Tue, 23 Oct 2018 14:00:27 -0400 Received: from mail-he1eur01on0062.outbound.protection.outlook.com ([104.47.0.62]:47104 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728548AbeJWSAZ (ORCPT ); Tue, 23 Oct 2018 14:00:25 -0400 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=PfrTXoZG6eK6bbB5BaJyAY0kDt1bRK34E3DWIq5cXHU=; b=HSHyVx/aQuU+qId+THMVJWKVp9d1dSB9wpZatP8va1FT5MIf/YwpySHogl1Xy5D4LiyFMr2qHmfGPNShdcn4aMfPyLFeQZRU55JZYQDI2J8QPQlbFL3QAHMZHbB9f57KSzhsg1pMSq0WjzNAeiDrDoGjL3FRFs80410SNy9NCAw= Received: from VI1PR04MB1038.eurprd04.prod.outlook.com (10.161.109.144) by VI1PR04MB5022.eurprd04.prod.outlook.com (20.177.50.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Tue, 23 Oct 2018 09:37:39 +0000 Received: from VI1PR04MB1038.eurprd04.prod.outlook.com ([fe80::d887:3c96:479a:4123]) by VI1PR04MB1038.eurprd04.prod.outlook.com ([fe80::d887:3c96:479a:4123%3]) with mapi id 15.20.1228.032; Tue, 23 Oct 2018 09:37:39 +0000 From: Yogesh Narayan Gaur To: "linux-mtd@lists.infradead.org" , "boris.brezillon@bootlin.com" , "broonie@kernel.org" , "marek.vasut@gmail.com" , "vigneshr@ti.com" , "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" , "frieder.schrempf@exceet.de" , "linux-kernel@vger.kernel.org" , Yogesh Narayan Gaur Subject: [PATCH v3 6/7] spi: nxp-fspi: add octo mode flag bit for octal support Thread-Topic: [PATCH v3 6/7] spi: nxp-fspi: add octo mode flag bit for octal support Thread-Index: AQHUarQJFib3X2sTsU+eCnYlpZh0fw== Date: Tue, 23 Oct 2018 09:37:38 +0000 Message-ID: <1540287311-1572-7-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1540287311-1572-1-git-send-email-yogeshnarayan.gaur@nxp.com> In-Reply-To: <1540287311-1572-1-git-send-email-yogeshnarayan.gaur@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SG2PR04CA0141.apcprd04.prod.outlook.com (2603:1096:3:16::25) To VI1PR04MB1038.eurprd04.prod.outlook.com (2a01:111:e400:5092::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=yogeshnarayan.gaur@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB5022;6:Jj++ic93vpRyEMkiN5VVlYzYdYeuK9SHlQXBQhy72e02x4A13xit9+pKCCOnyTCFyRMgme2yAzhLUCLCskeafPBFsD2XcE4/erc4giAk4Rvz5lA4c/TpcLbdizQotN2GDIlPeC8tBjUh2SRBL7UZTqHOesS4aaD0T/l80fv9eVn/gQdiBkoLnxz3+wo10R0fhwP8QqqCXyKfs2LuU+L6qiTGwE6gOf4rX3CrqEDwBFB4kifGRwVGyGfnReJIZThFTXa4IwNgxXcasZ5o0VFGHtsu1/zY6C/yZZMUM4sfhY7pCqBafPVgDeqg5anfWUyK0Ji3sw9cysU7A2L1MbOsRubNnzBpUR63bT185KGKAppJfZQdbEPkZ2X7+FKjWgpYzSJbtRvQU2xWPWly3mkJCI3wVl88Ra+Yr+oOnnGmIyOVDQLA7cJ2rgtIxjJSMCEbr22HKqHKDT7sWftqSgY2wg==;5:OCVLg5rK4QV6jBhyK7LL0JrGjHv1v5o1rvlAtjCSU8JH0pGXlHYTg+m95K8cfrWFQSvOHUkXckQ/KQ3PKTMWg4qYP2mh0/zB3JoVjTSOkOuWrH0mIbwxIGQvtjCmLUoTpCoY97WTYMiQlfWPJUQLbKHXO2XE6/0RerWnGDZLcNA=;7:/39LFSr81zES014OT7FpDdra723EtGp16FHtcM/aoLCNhyeMlBeci3UCI834fxrgsJi3pkO63baoqg9hbYSJScligvkAi1EIfc/rvru391h+ORYWa51H3GMOiAx3xXIwur5Gm22OSXWfsFKCGjGTKFQg65LbFpVxHDRwFUFSe2PdPL3IbAf8Ki6A8O9BFu4HYIgGtcNUSCk6nKMovKEdnRWFuUYRZk4tJSzVsuNoxxdZjbrOeUKIFmPF6OgHraQd x-ms-office365-filtering-correlation-id: 8a79277d-4db5-478d-9928-08d638cb2ba4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB5022; x-ms-traffictypediagnostic: VI1PR04MB5022: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:VI1PR04MB5022;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB5022; x-forefront-prvs: 0834BAF534 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(346002)(366004)(136003)(376002)(199004)(189003)(8936002)(256004)(6512007)(106356001)(102836004)(446003)(53936002)(71190400001)(4326008)(71200400001)(2616005)(54906003)(2906002)(26005)(55236004)(110136005)(476003)(105586002)(99286004)(3846002)(81156014)(7736002)(6436002)(305945005)(81166006)(7416002)(6486002)(2201001)(86362001)(186003)(6506007)(386003)(2900100001)(52116002)(11346002)(478600001)(14454004)(6116002)(8676002)(66066001)(486006)(36756003)(97736004)(5660300001)(39060400002)(316002)(76176011)(2501003)(5250100002)(68736007)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5022;H:VI1PR04MB1038.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: QVz24stktWo2pdTb6B2pnGmGLgd22WwpbAQ95umN1NFr7a4rCU3JUeJbrPAeIZzTC2oY+hd7i+dMl2sxL7z++nhblScHUYpkI/b+3SlNkgQ946ZbP+P1zaZxzWBSSmGX6znaUWkUKZ60AYNRcahGrfzikozryT3/OVus/VXyuXhkFPCi5g95KcLFmujNIX3qeoA4LHX2e36gOGf6+BUARnCxD6iB4JsofO+7Tc99/K9HFQThGFUt0ruo8JadFkENAt5A4km6ZmdEPDYR+urZhFen7AGaStKGsBbGg3RAVkl3irJcIPZXkbJ3Pl9BpJyT6bTotfxEu6kC4E3K4X0D0AjNozxiuSp+ASvzUsGzH3o= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a79277d-4db5-478d-9928-08d638cb2ba4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2018 09:37:38.9143 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5022 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add octo mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Gaur --- Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - None drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c index 67eea88..332b730 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -993,8 +993,8 @@ static int nxp_fspi_probe(struct platform_device *pdev) if (!ctlr) return -ENOMEM; =20 - ctlr->mode_bits =3D SPI_RX_DUAL | SPI_RX_QUAD | - SPI_TX_DUAL | SPI_TX_QUAD; + ctlr->mode_bits =3D SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTO | + SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTO; =20 f =3D spi_controller_get_devdata(ctlr); f->dev =3D dev; --=20 2.7.4