Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5769210pxb; Tue, 16 Feb 2021 07:12:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3EMsn7PQEz9Xg60My29Up9GKnZ52XsD03tiVclYb3Kn2wFspmP7V2ekQGGci1eD31Fjxo X-Received: by 2002:a05:6512:20a:: with SMTP id a10mr11582315lfo.500.1613488347380; Tue, 16 Feb 2021 07:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613488347; cv=none; d=google.com; s=arc-20160816; b=l0EyaUkgthqHjHIfMSXqJdJrDAT7BhGKROkw48iBCCkXrJaEiXDLIeVC05L0Pa1jKk +cvTObUux6hsrIIyO32j6vaW/5/zoF2/Vign6tV0LBhbuArKJtgcwqfhf7zc8ChYQU71 XucYEYBZcZWEtHxvW6Zgp+Gx+Buz2tspuXUYxSCuQpOoOa1R7ZExAF87yw14zuq6mwEf bhSG7CDbRyjt3cbgR3aXVf8bPpPqcxeYl405HGz2lX7j1a+x9AzsbaumqqAhjn49ozZf iVjWVyIGlHTGZEx1kO8Yj/x+sgV821DSBqUzD8yUwu7TPWtASsFeOsmtokvFFyA0KJPJ ciJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=fpUjfJvr9mWbJbQxI8Nr8zNyIuM86yM2wV+L4Sf4oWU=; b=kzBwDcTF5a1xuWCvg46mtCmplPQVSUl4TzA09vOEIs1SfEZyTqkYioAiWy1Qck6EWE 4oZIa7KnprnplcFP3No5qNHeQ8c/KQCfWkrmc3yVz36ozY2VidQJuBctwAzOwhmquuyU JYEgWLq7RHVipidcvqUlc6+A6Uo1N3I2AnxROpQ7sUqFGwac2MMF1ANLKDhoz3AxXXkT lqZ15m+YlNls1+tG6fRRo1Uzhal8hXs+/ut4r4Xo8AKiy/r71Jz/aXaFyQO+Tyjxb+Kq z4/90TwFpcdegLfkZ72VCDt2zz9G6soOyjhXPykXHYN8AV2mmOSYB/ABujIpCvOS2/gC +TaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=FS2i59Ku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si15998960edc.372.2021.02.16.07.12.03; Tue, 16 Feb 2021 07:12:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=FS2i59Ku; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbhBPPLH (ORCPT + 99 others); Tue, 16 Feb 2021 10:11:07 -0500 Received: from m42-2.mailgun.net ([69.72.42.2]:60737 "EHLO m42-2.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbhBPPLE (ORCPT ); Tue, 16 Feb 2021 10:11:04 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1613488240; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=fpUjfJvr9mWbJbQxI8Nr8zNyIuM86yM2wV+L4Sf4oWU=; b=FS2i59KuuMCJUcNR3OvebcTI0acSWgv4hj4YnwivwxkT1HGLsKrnJAvi3FhF8jU4nHghDXAH 7mrhXtvTghqI2kl8Zmur9PYcyafEv7j/xtObpWoN6Rz3hovHbEWzLgop44vGQ5ZsIGgfnSTN 7DrZS1eVmghFmwNgb8RcVC1yRcs= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 602be04ffe1d396438d82cee (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 16 Feb 2021 15:10:07 GMT Sender: mdalam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5E594C433ED; Tue, 16 Feb 2021 15:10:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mdalam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 75BDEC433C6; Tue, 16 Feb 2021 15:10:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 16 Feb 2021 20:40:04 +0530 From: mdalam@codeaurora.org To: tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: sricharan@codeaurora.org Subject: Re: [PATCH] mtd: spi-nor: gigadevice: Add support for gd25lb256e In-Reply-To: <1612869079-19593-1-git-send-email-mdalam@codeaurora.org> References: <1612869079-19593-1-git-send-email-mdalam@codeaurora.org> Message-ID: <2df4218ba5ad2a039833bab8c401fa07@codeaurora.org> X-Sender: mdalam@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-09 16:41, Md Sadre Alam wrote: > Add support for gd25lb256e. This device tested on IPQ5018 > platform with dd from/to the flash for read/write respectly, > and mtd erase for erasing the flash. > > Signed-off-by: Md Sadre Alam > --- > drivers/mtd/spi-nor/gigadevice.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/mtd/spi-nor/gigadevice.c > b/drivers/mtd/spi-nor/gigadevice.c > index 447d84b..8f1e7ec 100644 > --- a/drivers/mtd/spi-nor/gigadevice.c > +++ b/drivers/mtd/spi-nor/gigadevice.c > @@ -50,6 +50,9 @@ static const struct flash_info gigadevice_parts[] = { > SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK | > SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6) > .fixups = &gd25q256_fixups }, > + { "gd25lb256e", INFO(0xc86719, 0, 64 * 1024, 512, > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | > + SPI_NOR_4B_OPCODES) }, > }; > > const struct spi_nor_manufacturer spi_nor_gigadevice = { ping! Is there any additional info needed for this ?