Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2429861rdb; Mon, 5 Feb 2024 06:28:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQJaMUB+V/eiGL0EqM3d5fuFFt/ubXeMx5oQ317jWC69G2S5N1gQmGZw8dQVWVscSCz8U9 X-Received: by 2002:a05:6358:7e86:b0:178:6f7e:1294 with SMTP id o6-20020a0563587e8600b001786f7e1294mr12273564rwn.28.1707143297345; Mon, 05 Feb 2024 06:28:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707143297; cv=pass; d=google.com; s=arc-20160816; b=MiQNqM80wiT+G92cFYN9qwrO4iJcKIHJCigClKK7vDwUnMFKHiR52JF5Nbim6zarJy O/JqkxWJbPE9x9RnC8irU2IJywMFv/nDkcWlgI349AE8eFbLHh/xv6oTkWSvtQsxuDHC CncUldx0pl57kgJn1OODUe1nEB67yGwDNafPDfOsb8NUgsu2FQ+Tfu3MwOpW0oJ9FyDI jLrEY4cxfCkWg2bMcLO+iJNBKTcYPdlJbiTFx0RR63AG4VCHqNi69aI8DLvw2tGmgqz/ lk1d4uHAwZqHUet121xypr8/vw+5qBvRwrsLW6Pe94B484+iRTOGOroI0DgiJX6s1kmd 7iCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Rr8qzPIYqM+HdXpoa3bzvlmyjnTmSf9J/CC9t8G0s0A=; fh=wMpJNp5g3eTk3xtliCVV/ePVEi7FHB/zMT8kVXzSH1A=; b=DnqnvcaKyXRcnk78j/EBLe5WQWaR62z+pbRf3QBnkYZMNYYDfOh23lWG60O98kZYOq VCqWdus0USX9SkTCbDss+OIqrx8d4CK5w9hPZmEdB1iaF5QiUH3sIZlC4U7JEsw+b0kQ Q6RweexE3LYyrvG9jBQmT14DfJr+L+r2bERDEZJRGpiWk56pEX//WRs3Mc8boeUfepJ0 Tcb6VQxUUnXILjve06kOUIpPSFuz/tJ0oQoVZWqr6X0c6/I0jPRvYUUAxdtD1NcSz/FQ wm8FRxT6f+gefJ6Qmv41JfgRCZmnq33phl4mvvJjB0pCmDiCCJ7vO+3Nf0a/FtNtLK+F 8pCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=U5DBarV1; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCXUjbT3ciF6jsrnu7JDLRqbzWaKYtvov02ww4h2uimN8E6VHBxhbQkUVzrwO4byA4BJ50NsGRAD1ao6X/dwwJVC4lSWe+bvwmNCDZcpvQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h17-20020a635751000000b005d5d74411fasi6190154pgm.207.2024.02.05.06.28.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:28:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=U5DBarV1; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 37414286A3E for ; Mon, 5 Feb 2024 14:28:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47B652C19B; Mon, 5 Feb 2024 14:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="U5DBarV1" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E6EF28E09 for ; Mon, 5 Feb 2024 14:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143286; cv=none; b=GLmyicr7Kf1ZJ6ld8QfWOkR5PDK6Sqt0EbywMCS5S3hUmT8ddvXktJzM9VvVFG2CBYblUEvjdzlzrVXTRzuuvOFDLHns++8ScsH4gmaVCJu874s0Q5cou+rExNjkmDckyJ4KqpOx7jZbcl2KlxCSh+3sV5qinW12mYhG3KLSj2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143286; c=relaxed/simple; bh=c6woLy2+EgbXcJiwHU3W4/j7iI+sLz3RGz/O8g5vcec=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZRv5andhI6mUWoEeZ+ayEzc4OZ6anrF1EvTvSVUIBicGMYLuDJOD3/HSKjzPQqsaYHFpYwaX/z5XUnAMppODzgH16KoQZLv6fHkp1+qjkVIF5PLDNRnyLSbsSeEJSIOlWr659sxDNxTrRGWjM+WGHmbB84+JMv4jU5os8yvYUCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=U5DBarV1; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 32AFEE000E; Mon, 5 Feb 2024 14:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707143282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rr8qzPIYqM+HdXpoa3bzvlmyjnTmSf9J/CC9t8G0s0A=; b=U5DBarV1kWvF6kp6bsYh7pMLbNmHG365DTQi/YCihxMfxi3a94oiNCX0QoZem3hi/YJM1P Dgpo1S7r2d+8hybPIBGTKY4JK6pSTMP5lO+krI1U049Qt1oEsOgbSGzWeq3oMgjnbmcIAB AkOU7a9qwJnFbvgBqNAzSlEDe6HpQ8aLDX77UecgqHEZ8JgLcsv+xW8RWy+TBh/vpbwnyd L2OP+pTXjafmMZQWKYE33jVBYFKOQvjfNU1Z3fzPVHH83J6i6yxmEpIGmDzUWeeM5mSksI BrYJ07GDTL+HBVIaitm7ekLHQzHWm/jII1GAmQP2sA5bPybyv43/6h2mWEEWLA== From: Miquel Raynal To: Ezra Buehler , linux-mtd@lists.infradead.org Cc: Miquel Raynal , Chuanhong Guo , Dmitry Rokosov , Martin Kurbanov , Md Sadre Alam , Richard Weinberger , Sridharan S N , Vignesh Raghavendra , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mtd: spinand: esmt: Extend IDs to 5 bytes Date: Mon, 5 Feb 2024 15:28:00 +0100 Message-Id: <20240205142800.466649-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125200108.24374-3-ezra@easyb.ch> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'4bd14b2fd8a83a2f5220ba4ef323f741e11bfdfd' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Thu, 2024-01-25 at 20:01:08 UTC, Ezra Buehler wrote: > From: Ezra Buehler > > According to the datasheets, the ESMT chips in question will return a 5 > byte long identification code where the last 3 bytes are the JEDEC > continuation codes (7Fh). Although, I would have expected 4 continuation > codes as Powerchip Semiconductor (C8h, corresponding to the parameter > page data) is located in bank 5 of the JEDEC database. > > By matching the full 5 bytes we can avoid clashes with GigaDevice NAND > flashes. > > This fix allows the MT7688-based GARDENA smart Gateway to boot again. > > Fixes: aa08bf187f32 ("mtd: spinand: esmt: add support for F50D2G41KA") > Signed-off-by: Ezra Buehler > Reviewed-by: Martin Kurbanov > Tested-by: Martin Kurbanov Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel