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 2F56643D4EC; Wed, 21 Jan 2026 22:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769033642; cv=none; b=O0QLZbCV+F7KJ4ivNNeQSMdg575oYBaSNr1y/6g8aRFmhJQzXaM0HNqeViF0wU9LlCUAFskseyjKq03jorctN6o6sf6ST4OBzqrsaJkdyevA86A7z9Gh34IUBBd7peSMQaARScrCPpAyOXSTo0xUSuRz4UupGDUnpGFfX1UbmDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769033642; c=relaxed/simple; bh=vdyfrJ5mOts4dmA/F7z9nX0PKIM65ZWRGvCPJg7l1Dg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mg9mXG5ZAZzn9i3vAOullXgN0wV9ECLzXX2N2iHGG42RhyAskZS8jw0J8yPLGUrg6htO/z2B7W+E1PwK0cm3LPwwq+Ss2MGJwcRQh1Oq4fmAVo9jbseKVp7iQbfwvl02XGFZm2Zznfl+0wnPwq+qXrJfa785vhfKIMjwQt5mWpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cJqU17PH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cJqU17PH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0900BC4CEF1; Wed, 21 Jan 2026 22:14:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769033641; bh=vdyfrJ5mOts4dmA/F7z9nX0PKIM65ZWRGvCPJg7l1Dg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cJqU17PHURbu0i5HA76ubSo+lqcmlU4vknDyDtY+cat74opbtC74LWnC2AZ37ASPN DJ3CSSR+99b9ZGU/njVfFEgSCh1sjwesVvQ49DiG+UChHgY1Qe7VUQjQZnPNrmXb3r ImQjpZGfUW/qqLWn738cDUVkCl+NesMhO+8ksgWP6FkgCIK7/ugIr+b2wHaWHxHIG/ bl9UOiEo8UxurqawkIATgg0U31tzGn16N3atsEEn6OZUCb0SXNj4Wi1GIesUSHqLZ2 MIHCRw90dMClljWTF6LgwzRVCGQELZ/HqqYTjNXEsH2dSHuegFZUiMa0xsWaEGyxxo Zl/t/mT/oKmFg== Date: Wed, 21 Jan 2026 16:14:00 -0600 From: Rob Herring To: "Miquel Raynal (Schneider Electric)" Cc: Mark Brown , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Vaishnav Achath , Thomas Petazzoni , =?iso-8859-1?Q?Herv=E9?= Codina , Wolfram Sang , Vignesh Raghavendra , Santhosh Kumar K , Pratyush Yadav , Pascal Eberhard , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v3 01/17] spi: dt-bindings: cdns,qspi-nor: Remove duplicated constraints Message-ID: <20260121221400.GA218496-robh@kernel.org> References: <20260121-schneider-6-19-rc1-qspi-v3-0-43e70fab4444@bootlin.com> <20260121-schneider-6-19-rc1-qspi-v3-1-43e70fab4444@bootlin.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260121-schneider-6-19-rc1-qspi-v3-1-43e70fab4444@bootlin.com> On Wed, Jan 21, 2026 at 06:04:57PM +0100, Miquel Raynal (Schneider Electric) wrote: > The if/then/else block sets the restrictions in all cases for > resets/reset-names, very much like it does for other properties as well > such as cdns,fifo-depth. Drop the constraints from the place where these > constraints are simply ignored. But they aren't. > Signed-off-by: Miquel Raynal (Schneider Electric) > --- > Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml > index 53a52fb8b819..b85dba351822 100644 > --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml > +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml > @@ -136,15 +136,8 @@ properties: > power-domains: > maxItems: 1 > > - resets: > - minItems: 2 > - maxItems: 3 > - > - reset-names: > - minItems: 2 > - maxItems: 3 > - items: > - enum: [ qspi, qspi-ocp, rstc_ref ] The primary reason to keep this is to prevent making up other names. If the names are only in if/then schemas then anything is allowed and it's not visible in reviews. Rob