Message ID | 1539605534-22302-5-git-send-email-yogeshnarayan.gaur@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9160114E2 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 15 Oct 2018 12:50:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F48029811 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 15 Oct 2018 12:50:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A10C2983A; Mon, 15 Oct 2018 12:50:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E12B129879 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 15 Oct 2018 12:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wef9ACNrXeLffmhh3Pvq/Dn+TGm31nI9u838qffS09w=; b=UjAYNRLGj19Lwd S/NgHjfDEH1NrkAgAe7vcvIa/d+XMh6VcqzAl3iKPp4NwT4UTHM8/gJ1pmwnsbomNglTGXjFQewZf 55hyRAimvTdomK7tmXpFoZP0Ba5A6H062P6a/2Baig6o+LkbpvJXPBTJ1QtJZ9YdFzxXR8S24ts8w fgnc/AKmE2CFyJrfagD9G7FOjOC4Hiv64PUGKxBXu5Xts3Jq31c4m+di7rF52uFVBKnVME9hDjH0U p9TlgmNBjvy9KoGiEceEQ4sEzVsNamEhtwxdraoX1pCGjhuoGo4RBaAahllM5V6hWTFkmNEIzzy8Y Qu1/84dJyzSNzRWD55jQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC2Jo-0000Eq-Jy; Mon, 15 Oct 2018 12:49:56 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC2Gv-0007Fa-RU; Mon, 15 Oct 2018 12:46:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vbpsSOKRqk9CcRIeTqfas15AOZ/alGFiAmz2QAL3i3E=; b=VNphFRm8CS32ycGumbKo1AnYZ5 EpVFDVj3Mkr4/neEL/z23OAYulcZw6rFvNe6g1PH7/V8WnBwpahVSBbSULy29uqdDhgUWS0cuSVeQ kc8OOBi+XC675HSUIg8oI6BVCbF2e+sACuAAbcNJK9iM3jt3wAIwtonkR3yZLPhFxuHikbXmIIqgU 7wI7fP5CGG2vM5CcdtsaEXc5kjJyIfJkpCuun9A/5qp7TSY0QCiPG0D2f+U2Zi1RRR1QgBulIuiXm 89J6s0WfbAKGUPbnZsWxjmFysSvWEs5i1wqExANNlmFdQhMEYPRN2LaYjfeTE77PQ6lcJ0oHfYDjc Kf5/Rsbg==; Received: from mail-db5eur01on0063.outbound.protection.outlook.com ([104.47.2.63] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC1mp-0007QM-Gf; Mon, 15 Oct 2018 12:15:53 +0000 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=vbpsSOKRqk9CcRIeTqfas15AOZ/alGFiAmz2QAL3i3E=; b=gPBvJkd3Zt0j+SlWVYhq9/YMBH6wvQKndg2gJAjb1MRKIXx8HR7vVTnScwy4gWB4N0s9qsRpqjOCfQl2YdSylqjk5xtYxFPeSYK4FOGhc9SyibwQQtDccFV7RRcPSvnsxVJhF6ZhSY6oaXcEcUsNEtnANLFKc39uGaId3xg0l+E= Received: from VI1PR04MB1038.eurprd04.prod.outlook.com (10.161.109.144) by VI1PR04MB4240.eurprd04.prod.outlook.com (52.134.31.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Mon, 15 Oct 2018 12:14:22 +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.027; Mon, 15 Oct 2018 12:14:22 +0000 From: Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com> To: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>, "boris.brezillon@bootlin.com" <boris.brezillon@bootlin.com>, "marek.vasut@gmail.com" <marek.vasut@gmail.com>, "vigneshr@ti.com" <vigneshr@ti.com>, "linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org> Subject: [PATCH v2 4/7] mtd: spi-nor: add octal read flag for flash mt35xu512aba Thread-Topic: [PATCH v2 4/7] mtd: spi-nor: add octal read flag for flash mt35xu512aba Thread-Index: AQHUZICae4AyQTKH0k6RjbskCrBeqg== Date: Mon, 15 Oct 2018 12:14:21 +0000 Message-ID: <1539605534-22302-5-git-send-email-yogeshnarayan.gaur@nxp.com> References: <1539605534-22302-1-git-send-email-yogeshnarayan.gaur@nxp.com> In-Reply-To: <1539605534-22302-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: SG2PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:54::18) 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; VI1PR04MB4240; 6:sdRQncZP841xtSYXrG31bZhBX627p0WWQNcLS5t9imOQ1+5mucpjQa6/ZHIhZdCbQEOK25wjsMnZuvgNO232IGJ9gfxIHzK6hUdyGUUBIvJ+hP2IciLACTQwcbmxkBcNrbK2uodrqrpjEFQ5GWtXwtT3mPqlosaodcOm85AxYWTzZbTu/IJSwjF0utY2edEkrdX/CBvu1ERmhFKK+YqKlmr+zrVyI12Xty7SZpc9VfOGG9Rjzu/tnoMuyHlnUJzcIr7WQH77H7CB23Y+1ZvF2lmJoisr5xf35WLeBxNiGJt4twDIxrjaaao5UUnMSSqKmBWLNeX/vOf2vxlubbR3iv3o1Ef+fNk7WnJC895WxfCbcdcvH+n/hakWGCYBD9kWlZep53rZMPYEWP584AEIswbqhlVLa7mIabyM/71Fc3i7EdIFMOrvQvCzm2cBjpDWg+jkrOD8JRNZyG7QmEtKtg==; 5:ceWcgZRkf7N3SLO6t2MX1bkIbKl+rEyOjn35njvpoaIlwjx02HbuhlUXNO7VgBeIYIFsaL+nU6g14JlTaDBvZjWEW5FnNPBnmoZW1ti81djhhu/3LyicezDPbVbql9/sag48pmji5TKI69/gkA243LiW1S+jBKjLCwWUYS0azk4=; 7:nYkk9I8nlIaW2MAFZ5kA9M+nzFzLOoz2PMQgFCprlTUEs4xyY/u4LRtVGk3l1XpRVax9TDeoebsNBQok5M52MF3FEYlbTvNKxY9f/T5lOyJRM7vWxGT5nPhLnN4pBLWQGaVWQKqHH+NLeUDuSnS9aMwst+hKHjLkAP2Z++gD/Zh/ewbFYLbO38REcvvm5mEgneoSTsIdpVGpnn0PC6sI7ryOhEKVYIG+Z4HgIybSm+aOpEw8xVJhypSJ0NWDw8Lm x-ms-office365-filtering-correlation-id: d7f7825d-23ff-4ebb-6e6f-08d63297bcde x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4240; x-ms-traffictypediagnostic: VI1PR04MB4240: x-microsoft-antispam-prvs: <VI1PR04MB4240CAAAB4849641D30D3E2699FD0@VI1PR04MB4240.eurprd04.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(31051911155226)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:VI1PR04MB4240; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4240; x-forefront-prvs: 0826B2F01B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(136003)(366004)(396003)(346002)(199004)(189003)(86362001)(102836004)(106356001)(99286004)(105586002)(6486002)(39060400002)(26005)(6436002)(476003)(446003)(71190400001)(71200400001)(2201001)(186003)(5660300001)(66066001)(486006)(11346002)(2616005)(14454004)(97736004)(305945005)(55236004)(52116002)(76176011)(478600001)(4326008)(5250100002)(36756003)(81156014)(81166006)(54906003)(7736002)(53936002)(6512007)(68736007)(2501003)(8676002)(8936002)(6506007)(386003)(14444005)(256004)(2906002)(110136005)(7416002)(316002)(2900100001)(25786009)(6116002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4240; 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: uoonjKa0qV7PolKFMuSHiITmsHbj1KYqMsMddjVZJRKtl0YLU956cM/kP8QoJW+hOIUorLkHtYAPkL/g/fRK6AgxbdDO/F7NLLqpp7N+qclBCig0bPp4KqmzHi9GYwx5G7uj8t0oTpf/Y4KnngTttLPQA1v5Q+Eyqvwx00h9XbydWFlg89/ovmg1yvI/IvHq6hlxh24oQ3yPkriajWRjupYSKcHFeXJMpN2Kc7GWYrqqcUl2KyZ6lY9oL3++HpI7TX1h6RmkhF0KhjifC3M8VdGwY99266CuUL3yplL4L178LhS//60dWH5QGkpyS5YHO8kJbVI+EFrP8dgRSdmuig4K8C3WAvXvey0gvSJGfEM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7f7825d-23ff-4ebb-6e6f-08d63297bcde X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2018 12:14:21.9295 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4240 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_081551_560071_8892D6B4 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "mark.rutland@arm.com" <mark.rutland@arm.com>, "robh@kernel.org" <robh@kernel.org>, Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "frieder.schrempf@exceet.de" <frieder.schrempf@exceet.de>, "computersforpeace@gmail.com" <computersforpeace@gmail.com>, "shawnguo@kernel.org" <shawnguo@kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
spi: add support for octal mode
|
expand
|
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 7c64ff0..574f3e6 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1413,7 +1413,8 @@ static const struct flash_info spi_nor_ids[] = { /* Micron */ { "mt35xu512aba", INFO(0x2c5b1a, 0, 128 * 1024, 512, - SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES) + SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | + SPI_NOR_4B_OPCODES) }, /* PMC */