Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1988873pxj; Sun, 13 Jun 2021 05:15:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgezWakZ7LNBsmugQ7/zqadne1WE91mTJTQlYqcEn6ZZ+/d+haAFtglsN7ZOjIicn9pIDJ X-Received: by 2002:aa7:cc19:: with SMTP id q25mr12364049edt.56.1623586510874; Sun, 13 Jun 2021 05:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623586510; cv=none; d=google.com; s=arc-20160816; b=erOKjVlr5QM35nbK4aGpzqncQgObEepWbCwmlvcu6ZxvAggDz0r27zcHQFz5bdeZTQ cW8JNLF31/BcBeqTpubyRDf4C5TNs6CEJM69wzIrowT2pzcxatAK2urz8xFRosVvsFVQ uNV04xD+YKQgtKEfPzjOTLxy6B8RZTvD9/eljozGrfMCycNXlIsoI4/pRecVeV+30rYJ HM5AgbfqM0mvsh2LLlgYcdW6ixI6kpzIYfsiXVfeaAQDeZ/C4s0kznIrvB9N6J8L7u0H ncj6l7tFG05FgmTDo4aGNhnTbGNHhd4UlNg1AmCpSkzBeh+OJPRMPQ4ZSlb3dhj4nDEs XdEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pAoKpzjom1Vo7u/vcR0ga6oxV2IOLuKhFw/BKUSPCCY=; b=I5Vy8NaLk9o5vj1RImTko2NdMlMAs7Rf6iloCKA2+678rctEiLSq85H6ygqmWCCOQG 68923hZf4n0L8d3Lt7VyN+XVUpYPgTnFxfdwLvCi4qpm5ME+ZjwjCY8rhcrzEsBjIb2W 0eftttJXaYjV058GV5AvM6QFgNNo+HP/8A9rtwNwRuwYAeadTQLZL1b7dKB7RTnaxsH3 t3nE9mT4M6pZO90ZxpcSTkXEsjS5JTf1BqDdj0ESqbQNWx079v2PIQ9YnDfWRLAIVEhl p6UIT3iawHSlyHuepXVLlQ89MUisyjXa+LUn+h3oJFoHgDRnrVLQ/b1hdv82lbiwnRW5 wP5A== ARC-Authentication-Results: i=1; mx.google.com; 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 u21si9345501ejz.696.2021.06.13.05.14.48; Sun, 13 Jun 2021 05:15:10 -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; 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 S231768AbhFMMPI (ORCPT + 99 others); Sun, 13 Jun 2021 08:15:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbhFMMPI (ORCPT ); Sun, 13 Jun 2021 08:15:08 -0400 Received: from mxout014.mail.hostpoint.ch (mxout014.mail.hostpoint.ch [IPv6:2a00:d70:0:e::314]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0464C061574 for ; Sun, 13 Jun 2021 05:13:06 -0700 (PDT) Received: from [10.0.2.44] (helo=asmtp014.mail.hostpoint.ch) by mxout014.mail.hostpoint.ch with esmtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lsOz1-000Ei1-7U; Sun, 13 Jun 2021 14:12:55 +0200 Received: from [2a02:168:6182:1:d747:8127:5b7a:4266] (helo=eleanor.home.reto-schneider.ch) by asmtp014.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lsOz1-000Bg1-5I; Sun, 13 Jun 2021 14:12:55 +0200 X-Authenticated-Sender-Id: reto-schneider@reto-schneider.ch From: Reto Schneider To: linux-mtd@lists.infradead.org Cc: Stefan Roese , Reto Schneider , Michael Walle , Miquel Raynal , Pratyush Yadav , Richard Weinberger , Tudor Ambarus , Vignesh Raghavendra , linux-kernel@vger.kernel.org Subject: [PATCH v1] mtd: spi-nor: Add support for XM25QH64C Date: Sun, 13 Jun 2021 14:12:48 +0200 Message-Id: <20210613121248.1529292-1-code@reto-schneider.ch> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Reto Schneider The data sheets can be found here: http://xmcwh.com/Uploads/2020-12-17/XM25QH64C_Ver1.1.pdf This chip has been (briefly) tested on the MediaTek MT7688 based GARDENA smart gateway. Signed-off-by: Reto Schneider --- drivers/mtd/spi-nor/xmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c index 2c7773b68993..b6ac37bd59b8 100644 --- a/drivers/mtd/spi-nor/xmc.c +++ b/drivers/mtd/spi-nor/xmc.c @@ -12,6 +12,8 @@ static const struct flash_info xmc_parts[] = { /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */ { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "XM25QH64C", INFO(0x204017, 0, 64 * 1024, 128, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, }; -- 2.30.2