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 EC8E86FA2 for ; Wed, 27 Sep 2023 15:27:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42FC5C433C7; Wed, 27 Sep 2023 15:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695828441; bh=psoTQr8mGkV3UKidOz+pQ205UAHWxAMSfHwgV7szlp0=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=s1bKn/hrxcB+5VItQe5OsoMYGoU/S0bzhLZqIPWY+8oyIVylxEls9DGhiSFV4C8K6 MK25VHKQVGHZ8ANAV9qxiSEG5H9eMprCeTwJr85mwX2/hHBtZLzTUAcggEqF2RLG5G zBvQMGtJ9wFMVIeY+9dxWzAfSQRWVIbriGPHz2mP+ANXqID0mQzUxVLyL8PrcGQdf+ +XjihmnzS9FZ2n2xDaIwjHebV5sHP1u9fxOBbMGpp0ZPvDKHDBeCrGHfDyc1t+KG7g Y/CSQIpivWbIzkBq3Nq3JWVY6WSI+ubjCS+20T2K614XJydh5D9dWT/v8ckf49KuR4 q0q5iCi+E6tSg== Message-ID: Date: Wed, 27 Sep 2023 07:20:34 +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