From patchwork Sun Nov 28 15:09:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1560900 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.a=rsa-sha256 header.s=mail header.b=PkfAk0Y5; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.a=rsa-sha256 header.s=mail header.b=Fq2GWFOt; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J2BjR3c3lz9sRN for ; Mon, 29 Nov 2021 02:09:47 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 96FD480F67; Sun, 28 Nov 2021 16:09:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="PkfAk0Y5"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="Fq2GWFOt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5DEAD80F81; Sun, 28 Nov 2021 16:09:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B19318083E for ; Sun, 28 Nov 2021 16:09:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 673C34E200C; Sun, 28 Nov 2021 15:09:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1638112174; bh=hrsqD8zS2NfFE9B6SboHCwvPyfD2JGVJN67SshOl42I=; h=From:To:Cc:Subject:Date; b=PkfAk0Y5iP5h+HaaFPVB6kVOLarSbEcrotWXiEvPAEyGSeTtjnrW8rId5DXNgMYuW 5/VdaAkrGJ1mHCmamXbdG5GCz+kD8mojnnR/wdtJ7YsGHLEbq6kuNoW+MZbXWcSY8R hZd0mGhHJeco8uJs7X9vlwPrM/VQ6fewpGfZcjME= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1bgOFw841Wuo; Sun, 28 Nov 2021 15:09:33 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [24.108.106.191]) by node.akkea.ca (Postfix) with ESMTPSA id 3C74F4E2003; Sun, 28 Nov 2021 15:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1638112173; bh=hrsqD8zS2NfFE9B6SboHCwvPyfD2JGVJN67SshOl42I=; h=From:To:Cc:Subject:Date; b=Fq2GWFOtT9b3PmYAcnbyCZUhFLO1yAbdgnTYVsrlSdJRetnfAOTHgJSyLrXvQuoIG 2WWTBtqBjJCzChh7bOKqPwdvmay9L1FSDnhb+ZZvUoflFnA3MnQxBwLqp2x7JQ/HjU AgUfidm8WN49PQs/2BzUdhPt7GYTlXOw0m4QD8wc= From: Angus Ainslie To: Jagan Teki , Vignesh R Cc: u-boot@lists.denx.de, kernel@puri.sm, Angus Ainslie Subject: [PATCH] drivers: spi-nor: Add JEDEC id for W25Q16JV Date: Sun, 28 Nov 2021 07:09:08 -0800 Message-Id: <20211128150907.1443035-1-angus@akkea.ca> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 3ae7bb1ed7e..f20b21e0d06 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -314,6 +314,11 @@ const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { + INFO("w25q16jv", 0xef7015, 0, 64 * 1024, 32, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) + }, { INFO("w25q32jv", 0xef7016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |