From patchwork Thu Jan 25 20:01:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezra Buehler X-Patchwork-Id: 1891005 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=Mnk0v25T; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=easyb-ch.20230601.gappssmtp.com header.i=@easyb-ch.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=0MgyCqy6; 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 4TLWtY6Jm0z23gC for ; Fri, 26 Jan 2024 07:01:41 +1100 (AEDT) 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=ylHpoVyxxsOkaB0JBqnLTaaLliOlEtKy9IkDcZOxiAA=; b=Mnk0v25TuH0d6l qV5b9QZr6vvpENtfYE272JahNGhYPkgRzrfvvC2+3RMHxS3WKmG48+0epwCoBZUKbTNNaoXrwl0Wf Ag552b6A0lGghNuc750jAbUuF5iGv1AM/5Vg2TUmNMup5FUdZ5FpZCAUGqR5DihUBwBq63NXQFccH G8HFBGu4edNh0Ei+Kv1tj8jadHaSro7Xw2+RNBO6mGOfj+eoD+HOzR7qMV+dG3PoqPotKd7eK1Weq hHAE1n3Bv9/ywyU+d5DcDlb4HoWhIauiop5Tt2vgU22DzmajZvHFgvhKdfWmvuEU9WbdYCJp37yg6 yoDdEq7fvBJnVNbu/UAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT5uf-00000001h7C-16Zp; Thu, 25 Jan 2024 20:01:25 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT5ua-00000001h1q-0NA0 for linux-mtd@lists.infradead.org; Thu, 25 Jan 2024 20:01:22 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a27e7b70152so189454166b.0 for ; Thu, 25 Jan 2024 12:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=easyb-ch.20230601.gappssmtp.com; s=20230601; t=1706212875; x=1706817675; 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=LjZQMJu8JXGJ4/hFdnB0KIWnvhPMFZL0jbAwRB4Bxd8=; b=0MgyCqy6vDrXtHrHNjQIiDvEzRjsBS4lnxJ/hlzoVrBHSxfoutCTzHh63aO2hn7aq0 X16eNQE3a+TxGNoGscLvaxgh+WwxMc/0q0TjAAtU42SYlOzZ89Np8DrFn+8X2HiDtIu6 SzpDIoAxEHTlqvzWN+H8uxfDKaj9Ev5kRB1kroiHGF6piXyl12sf9hoYOn0cqVT1u3jR DQqNgnBAvtAV+lq9ehexYzkNxywvZmsPKzIg/UpIK5VQNmNZNO163b3rOfiIXVCGN0ji XdGuVXpehrKW26F9150LmH3NWbvQgDvMWfk11Lg6ApVYUNFQvQEyN1M0p6rHYq3ZmNbs CYsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706212875; x=1706817675; 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=LjZQMJu8JXGJ4/hFdnB0KIWnvhPMFZL0jbAwRB4Bxd8=; b=bXY6Z4JM6SiitH9VcV2h6RPIfF6WQ7WX2xXrhMv7va7PficsdgjbpQUX5JcX1IlnPc M7zhfE9TLPvQcDXf7GtB35KJlnhJ6Kdfp4rGeUljiAw+O3eDH004b7BaoroIyybg5bgg k36LHIcV9FOkRW+W5UCA0et/FgPWP0khistsl4hCKA6HDY8/ypkmh5i2qhZ9Ne0MdHT8 xyL0XReo5WDMrGVww9CqhGiwPlCd6WuIbfLDwCRyXUh40XTwGED3u+MIb1gnswy4N2J7 el3h3+S2ATp4PZwqxidieKxeQMoeUSrt55VQTa2hA80W4f1vEIkQ8QfM4fl4OrT9gbGX lYsA== X-Gm-Message-State: AOJu0YyLkcjRLqKhw3ahGVTiBHt7GcC9Q2hgX62dk/HX5JB0jJPhy/g/ x8Ipiwnn+8bIsXtSfCLqnZYsUvjwXE9AqTPywyU5UljzTl5fc0NNFFlr7I/q8kcyKpygOWKWKD5 K X-Google-Smtp-Source: AGHT+IHGkHmj96AZrG1C9Gzn4qdCJRKaw3LE7lV5CI3SQbvj9lV/LuLm0m5wCgvzJsK98B1SDt8pJg== X-Received: by 2002:a17:906:ca58:b0:a34:8908:de0c with SMTP id jx24-20020a170906ca5800b00a348908de0cmr137234ejb.2.1706212875558; Thu, 25 Jan 2024 12:01:15 -0800 (PST) Received: from pikachu.. ([105.225.45.176]) by smtp.gmail.com with ESMTPSA id ss17-20020a170907c01100b00a3496fa1f7fsm195577ejc.91.2024.01.25.12.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 12:01:15 -0800 (PST) From: Ezra Buehler To: linux-mtd@lists.infradead.org Cc: Chuanhong Guo , Dmitry Rokosov , Martin Kurbanov , Md Sadre Alam , Miquel Raynal , Richard Weinberger , Sridharan S N , Vignesh Raghavendra , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mtd: spinand: Resolve GigaDevice/ESMT ID clash Date: Thu, 25 Jan 2024 22:01:06 +0200 Message-ID: <20240125200108.24374-1-ezra@easyb.ch> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_120120_469986_66228DDC X-CRM114-Status: GOOD ( 10.19 ) X-Spam-Score: 0.0 (/) 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 @@CONTACT_ADDRESS@@ for details. Content preview: From: Ezra Buehler Since commit aa08bf187f32 ("mtd: spinand: esmt: add support for F50D2G41KA") the MT7688-based GARDENA smart Gateway no longer boots. This is due to an ID clash resulting in the ESMT driver being used [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:633 listed in] [list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an 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 Message has at least one valid DKIM or DK signature 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: Ezra Buehler Since commit aa08bf187f32 ("mtd: spinand: esmt: add support for F50D2G41KA") the MT7688-based GARDENA smart Gateway no longer boots. This is due to an ID clash resulting in the ESMT driver being used together with our GigaDevice GD5F1GQ5UEYIG. The following patches resolve the issue for our board. However, I do not have any ESMT NAND flash chips to further test my changes with. Ezra Buehler (2): mtd: spinand: Add support for 5-byte IDs mtd: spinand: esmt: Extend IDs to 5 bytes drivers/mtd/nand/spi/esmt.c | 9 ++++++--- include/linux/mtd/spinand.h | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-)