Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp159957lqg; Fri, 1 Mar 2024 00:59:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVVEbkFayBBbEPr2vY6CuKiBIEiMFtSqbsd4xZalmptS3iFH7eFhq9eMF5zDoTzh9bnUnMjut9GStj6bSKMSoosy5TeEfKCl82/K1FxQg== X-Google-Smtp-Source: AGHT+IEz8QdrJnJWd3piQsZSE8yLy0LDd2ArxygGhDXb5D6/D7SMQXOB7BjhS575Esz/gC8c/k+U X-Received: by 2002:a05:6902:1b8c:b0:dc6:e4f8:7e22 with SMTP id ei12-20020a0569021b8c00b00dc6e4f87e22mr900551ybb.62.1709283560012; Fri, 01 Mar 2024 00:59:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709283559; cv=pass; d=google.com; s=arc-20160816; b=Zyl1sp6DtQCrvh0MgEepxIrjPUQbfyEdu17EVp5rB2QQg62vaAXI9qBT0LETPw53Bh ixXJCo4Oy043QlXpiFqwWg7XH+E9N/DE42eUjcPMr6DIzfEkVoQ622xobcR3DigqVHY0 Ae6NfkSGj5W5XaiIGZ5BBFepdjxNMTHTIQimeq5xkQWabkpe5SDCEJEhju/sWZC/+36m oMiG+bie/FiwSSkOGJslv+wHSKO/1a59z3H5i8JoEdk/TSZn2g+X/nYDPiWXa3qT6drl OFpeXbjwEemVQIzlrCRtZr3J5J2cgVGCAm9lwVyusgJLCs/JQ9saSV6shyTBAyeKsZl0 /i2w== 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:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=ivWe11xVMZD7cifOWCwgzrkIId3o3sQxiTUNBViJXcc=; fh=gjjnxyvem1EGMdt8li+EmLT0NprNq0m2qqJObZYDFhg=; b=XUWjq3IS4UcmZZ3VLhGQlhzPf87YlNDSE/eq6wlRcLFBadRfF0npFuPzpwxnjHFEP4 jpbwDjePmyEeffFSgwBHFi4mlNPsdf9d5S4+GLUJvnJKEQwOfRJJTnLnlqdgWIu2lL2+ IO1WCeHsd+D2iUhcV2MrnO2vEbYLSlbO8Vwi6Cj96QSU7XpRsrGtwDqhVLbOiM6Pfmm2 91TgLvZvW7LjGPBe7K0jRbVlJBORzc9AH8mwSg72kERrhd/Fkbhr10Ctgj7pL4i8QIEN pA7GtCiLZRXwy+eGJ7LPYXRhF5nGbXw4KAfSWqlI3eqsQ1oxqLw6HITd69pR18vOZ4kR iK4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="TC/WXjfz"; 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-88131-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r21-20020a05622a035500b0042e61ea23e7si3303262qtw.515.2024.03.01.00.59.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 00:59:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88131-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="TC/WXjfz"; 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-88131-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88131-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B6B501C21471 for ; Fri, 1 Mar 2024 08:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D944267E7A; Fri, 1 Mar 2024 08:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="TC/WXjfz" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 F265C692ED for ; Fri, 1 Mar 2024 08:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283553; cv=none; b=tRNklK7YkjerLsRklA1ssu/ogiVhu/bttEi3YYWO0PW8xscL6lKXzcjFZtn+LvJrwwHdjfB3+bEtgNSsTFU24+8t7hH/LDBnCGa2ulDGHtPM3qtZyAo3mMcQ0q/6dxV/Jjr4C4ho09l49JGWdTeDkWQBye5vdoq3ffKQz863nic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283553; c=relaxed/simple; bh=WqGZLoJ3NeUui1FZSI9UExVmLQgk7t+Vh9pnF9ycu7Q=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DC8uEr30nsW0Nxbbsb+zlPZc9xDgev8qX3yb/GwmuhmtNl0dFnWZDTvfM/QMGpAMH6+WMuzS0iSah3pLUrHbQ09G6d3/ldGP4yIHHL/k1ITKVEOyJU9+7Ep0rMz6uJAv69sNLM7CXx4oOCN3Oj4OZmH7+iCRuwW7j2Oe8I9xCU4= 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=TC/WXjfz; arc=none smtp.client-ip=217.70.183.200 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 742EA20008; Fri, 1 Mar 2024 08:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709283541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ivWe11xVMZD7cifOWCwgzrkIId3o3sQxiTUNBViJXcc=; b=TC/WXjfzxTcBKQrvj0PURJBpCKay3xEnZnGI2WIeG3w3hDT9Ni9plkHHg0k0tYFs3COYHX 1mwv6E8k4BAOW3RvYNjOS9uSN3IBQ/4OUzxKXOdlyXrFRkuGqg+zlBUL9MmbK5/VoDeyji x22jPwW88P73s3STQfw60FNHE7TkWom/zBE5TqyfJQUjE3rR2Ohb0bWKylCPqW3e4sdctO cmRCHDWGwWlSWmrJruz9SbzIwcPNX/6GT3JupZCoFXW7VfK4IO4DBIdMT/esvshiGRtH7y MKuYg0ZjdKW51l9pRN5kTEQnq2b19Qme9mOemLS1EvNaJ0l2J97ulP+UKSE3mw== Date: Fri, 1 Mar 2024 09:58:55 +0100 From: Miquel Raynal To: William Zhang Cc: Linux MTD List , Linux ARM List , Broadcom Kernel List , f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, David Regan , linux-kernel@vger.kernel.org, Vignesh Raghavendra , Brian Norris , Richard Weinberger Subject: Re: [PATCH v7] mtd: rawnand: brcmnand: Add support for getting ecc setting from strap Message-ID: <20240301095855.7dc30cd5@xps-13> In-Reply-To: <67a69fa6-bbff-4b9a-8253-c9b20093dee1@broadcom.com> References: <20240227201253.31978-1-william.zhang@broadcom.com> <20240229112818.2e54d0f6@xps-13> <67a69fa6-bbff-4b9a-8253-c9b20093dee1@broadcom.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi William, william.zhang@broadcom.com wrote on Thu, 29 Feb 2024 15:39:25 -0800: > Hi Miquel, >=20 > On 2/29/24 02:28, Miquel Raynal wrote: > > Hi William, > >=20 > > william.zhang@broadcom.com wrote on Tue, 27 Feb 2024 12:12:52 -0800: > > =20 > >> This is the update to the patch 12 in the original series [1] that was > >> applied to nand-next except this patch. =20 > >=20 > > This is context. While interesting, it should not be part of the commit > > log but instead located... > > =20 > >> > >> BCMBCA broadband SoC based board design does not specify ecc setting in > >> dts but rather use the SoC NAND strap info to obtain the ecc strength > >> and spare area size setting. Add brcm,nand-ecc-use-strap dts propety f= or > >> this purpose and update driver to support this option. However these t= wo > >> options can not be used at the same time. > >> > >> Signed-off-by: William Zhang > >> Reviewed-by: David Regan > >> > >> [1] https://lore.kernel.org/lkml/20240223034758.13753-1-william.zhang@= broadcom.com/ =20 > >=20 > > This as well should be below. =20 > >> > >> --- =20 > >=20 > > ...here. > > =20 > Sorry accidentally put these info in the commit log. Should be in the re= vision history. Let me know if you want to send a new version. Yes please, it's easier for me. Thanks, Miqu=C3=A8l