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 CC2A96FA2 for ; Wed, 27 Sep 2023 15:27:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 247EBC433C7; Wed, 27 Sep 2023 15:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695828444; bh=psoTQr8mGkV3UKidOz+pQ205UAHWxAMSfHwgV7szlp0=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=gg8cRXKMMzrj4MTgYxzB2Ga1nNoy5uOEhT5jvJSwz5xFq4nks7RrhUmkOfbev6CiP onlOsUrGlOEsFxP8nUCyl9n+CpXXPoOhOCd9miSruEs2r03J7R7aaMtMg1uhKf/dAZ SzvMrNg8odIRMnoX6Ki6huw327Y4HeO4h0b9gnrlKuNCISW/kYl3MqQ6PpHkFNzVN7 LVT/K679z/RiwVj6uQeu+xqlw0yQqGqOIZVxJZYXnGXLPHgLNHAMytew0G+xVPHcrC naj7qaAcm23AM7q93CSNXL7R1gJRMCsA7Q9QIDWDhCdd5mWmXkhP8jFk+E+720hHlY F29C6jAHQy43Q== Message-ID: <9965d83912c65a8dba669a55bb74b750.mripard@kernel.org> Date: Wed, 27 Sep 2023 07:21:41 +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 > > [ ... ] Acked-by: Maxime Ripard Reviewed-by: Maxime Ripard Thanks! Maxime