Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2201576ybl; Thu, 29 Aug 2019 05:09:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5BY2hwXwzNt1FfaLarhwE1AwHPnAeglUtQN1CxBfcvg0PVMVnIMosKFFt6uBwdlqqzO3k X-Received: by 2002:a17:90a:b00a:: with SMTP id x10mr9764347pjq.113.1567080552704; Thu, 29 Aug 2019 05:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567080552; cv=none; d=google.com; s=arc-20160816; b=dZysXZ3pcEoU9hJxZYgQdETknSpzYFnOv87gs1TRsAcXSejc+ramymF6FRIhmsLXLQ M/qTxRW3EVp4g8u+n1CO3mp7NWVpW5wMyBIOZ2+8WRiArTePMZmAai5w927wjWcYlNGc uD+AapU7HbpjXr2aAijd7RuPLy5MPHusUfBx4t6XH1EiOOH00aZ6BVltfa26SkrTFt9N Gnrupya0ItYog7+xyFCC1VVpoDy2gnlHIkB/+RXfye3IVG3aZ60jaVyxuld+W3aphniq /YdAnGUcuo/LSTfLwuoW5w2NGr8ELs8W87Zxdz89Vx3cWzqdXcYywTEtEaalvDCXD79R 8pbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=GEYtIR1kAgYBlTpg7/wKF4aG3db7QgxI7RRFCSvr1ps=; b=xNogknrFXeehkRd03UXzGsOJc8ML9Yak5zaHuhwa7grcR6pQjL9vgnKVxgKC9p9NQV p7JG8/DcSYq6hB8+nrUYcm29WQA4i8LiUKZZXfJefZGPWjehPSaHkWJ6O1kpwY6qDGWQ pBEEKchMDl0o+2rAiCH49wmEMI4qVvf3JCJIiNE69egzMwa232bXdSd4BaujiDGxgm44 A8MfVbM1e4tcNnkYy3sq9BKlUWZrsfB2LdSbHUhtc4plVhuQrKRNIrAqbWcRlapntVan 3W4506tNnMsLMYFh+GQBRRmaTbvlayDDDpkUb378FT9kHODotntcE+5k4HphAJ9MyqHs ugdA== 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; dmarc=fail (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 a18si1863791pgg.28.2019.08.29.05.08.55; Thu, 29 Aug 2019 05:09:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbfH2MHo (ORCPT + 99 others); Thu, 29 Aug 2019 08:07:44 -0400 Received: from inva020.nxp.com ([92.121.34.13]:36558 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbfH2MHo (ORCPT ); Thu, 29 Aug 2019 08:07:44 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D214B1A002D; Thu, 29 Aug 2019 14:07:42 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E3C801A015C; Thu, 29 Aug 2019 14:07:36 +0200 (CEST) Received: from lsv03124.swis.in-blr01.nxp.com (lsv03124.swis.in-blr01.nxp.com [92.120.146.121]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CB7F9402BE; Thu, 29 Aug 2019 20:07:29 +0800 (SGT) From: Ashish Kumar To: tudor.ambarus@microchip.com, marek.vasut@gmail.com, dwmw2@infradead.org, computersforpeace@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Ashish Kumar , Kuldeep Singh , Ashish Kumar Subject: [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Date: Thu, 29 Aug 2019 17:37:24 +0530 Message-Id: <1567080445-32695-1-git-send-email-Ashish.Kumar@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mt35xu02g is Octal flash supporting Single I/O and QCTAL I/O and it has been tested on LS1028ARDB Signed-off-by: Kuldeep Singh Signed-off-by: Ashish Kumar Reviewed-by: Vignesh Raghavendra --- v4: split into seperate patch v3: v2: did not exist drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index b585f3fee4f0..409e81153525 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1899,6 +1899,9 @@ static const struct flash_info spi_nor_ids[] = { SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) }, + { "mt35xu02g", INFO(0x2c5b1c, 0, 128 * 1024, 2048, + SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | + SPI_NOR_4B_OPCODES) }, /* PMC */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) }, -- 2.17.1