Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp85000ybm; Wed, 27 May 2020 20:10:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOK522IfOebwkc7bL6WTCDpyFH1Lr6AaH44L4igVaqrPUxK1rlM/xwFHF+wlcwM04P00cA X-Received: by 2002:a17:906:34c4:: with SMTP id h4mr1252028ejb.167.1590635441495; Wed, 27 May 2020 20:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590635441; cv=none; d=google.com; s=arc-20160816; b=dKHnwGqcVxpoa9HnnOE+3s6QjbNlN1xyLYRzXCjS6u1cbggD5f1HcWWZD2+Cfg7Qhy uJ1vP7BnWebzfCgcI6O5ZyFhCer81Iztb0956marhuHpvgxbz3B1dTI40A5kfwzWmG8B 5kXTwyLXL72nKamXXmcYpv+ch3IqhxQ0at6MCmDtSZr7rPMyhCRt9xS12/vYQwcEjmVS Gs1NO+f+z+sK8d66ZwnzCmXCq7Fhq19hPXIgF48fkIFC7cGX0Ig9D/wyAw/pEOQ9EkAP 2+9uITXLC+yA3ETscSH+0HOcKZGVuN4pB9qJC5TQJHiwtxm/Jf8d8LgSl9Yy+Jo7p3FK nSYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=c0zRf9WTF0mM6R4rLoCl6Co+fSR9upGJzK30+eXsCrQ=; b=tDQ3s6XKbx65db+yCkRLcHc+5KkJspLBWBr3KUchrsH0duBqgydAPrBD3d9iiPrC74 7gIRG9q9qnf5jLqJAPYrzx8VHMo6JnsyEI2TIn+yFrGFvCcdH+t02+dfVr2yrVEAMuR4 sDQGThK5qC1pYkNq+OiKFNjG6j1iYwM/E79gK5q2IwUnXV2MnpnesJH6pv3WquIdEgWK Y7k5ojbjpD6TTmuIfXm+rYnEDWIhbH3+Khebcwn2Y1l+UY19bzBAHM0chsAinjd+UZl7 /VVb5OFdM2DGwdGMzApdBQxfQjnNe1nLc/LGoC8tVgHd/IVn2aCNUh0RNMMZUTldMaRt onXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ETKtEfdX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v8si2851860edd.58.2020.05.27.20.10.18; Wed, 27 May 2020 20:10:41 -0700 (PDT) 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=@chromium.org header.s=google header.b=ETKtEfdX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726793AbgE1DGT (ORCPT + 99 others); Wed, 27 May 2020 23:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726530AbgE1DGT (ORCPT ); Wed, 27 May 2020 23:06:19 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ED6AC05BD1E for ; Wed, 27 May 2020 20:06:18 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id k3so1941662vsg.2 for ; Wed, 27 May 2020 20:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c0zRf9WTF0mM6R4rLoCl6Co+fSR9upGJzK30+eXsCrQ=; b=ETKtEfdX4f87hvL+eN5+pIdyNmq0wY+7xdaPLxVaTXZ42GBITJENo0kA+8TlcsZaF5 Xluh6N64Pf46mJHA+DCu9/ektSbdItOS8crhEaj6B6a0AfsFuYS1/YNRAKXPhihGWVOh lFgctf5UcsAxRAKLBTOmKAe9xcj+pQoznprDI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c0zRf9WTF0mM6R4rLoCl6Co+fSR9upGJzK30+eXsCrQ=; b=U96e3YdszoLjkF2SyU4icko2gw0X8njBzxxqcQNEBojpTVr8t6yJkAvbKIvbqHxCvS 5/QbGEKANHyBMz+YywbMn4HDWTRUWLN8hbOo8Ee2piDVxnMMvBUWb6ybvPXwDHtY2Gjt 49XZfqjB2feLCg7iiq6/hbL0ReCf0kkXULghKKw7givg5pCK4VD/dcAKxIJbU0N3Fi+w hW1rAQBr0b/lZQTHGSTgyJZzyJH2AychI51gQ1zEhSHFrTYdqdmgaoI/dhvZ2orVMuEB Zwhx0AYg/aVE7Kd2R91hQW1b5BcQQMo/CTC1ozdbkWjbAW3YkxFbrvB5Y4iR+zuENWeF fZwQ== X-Gm-Message-State: AOAM532UIv9KU5Pw3dbWga1wGJruD9Eq9mSWSBzueOMlH9xOMELQ7zea 7ZfRSonrY86Ht4olvo28/MIkHMmFZyPMoxH1r09XxQ== X-Received: by 2002:a67:71c2:: with SMTP id m185mr581124vsc.186.1590635177072; Wed, 27 May 2020 20:06:17 -0700 (PDT) MIME-Version: 1.0 References: <20200528025503.24003-1-wuxy@bitland.com.cn> In-Reply-To: <20200528025503.24003-1-wuxy@bitland.com.cn> From: Nicolas Boichat Date: Thu, 28 May 2020 11:06:04 +0800 Message-ID: Subject: Re: [PATCH] [v3]mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs To: wuxy@bitland.com.cn Cc: lkml , linux-mtd@lists.infradead.org, stlin2@winbond.com, wuxy Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 28, 2020 at 10:55 AM wrote: > > From: wuxy > > Winbond has new 1.8V SPI NOR Flash IDs,we need to use the SPI > flash IDs in kukui series,this patch can support the new flash IDs. > > TEST=boot to shell,get the spi information from 'dmesg'. TEST= is Chromium OS specific, you can drop this line. > > Signed-off-by: Xingyu Wu > Signed-off-by: ST Lin Tested-by: Nicolas Boichat > > This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, > The original patch is invalid,so re-submit a new patch for this. This belongs below the ---, but I guess the maintainer can help you with that. > --- > drivers/mtd/spi-nor/winbond.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c > index 17deabad57e1..cda4f8847bd6 100644 > --- a/drivers/mtd/spi-nor/winbond.c > +++ b/drivers/mtd/spi-nor/winbond.c > @@ -61,6 +61,15 @@ static const struct flash_info winbond_parts[] = { > SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024, > SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, > + { "w25q64jwxxIM", INFO(0xef8017, 0, 64 * 1024, 128, > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | > + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, > + { "w25q128jwxxIM", INFO(0xef8018, 0, 64 * 1024, 256, > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | > + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, > + { "w25q256jwxxIM", INFO(0xef8019, 0, 64 * 1024, 512, > + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | > + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, > }; > > /** > -- > 2.20.1 > > >