From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 70AD36FA2 for ; Wed, 27 Sep 2023 15:27:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EDCCC433C8; Wed, 27 Sep 2023 15:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695828439; bh=RUPpmHbb4kJSl2c/HLftS0eFYan82W2JMeZx9U6odFM=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=m2uFvcH/Sh7Py6hPDqCl2ffQkF+wpMQrL3cz00UjOU+0iKN/p4fNZIC2Y55QwFQHV zkfHk7a2B5jDM8lwiD9pw+X9tFd/AX8qZOHDj53UJZV+4pIzucP8wfGGkjiH43QaX5 2WSgIk0bAQDEkHMOE8J/xKMz8jI5nBBU7Ipz37yvJEPlQNwfcLQG1eXJXrevm8eZL6 B6r00VOqDYFG/4PcVC7wWrKnUm+PWTY1bYnW42OxnCDS5TBCNEEQkoa8ZRcibqEstF jOtkcmdYkRIfR9OYa3mwTY4NylxErIjUzKvAHLe4QkSodXP/HOwKm4uJ9X6UtzDWLc 4V+TSgiYhW+jA== Message-ID: Date: Wed, 27 Sep 2023 07:20:30 +0000 From: "Maxime Ripard" To: "Miquel Raynal" Subject: Re: [PATCH v2 00/17] Prevent NAND chip unevaluated properties In-Reply-To: <20230606175246.190465-1-miquel.raynal@bootlin.com> References: <20230606175246.190465-1-miquel.raynal@bootlin.com> Cc: devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, "Alexandre Torgue" , "AngeloGioacchino Del Regno" , "Brian Norris" , "Chen-Yu Tsai" , "Chris Packham" , "Christophe Kerello" , "Heiko Stuebner" , "Jernej Skrabec" , "Kamal Dasu" , "Krzysztof Kozlowski" , "Liang Yang" , "Manivannan Sadhasivam" , "Masahiro Yamada" , "Matthias Brugger" , "Maxime Coquelin" , "Maxime Ripard" , "Michael Walle" , "Paul Cercueil" , "Pratyush Yadav" , "Richard Weinberger" , "Rob Herring" , "Samuel Holland" , "Thomas Petazzoni" , "Tudor Ambarus" , "Vadivel Murugan" , "Vignesh Raghavendra" , "Xiangsheng Hou" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On Tue, 6 Jun 2023 19:52:29 +0200, Miquel Raynal wrote: > As discussed with Krzysztof and Chris, it seems like each NAND > controller binding should actually restrain the properties allowed in > the NAND chip node with its own "unevaluatedProperties: false". This > only works if we reference a yaml schema which contains all the possible > properties *in the NAND chip node*. Indeed, the NAND controller yaml > > [ ... ] Thanks! Maxime