From patchwork Thu Jul 4 02:48:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng Ming Lin X-Patchwork-Id: 1956571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=GOYEltz+; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=U9Kb11/v; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WF1MZ69p5z1xqt for ; Thu, 4 Jul 2024 12:49:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=I0zlkedPPSxg5v8YKgT/Gfk8pVNMntLX0XivPgN/ppk=; b=GOYEltz+nYppY+ jTrVKk+bf3qsSz+teVDhqtqY2iTzQpcf6/7KKTJ9DsM4RsOfOxjn0FwIn3UHLue1ODLtjBStXkhHP IOU3V/FMMSWzcQyp/umlJkqOzDePjUB3zf7Y/fnYD6j9AZlpi1Yg08xM8jmIfNE0BvRNUOq1MzOf5 RUHskj3kfbSbmtE04xR2aSHp3IRBP0RlEAPhBCzd/7AENpBP8VWhVq9wjckld8d5HhbhTew40FhwW 7CZ4v4eCDhAyRd7vlx+Xd9Apv+AJpj62/XuwX8qVV4e9wcEHGxiRVm5QKtLHDaqM7Siu0oL2oBfu7 UMqr0igyCPGLaGxpapaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPCXF-0000000Bxhb-3PHK; Thu, 04 Jul 2024 02:49:25 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPCXC-0000000Bxgu-3oFH for linux-mtd@lists.infradead.org; Thu, 04 Jul 2024 02:49:24 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1f6a837e9a3so596385ad.1 for ; Wed, 03 Jul 2024 19:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720061362; x=1720666162; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4VfUskD/qPJn4//0G8swipdcwsHQZ9A5zlheJWqzB8s=; b=U9Kb11/vOgPAWGKgB17XS0jDaMB8WmjOaO+rUnuQbbEwUAMRGlZp2SOSuW5IQKld6W pkvJwzoRKO1+U6thiTrf9zpok1LJF4QtTF9p40awpvmZJT4HoO5DcS1Mq6eD+DvUxxmP lcf8z2k8x7oelL7PkiQZxjXz3DYB9q7rV6lo8LE5fSh3Z13cgVQGFzG+PU1W3zp7aZ64 E0HpopcgJyuo8E/bh1Pshcy/f2/zvB9K6dXvyLRh38TuY20DcuutBShXUKmJwyy9Oi/Q VACBZny8MwK0TUMuL1Jpuo6a63nLfYEhjF5i+V4WEDOqYJpkasTVQaB5HTSClssf7n+r LWnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720061362; x=1720666162; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4VfUskD/qPJn4//0G8swipdcwsHQZ9A5zlheJWqzB8s=; b=k2puQMIwm9bTp0Xf4ipZ5FFDgnQBtUow5ZvWZXJnmuDmiJMX5iefGJmlIvpkjj36TX ASxPUU+lox0lD6hg8e2hJ8NJ47M7oL1Wy2ZXJJ2grge3a6Y8xGwNwQ4lDqfm7v1FkWKu CY5RuQgpTkBKzPJh2x5QW/+ccgh7M4UsznTegwGs22iwNguh6JUrdqx9T7stfkQsqsls kDB+THXY5dSPlX1LS5T2YiPLwciJXYwYrqDtEtNhVqhsCajqt9eMzjvubZUBqIgU1FqU Bwc6ibikGssqs9SGZ8Mn32YTlQ0/TKdjR6M7EbW+kihGJlU1xWy45cFkj2A2HoabDXz2 TkoA== X-Forwarded-Encrypted: i=1; AJvYcCUii1j7YpCn65ayOp7Fl1cj5DSevhVkuz5IonWO5O+lLIPpHkYz03cefbd+GBoJEIQ334lXh8D6D5q6Elt6q6YeP2i3LY9HBnQ5Zd8XUw== X-Gm-Message-State: AOJu0YyuSGY71nfcNbou1dDqboIcv5IHIIG+MOr1+++5djRsa2GJKQVs Gnhb7WUrdvDDZ4TcYYtqOsb/n0ZCJ4sliV1CrrACGWm9KrjnI6TvRYjo0Q== X-Google-Smtp-Source: AGHT+IGQsTpOx1QzcrInHksPymhOLpAkHCMutbM5pVz38YzCLXxPyaevyAqE9Q1A7hfklMqp+l8zNA== X-Received: by 2002:a17:90b:193:b0:2c7:dfb6:dbe6 with SMTP id 98e67ed59e1d1-2c99c822e05mr199139a91.45.1720061361952; Wed, 03 Jul 2024 19:49:21 -0700 (PDT) Received: from twhmp6px (mxsmtp211.mxic.com.tw. [211.75.127.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fad067031fsm102255835ad.259.2024.07.03.19.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 19:49:21 -0700 (PDT) Received: from hqs-appsw-a2o.mp600.macronix.com (linux-patcher [172.17.236.67]) by twhmp6px (Postfix) with ESMTPS id 5DFDC80152; Thu, 4 Jul 2024 10:51:27 +0800 (CST) From: Cheng Ming Lin To: miquel.raynal@bootlin.com, vigneshr@ti.com Cc: richard@nod.at, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, alvinzhou@mxic.com.tw, leoyu@mxic.com.tw, Cheng Ming Lin Subject: [PATCH v2 0/2] Add support for Macronix flash Date: Thu, 4 Jul 2024 10:48:37 +0800 Message-Id: <20240704024839.241101-1-linchengming884@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_194922_971094_1F079468 X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Cheng Ming Lin Adding Device ID 2 for Macronix serial NAND flash. Adding support for flash with the postfix Z4I8. Cheng Ming Lin (2): mtd: spinand: macronix: Add support for reading Device ID 2 mtd: spinand: macronix: Add support for serial NAND flash Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:635 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [linchengming884(at)gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [linchengming884(at)gmail.com] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Cheng Ming Lin Adding Device ID 2 for Macronix serial NAND flash. Adding support for flash with the postfix Z4I8. Cheng Ming Lin (2): mtd: spinand: macronix: Add support for reading Device ID 2 mtd: spinand: macronix: Add support for serial NAND flash drivers/mtd/nand/spi/macronix.c | 64 ++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 13 deletions(-)