Received: by 2002:a05:7208:2202:b0:86:316c:7444 with SMTP id s2csp2380059rbb; Tue, 4 Jun 2024 03:52:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4XBYJsxyfcp0LbTt4yj2sxipaxkMlt3YAR4vcq/qLyuFtpZa1PMt/An5rSrO/TCcKg3y5yUub/Cph00qxlNgFB1DOAgVjAniJvhdMxA== X-Google-Smtp-Source: AGHT+IH85EAJaBIsqfQzE+OavUiny/aN3bxCBi+uuN7DcgOEvzn7/NjtqLIB6Is04Xj7J3IMCj9Y X-Received: by 2002:a05:620a:3bc6:b0:795:1a7c:5861 with SMTP id af79cd13be357-7951a7c5fe2mr84391685a.26.1717498326528; Tue, 04 Jun 2024 03:52:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717498326; cv=pass; d=google.com; s=arc-20160816; b=R8t+UJq7wU/HeYN+o05v2wPJAltBR2fY/h7ggORAUDwBJx0gaMXU5hiQLwXzpnbW+l fVfutgc8x6F4+NmYApNqcbvei1hMtGsVaTfNF7p2iU14ZGK+qOF+HUBoBdwW0GlutrmK tObvdDPGl0sP1btYg/aKdqMvQbReXPE7h7qNhxYtcvLsHE2gGJpMyw8JQKzWebYenuEu KVAoXTqhsjLPrw5I4+U1czvtN6H9Rjbu+9sHe9wwTb5wl0xJTvqYijlfmUouAHFDmNgC 8QBmKxmISvotWrUqcZTmstSeQDZ0Fv9T07tVr79zvUjzpGU4vzIMt4tT6kvcJPB/2hpL 7G9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jG65S7fXZTWIE5eKJMWWfHtKm5Y8ACKtUXA/i0OLFlQ=; fh=CBmaDNYCVG3IwP7pOYaNb6i6GTAuGDnfkRUCyKRthz4=; b=PGbB43wBiGmpgz195LCRsf31GYRUJeSb+PfIz+e2gGTEFaqmCHiLCkwDseDV8OJ92K m+/D5JMByQ28IuUUfV0KUPeA1wC6LkOft1O9pr5qAtwaufMnDzn13SNrRyIlnBmddAsN 8Oul6h0ZWMTCh6f0vPYnLF35WO0/EV3FI70f4PN4mobnQfRYNvYDx3qSNHPtD2TqLW2c MZ+VNOE8+JLX9zOSp5SlG1IRptcwaNooUW1pBLbKOWUFoj078PYQF+XrZo6OITjmJ4Sp o891k+vPWNgYNtr1Uc3GLxqiZnzI5CQI9yp2oJ4cXCUkewUO8OLYrl0C8RbiWryFmSP1 bRqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HN/DpX8B"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f318a43dsi217594785a.511.2024.06.04.03.52.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 03:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HN/DpX8B"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4444B1C22FCB for ; Tue, 4 Jun 2024 10:52:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84E531459E8; Tue, 4 Jun 2024 10:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HN/DpX8B" 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 97C14144D1A; Tue, 4 Jun 2024 10:51:49 +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=1717498309; cv=none; b=L6uh5KurbnPJqVUGzdYCbOj/VO4+Kt00ycSGhl7+PnlAFhpDnZFaJmhIkWME2HZIn22lQ2ja5Sl5TK5fdgPw2ExXuskanYnLMydR3kRGp8pgAHC4dHsP/JSQWHnrReSJZUOanlTjFpL7bnMjovARzkls2x2f/0k/MGkPRPHaNgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717498309; c=relaxed/simple; bh=dDFtLAPrbCWFw67uOUgzc5PB0wqcAOjBbz+GAOH3WwU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NSw8LvabfQfAGovO3oKoQvInQ/oXRubz4nu1EIbEWUA1Cl0TDxEpioEpNl5lAu47UGE2gs/CrRBE06KnZU2Y0IcVTbZmKPf9EGQaMgcA2QJou1sIoh/fPyijvHkL+9ILwgPSmXTuB06673LDjOu754dPAq6Se3mX3SuL+X0j5Jo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HN/DpX8B; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E4F2C2BBFC; Tue, 4 Jun 2024 10:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717498309; bh=dDFtLAPrbCWFw67uOUgzc5PB0wqcAOjBbz+GAOH3WwU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HN/DpX8B41dOmqn89bNy/yYXnXP1XKB9vqGTDnOuHhh6+OqcQAOoOXN61IJ025NY2 ND108xDiXy7bN6JDhc0XibCKS+4xduOfJcs7Ls/d/eEkaYkHzfzltyycFoalqNYriP 4XzZIlNI6ugzBC/lLDWOhKlnO8uQhQREjSStGHqpbdJyI9qCcFdeqHbrSBC9XQ5Cn4 UHBJ1DLV/IrFh+r3t8YyMVHEB8nNho4yE6NZGQzNKjZs63jVS+nSzRHu1LIj9eKEDo 08SUwFzDnrB5wYtRi0xY4yhBHwKiyse2qsqKaHR6xaX1n0aeK+xyPSS9hdA+z9oJfM aMWlA10s4i7KQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sERlb-000000002uY-1Jgj; Tue, 04 Jun 2024 12:51:48 +0200 Date: Tue, 4 Jun 2024 12:51:47 +0200 From: Johan Hovold To: Krzysztof Kozlowski , Bartosz Golaszewski Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Krishna Kurapati PSSNV Subject: Re: [PATCH] dt-bindings: usb: qcom,dwc3: set minItems for interrupt-names Message-ID: References: <20240527144538.155704-1-brgl@bgdev.pl> 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: On Mon, May 27, 2024 at 05:13:39PM +0200, Krzysztof Kozlowski wrote: > On 27/05/2024 16:45, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There's a set of compatibles for which we set a strict list of 5 interrupt > > names even though minItems for the interrupts property is 4. One of the > > USB controllers on sa8775p only consumes 4 interrupts which leads to > > dtbs_check errors. Make the last entry optional by setting minItems to 4. > > > > Signed-off-by: Bartosz Golaszewski > > --- > > Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + > > 1 file changed, 1 insertion(+) > > Can you also fix other cases? I found there at least two other. I missed > that during review... or maybe we discussed it? I remember that commit > was a pain :/ Yes, please make sure to fix those two remaining instances at the same time. > But be sure that this is what we actually want. Maybe intention was to > have fixed number of interrupts (so no minItems in interrupts)? I'm pretty sure the intention was to keep the SuperSpeed interrupts optional. Johan