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 2721A3043A2; Wed, 11 Feb 2026 22:10:19 +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=1770847820; cv=none; b=cF+hkrC14pZO3Au5p+Wc38cFjhw1Isbr2Tx29yntHbgRvsGGldYzBhr4C5OfVPYzAKBmRzLoY4cXWxvWWw9iFHoiL4gGftTqTrbyQfAg5a2zlNG4oIT8wCZu5JAlelif+gSO6svr648bDS5kcNmm6G3ZEAsVsp6KC4LAZxv3vGc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770847820; c=relaxed/simple; bh=b26k+vOwOv4WyCFhHxvZ/XK+KKEnbIyHiQIljrTskiI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MYaO9RKS6sQ2yH/yuLNPjnVPM8eYg/pE579BTbDV7kPTaRr5O9prc5EEe9gRvXmMHC5GbYvooSGVku7Rbxj+AxyTQtd7q1VfKVw8Ms/CRa3cree4CTYMc8BXWoDGEi6F++DTvWZ92NTiX4OFxVxzHSlPRYwfLUFpdeqvG5Wdji0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MXYkUq+O; 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="MXYkUq+O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4EF7C4CEF7; Wed, 11 Feb 2026 22:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770847819; bh=b26k+vOwOv4WyCFhHxvZ/XK+KKEnbIyHiQIljrTskiI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MXYkUq+ORLJMpiyzYwdCaVyaRKAHdj3Xrylsmc22gtCgeAKR3IDWej0iog0mKEhKY SO2CZvhglFzKY9diwMsepHb04M6QduFFFi3AKHFRKQ1otnhdwUawU51dlWHbXzONR1 9mDHB6XFrFH/rhA3O4OsgnXe48a1YOJeARQwRUZQiomWhG3xRRZoQbrAnImP60aVeF K/FGu4D6Ox+8UcP2aA/KUUHKThB99vrFQPCH820Kxm5fhY06F8LKHg3FNBtdc9wfyp FuIYWZ6UVSn0fFdxvft3xqh9bbvIWtI06NpCUxBbdvbRAwGyUGkWDL1mIoZ0CGIiUa WQYaEHDKEmrfg== Date: Wed, 11 Feb 2026 16:10:17 -0600 From: Rob Herring To: hehuan1@eswincomputing.com Cc: ulf.hansson@linaro.org, krzk+dt@kernel.org, conor+dt@kernel.org, jszhang@kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ningyu@eswincomputing.com, linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com, xuxiang@eswincomputing.com, Pritesh Patel Subject: Re: [PATCH v1] dt-bindings: mmc: dwcmshc-sdhci: Fix resets array validation Message-ID: <20260211221017.GA3976151-robh@kernel.org> References: <20260211094736.88-1-hehuan1@eswincomputing.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: <20260211094736.88-1-hehuan1@eswincomputing.com> On Wed, Feb 11, 2026 at 05:47:36PM +0800, hehuan1@eswincomputing.com wrote: > From: Huan He > > The binding defines tuple-style reset-names items for some > compatibles, which implicitly enforces a fixed array length > via JSON Schema. > > Defining global maxItems for resets and reset-names causes these > constraints to be intersected via allOf, resulting in an effective > minItems equal to the global maxItems. This leads to dtbs_check > failures reporting reset arrays as too short, even when the DTS > provides the correct number of entries. > > Remove the global maxItems constraints and let the per-compatible > schema branches define the required reset array sizes explicitly. > > Fixes: 30009a21f257 ("dt-bindings: mmc: sdhci-of-dwcmshc: Add Eswin EIC7700") > Signed-off-by: Pritesh Patel > Signed-off-by: Huan He > --- > .../devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > index 7e7c55dc2440..8af55a53b569 100644 > --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > @@ -49,12 +49,6 @@ properties: > power-domains: > maxItems: 1 > > - resets: > - maxItems: 5 > - > - reset-names: > - maxItems: 5 No, add 'minItems' that covers the whole range needed.