Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2123989lqb; Mon, 27 May 2024 08:34:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWLJjaB5DEB7QTOmB9pimzhoUtpv/Snyx6bY7wJM54kgF3XNLngonWsDhBOJWYTLEP4Z2beKputQ4IajcnRTGvkv33M5VTwHmsN7vP0bA== X-Google-Smtp-Source: AGHT+IEZ0IWeK17uStBhu8Qpn0bp2pbo/QT2ZgWwSLKARjupras/tdblc50AydgKusVuZoRpmbIF X-Received: by 2002:a05:6214:4a07:b0:6aa:2dd0:89e9 with SMTP id 6a1803df08f44-6abc7b9d05cmr130594426d6.34.1716824052216; Mon, 27 May 2024 08:34:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716824052; cv=pass; d=google.com; s=arc-20160816; b=BcH/ZSupyO9mGzT2xf2EGbqG87dNTnD8soD6BzZ/l7gw4ZEKx99eY2v82NFeHiGKX2 3QJoiC+TvXVeoTN0PDvPKvPIUyf7FXhJtEGEkNosw1DQ8TotfsQT/5RFWucmU27APmzj HS62Jggtwk5pD5ZEtaly9bXhT/zA80OQ3KwBi6gySKyWsv5sR89o89ln4qo1pfcuq3y7 dfk8mqq1uCddzjQxYv3k+I4gfuwj7SC1gaVLDJ5i+h3ANqwL0NS4ujOJF/w7FLF448PS dHX3DkTz5PgWPlSRuDTA4ZdBFyLxivCa3C57ZS2/imynULncOh727KVEmS+VJLMzl0uD pOhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=SDBLdo0ivVawyK7Z7mv/FF9smz7XbvDNojAc6LLM8WY=; fh=QQO6/Z8rnoQ0WgtwVdrcphxP3GVxdJL/mJGfLm2KP/c=; b=vZOxvJ3UATVf/ZU2QqBRxd09vAxNLj8FukVHgESrADvmXvlB01zKKZ8DDutNJRLqzV IzTj5c0DVtrCuZF5bXvhJOtWIvuKEbGwZ3a37dtyd7f0yOkbYArqQzhHDtQHFA6S9GXc faRGc7iuPyVWMBMApKPKeHp6fZm2vUP2tvcO29ro6dDVcS2pzazRCkff6SSsM+wCBJ/Q /s6SXK8+C4YDcalheNnGd42yhrkQMhwioj/qTF17mAxyOpAFc9cYmngW1F3UklTtWTK9 rh2jsSOMELwRnuY+H6oBb3yjIEV4/Ob0EvzOAfTEEmXU7Eb6LaburcQJAlYliNHHZYBX cSzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=UgiMUSAx; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-191079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191079-linux.lists.archive=gmail.com@vger.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 d75a77b69052e-43fb18ca7a8si82548801cf.607.2024.05.27.08.34.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191079-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=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=UgiMUSAx; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-191079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191079-linux.lists.archive=gmail.com@vger.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 E71681C203F4 for ; Mon, 27 May 2024 15:34:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 708A51E4A9; Mon, 27 May 2024 15:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="UgiMUSAx" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DDD517E8EE for ; Mon, 27 May 2024 15:34:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824045; cv=none; b=BoTymPgo3URDYmA+RZiHR3EKjIs2UJSzpscRweus+rno7FJT/8BEUgs7Y3AjzZYVq9qnseLripl0RiAsJcqwtvmh7ybo00glgQU5SaesK+ubYpZwF1r1ScPkvcUGMJUDseZ5OiwnB2Xq3m2iLogFWjiHRxWK7PoY2ctJseryyug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824045; c=relaxed/simple; bh=RRCuBh7W6wPfh49qqUiZszG8NXQpLse6WVAdpgbjefI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EVz5qeN5Pqj7ivoGRJFZTu1VFsUj6RPjrC+wlJYP/annjMZRw6wAa9/Iai4Oxcj9llvLf+e6gcYJSw79182sjDHHn8kc/xgko7nJSCbb7AXhrfub0qBAC5mN1UGeLk7aC0nP3P+mQD5OrObLVtrivDdgdjj7Xrcrp5aS/MZIGVs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=UgiMUSAx; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2e724bc466fso101083521fa.3 for ; Mon, 27 May 2024 08:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1716824042; x=1717428842; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SDBLdo0ivVawyK7Z7mv/FF9smz7XbvDNojAc6LLM8WY=; b=UgiMUSAxuX6LlR62CoEuerryQdfVanTs4n405LAYWdsHtsCMBGNTPMfLfywqtk0vK+ VYgrAz1x0lq7UQ0oTkRuG4m6kilEvX6u9ScNuJ++PfRUHv1Em3NxXKOH0FjadT4kNqen vctY/zhfMnz1LVU7eTjst3XSziCwKtWWbSRHVSqRzcbDdo8YoI6NB/SflVOq9j/jwr1w 9MvaDfVZw9Mavrdp7zk/8TBD0KmIjvVSrpPC90gimqYCWMErKFr172RLOQudumovP2qZ dvoebZ8AbRQYgwHW//kbTppfd9M3LyOHWhME5N6Ttyth0DFvEtpbKm4tD8gQwmwwn9d/ muSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716824042; x=1717428842; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SDBLdo0ivVawyK7Z7mv/FF9smz7XbvDNojAc6LLM8WY=; b=vUrIzISTmal2dkn2pTJcbTh+xvZNs7vRiTf4KWAJAC01MQgYdBraGpUgG00IBRZXmL 2oUhp5cIq2LDCDUsUxh6q0XnVlL7RJEUCBTFFUW3hKsMY7ocT68B9JVmhQ+ggainDUe+ q1hQgM1zD9MAGuQf2McvQ53huEbDYkaD2oAPSys+dvVJ+KvkkDGWT5GPwkOm1IZFWER3 5IIizpFHX2ro7UydlwN8s2UZQI8Zus4DDcYscige1jvyMOOnuI32Gav+oUluktkxaQzg 2o4kSHgB1nunXFQrJ+t6C7gswgwaN6F74oLnqGwWoBYe3FSrC1OUF9mo200uxTGedylA azjw== X-Forwarded-Encrypted: i=1; AJvYcCXvSGisjLgqW/7kU5ii0CdX16GAAsM9xzYDFEQ2qOtdaK4P6AyPpP2b5X6r7SzteGEqMUQvKv43DkBJW5pEk/S43qczbZYj9szHQ12x X-Gm-Message-State: AOJu0YwG5JGjGxE1JiDSBIr6/997tyLTnQuMHUGgRR3eVkKD9mdKHAZe qmtePOM5aKrt1xtVl124GH8XX0Hl85SkL4cpfkDF6+uMNJtpeLJdeRHoMD9M345brhguLEIcFiR b5dq9Cd1UNb3ZqGspz5RCt8ct0b3bFiPQcRNkAQ== X-Received: by 2002:a2e:9c94:0:b0:2e2:a85f:f222 with SMTP id 38308e7fff4ca-2e95b042c1dmr89433191fa.10.1716824042240; Mon, 27 May 2024 08:34:02 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240527144538.155704-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 27 May 2024 17:33:50 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: usb: qcom,dwc3: set minItems for interrupt-names To: Krzysztof Kozlowski 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 5:13=E2=80=AFPM 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 interr= upt > > 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 :/ > I can put that on my TODO list but I really have too much on my plate ATM. I propose this be picked up separately. > The commits from quicinc fix one issue and bring immediately one more. > > But be sure that this is what we actually want. Maybe intention was to > have fixed number of interrupts (so no minItems in interrupts)? > > Also, in any case: > Fixes: 53c6d854be4e ("dt-bindings: usb: dwc3: Clean up hs_phy_irq in > binding") > Thanks, Bart