Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4642954imu; Tue, 15 Jan 2019 03:39:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN6FcapfktutIiW1WTrFdFIo1bEhWRkrm13e8AyfdunLVjzy/zxBGpF7L5N+6NWDf4z9OhO8 X-Received: by 2002:a63:d604:: with SMTP id q4mr3432407pgg.175.1547552389852; Tue, 15 Jan 2019 03:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547552389; cv=none; d=google.com; s=arc-20160816; b=p6vp8dCpOisVcdwZQ3oGrO/XufDgNfZhvScq+hZtUYOcLnP2+f36+N9XMVQX55jQOc nJGUilPFNcJodyHRPRll48ElE90iOwImYam6x0pCp7g9PVgF7PAcehWBg4ozwMJUvODg DQ2HkXMBk52F/JdBqjtXru144zhn/GdqlESaodPGAv/Z090C4EzYmoKKM5a3ITt6aupJ ObDDt0n9pXkN6IPilcu0PyLJv50Je71OWGlz2KojHqfNQA/gB7w++FrxC4Oyw7D/4JRu 7W3pY/9xEsUSMhZWv1B2RprvORILcUvAdbwLhMZ9vx4883TjyfUKagj3lxNDMA44jQ4f sQtA== 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=Ktx1GRcHi1eYSge/SiHdvLAqiZpoEsriXHWfa3f58Mw=; b=cKsCtTzAjVMZ9U3piGd3CwqTyB5o/orE1Y/MZHhgPrpWaiWe1tbZaVpVj2tcWtRqZw RRTTJ2qPf2DdP7f2b+UNDq3KVwsx9j60jZKKqah0MaJyZDBSt1RWUXnNSDjWD+Iw0aY0 sFzOyXPiGi0gu9YyKveo1c0Anvo9Qqntf2VVfpNulFFC0+u9lD8UCL255z2Cp+BDThuP d9V4WNIdQpj2rJH1AK0J0vGMgIOGxsK44nSt7w0D94/tJIiNpMsI0pZluPZW43+B495K 2kfskNRrZPZNvZXIktIHWtfoj9uCKKErSWVXfdrmPeJVuUzaXmnvXIKBxfQUXHeujIYr xg/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=DqW6ASRd; 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 h70si2901591pge.221.2019.01.15.03.39.33; Tue, 15 Jan 2019 03:39:49 -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=DqW6ASRd; 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 S1728095AbfAOKFg (ORCPT + 99 others); Tue, 15 Jan 2019 05:05:36 -0500 Received: from mail-eopbgr130044.outbound.protection.outlook.com ([40.107.13.44]:51840 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728408AbfAOKFd (ORCPT ); Tue, 15 Jan 2019 05:05:33 -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=Ktx1GRcHi1eYSge/SiHdvLAqiZpoEsriXHWfa3f58Mw=; b=DqW6ASRd74gV6eTHyQqLOiNzogWLVcw6FSf+LKyROhHEcOiNoUt4/3PP9La3YyrldP4Q4gfvsJUX5ssUZZlHFz0getWTCIv0E5mlYLeydIpgjYdCxb0XP/dsl8X9NsIXNi6zODRYaZlBjprpybNOe9g3vr5rvPywY1fxjM7tw9A= Received: from VI1PR04MB5726.eurprd04.prod.outlook.com (20.178.127.24) by VI1PR04MB5822.eurprd04.prod.outlook.com (20.178.204.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.14; Tue, 15 Jan 2019 10:05:29 +0000 Received: from VI1PR04MB5726.eurprd04.prod.outlook.com ([fe80::a1c2:cc79:80f3:3bcb]) by VI1PR04MB5726.eurprd04.prod.outlook.com ([fe80::a1c2:cc79:80f3:3bcb%4]) with mapi id 15.20.1516.019; Tue, 15 Jan 2019 10:05:29 +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: "tudor.ambarus@microchip.com" , "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 v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support Thread-Topic: [PATCH v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support Thread-Index: AQHUrLnXO6XkhNwsbkOmcWHevEJc4A== Date: Tue, 15 Jan 2019 10:05:29 +0000 Message-ID: <1547546584-5254-5-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1547546584-5254-1-git-send-email-yogeshnarayan.gaur@nxp.com> In-Reply-To: <1547546584-5254-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: SG2PR06CA0123.apcprd06.prod.outlook.com (2603:1096:1:1d::25) To VI1PR04MB5726.eurprd04.prod.outlook.com (2603:10a6:803:e4::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=yogeshnarayan.gaur@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB5822;6:0q1+Zvgcx8BLycQTLx8u8om9fFK6Ocmqh2G07b+cKcmKgywS65jADKvtKB8UxylmLBwfm2AvJDikf0aCFqDPG6szZ0eIwwQQR7UQeZpjSGtUkQew2uM512p4c9vNH7P4LRaW+Qzy7V+pl61gBZqZZnhY82PPRJuLj+waiSsvag3Ktr2URfqZ6y3fD0fbWvffmmqohye22sbm4BXmLM/S2Wf0EKEsZK7wNoiA/AsIndQttvCCwmyh+aKo/jC9Caa2gZ0iblnYxsZhB4GZbBzywnPACwDnXL1reWaurfQHUNxq8HKWr471UmbALP4e/9sftsenE2UzImHdw+USVxNz0RxpjGMGdGox8zVxkOWCjdBAQX/kBgapskYsuIn61V4eWz4cCMeOgFIoWfYeZ57diT2AjQArfL6DbMNisfA/jKEPB7rFC222NBCngW32dBmj9IZbTVcb6oAYyjgnfd4qfQ==;5:AkITVbbdEvUYQ7aX3In8IEF++wW7+OSZ06OE4rjcbrGcD0MAPyZK+s8WeZ1gklV6xYdrZi5FFxqKzv2bJWK2yzdsco9kIf7/85c5kFUOvIoppzaz1I8tUdo8AM4ytxQGSFYNszCBPoWO/xnP7cyNNBrqIrvBfeIscywDp2aocXFZUa1Fe4CfCffDe/RLL1wvIhngjkZHp3ViRxCoV/95jw==;7:M02TcNhv6qLLM5m8agZii6CV+0lmjQ9hN53OEZMbRZ69z8xAoV89RQeDAqYPFk4p0UKkU4sZ08FuRgbuop7Agt3YtbIo42xX4fEoyJTbrnN84/h4Kn+pLsxDvj/klgFTQX+PFadETFtRGeK88Oj9tw== x-ms-office365-filtering-correlation-id: 3bc83343-de8f-4a30-52ae-08d67ad0fa2a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB5822; x-ms-traffictypediagnostic: VI1PR04MB5822: x-microsoft-antispam-prvs: x-forefront-prvs: 0918748D70 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(396003)(39860400002)(136003)(376002)(189003)(199004)(36756003)(305945005)(14454004)(6512007)(81166006)(486006)(446003)(2201001)(81156014)(2501003)(4326008)(105586002)(8936002)(386003)(7736002)(86362001)(102836004)(2616005)(26005)(186003)(6506007)(54906003)(50226002)(97736004)(316002)(5660300001)(110136005)(2906002)(6116002)(8676002)(256004)(71190400001)(6486002)(7416002)(66066001)(3846002)(99286004)(6436002)(106356001)(478600001)(76176011)(55236004)(71200400001)(78486014)(11346002)(39060400002)(53936002)(52116002)(68736007)(476003)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5822;H:VI1PR04MB5726.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: EATlUiWocJvqTUr2CzcKne6iyIcSipjF/4J/6wdjf6jF/5LWcenAWLgUe0rT/gE9NDkucgP0PlN3EPUWSZhvnn++LR9B2V90Nz8npplMqMyEgERGkgjvdhEtXOnWrplp8KM1IZloIVkuP/90YBljrV/UCHOS8Zw7Qi96gar30YRptHL622Gb6Xxb8218AW82ORKyeRqPIzFK/TXfaPOwC615URgRELYtxS/9GBFumHHDo8sqHe8NrBALiN9csAYvBvidoZf2Eb5OO4CP/6V5YjHyA66BxTLNhIXuJ7DgNJxSBIPIYl/3n5Fv4AwyB8EYhLCyQxupALQaEty1PV0P1aSbPhQCvS6B5m2tsS2yAw8gkiKjTcO3ihSnCeFP9pIfzVCvHE+jptmIehjFLkshifvzOMQjsugk7XB4d/neZpg= 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: 3bc83343-de8f-4a30-52ae-08d67ad0fa2a X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2019 10:05:23.3366 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5822 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add octal mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Narayan Gaur --- 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 e23ad9ef028e..adc3c0e14f38 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -952,8 +952,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_OCTAL | + SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL; =20 f =3D spi_controller_get_devdata(ctlr); f->dev =3D dev; --=20 2.17.1