From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 3FA57207A23; Wed, 16 Oct 2024 12:01:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729080073; cv=none; b=slLFEVWWgdTnjDla7VkcsOHGThzRNXBllUGb//3g7xFbxiNFHAL9RgEMkQicq+0ZM6WyU+zF8dr7KhhhnNyM7IoXw2dfVe7lUsXlSwl8QwhviYwaAHgrpbyjtc2sbUvrH/sXWUFH+DfKs9Aigz4Ah99ncdxOIuyJ+iQjKKgfGR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729080073; c=relaxed/simple; bh=oCRosoj8nbgeHNC1GlrQd/Tc8gWDhFi2n75m7T/lzLU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r+S65aXuDmX3MqG6MU5owoPwza/tFN3QyHBBaKKwsenTy+RTrnhcpWCiz2ipGz+bARcKSHhMvDyzUwe5C2uDagUmmltehgjMbfg/xvxDL7L8mcCymAM85gzxQykj5QuihXBzmEHxt4uq2UOx8fQcpGcJb6WLuKzZIx4Ya8oFRMM= 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=GiHCUWum; arc=none smtp.client-ip=217.70.183.197 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="GiHCUWum" Received: by mail.gandi.net (Postfix) with ESMTPSA id E19181C000E; Wed, 16 Oct 2024 12:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1729080069; 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=8krP1VYwxBLXUznJQJXAi4O+kQ5+/JlOE4x1ZUEOX5Q=; b=GiHCUWumFVs/jO1YMHSG7rA16gQjs6pbBAiCcd4D2BnG68yciTjh4sr3vI4BbD9wRFLIXZ ywhlWbF+mgFQwXe8c1SIWmQNHhsrjT6sGcDurP5aun4v/ivL8cPFVvZyLItnCUQ7XewBtN c5gqEnGoTBWStvdi7oiwdUi14SRLV2TW6k4UiWI+VFbCQB27jBALEMzf4IiFcy4PnGkkXV GDfhB1mXcf04qYRnZXW28xbwqJU7EJy070PC6YGk4VKniMql09sBrx5GtrSLl51wXLInSc w/j8sZE2guTIgfjVs1SL84HeOdp94leXtZtxTRIu5hSOOecqNhrnL139Ra9YRA== Date: Wed, 16 Oct 2024 14:01:08 +0200 From: Miquel Raynal To: Keguang Zhang Cc: Keguang Zhang via B4 Relay , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Krzysztof Kozlowski Subject: Re: [PATCH v10 1/2] dt-bindings: mtd: Add Loongson-1 NAND Controller Message-ID: <20241016140108.00273712@xps-13> In-Reply-To: References: <20241002-loongson1-nand-v10-0-17162eff80e2@gmail.com> <20241002-loongson1-nand-v10-1-17162eff80e2@gmail.com> <20241007161027.386e7409@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; 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 Keguang, keguang.zhang@gmail.com wrote on Wed, 16 Oct 2024 16:06:09 +0800: > On Mon, Oct 7, 2024 at 10:10=E2=80=AFPM Miquel Raynal wrote: > > > > Hi Keguang, > > =20 > > > +patternProperties: > > > + "^nand@[0-3]$": > > > + type: object > > > + $ref: raw-nand-chip.yaml > > > + > > > + required: > > > + - nand-use-soft-ecc-engine > > > + - nand-ecc-algo =20 > > > > Actually I told you a mistake. The no-ecc-engine case should remain > > valid, so we cannot require these properties in the bindings. > > =20 > Then, remove this section, right? Yes, please. Thanks, Miqu=C3=A8l