From nobody Mon Apr 6 14:10:31 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 7C73C361673 for ; Thu, 19 Mar 2026 09:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773912235; cv=none; b=HTvlpr3THC4qx9A6c2ox7Z/4ALrsuazERQVqnEFJ7sNh+LXxQMMvxLO84dYt+gwf3lN5quIk0tN5qYkRB56GpZCDdlRUW+gJcPWI89FTgQSOKqJrYXI+hVB6iUJ4HBUSFAXeKlC81lO33pIcf8LlDyyIjPQXms9B/o/2MamuNnw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773912235; c=relaxed/simple; bh=J2U48Qz0EdjobPQXNWWjAmcCWfCQTGM0xRFisL//p30=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=is/yPSqkCH0TKfiVNbNAtlqz1KE320OaKJ8EiTLiC0cVmetSiwsxfhFZ9zBO1p//itVddjt2UR1y1Ofyont3Mx7fkNDtyKdyWQwtCqtstIVnBd0iXdDyojNPiw5detdavgBV9hevwE0NCi8FIiH6xrqKJoIVpudL2Kp9jou2O5s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=dQ1xrd8d; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DUeiJU88; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="dQ1xrd8d"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DUeiJU88" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62J73wH83927153 for ; Thu, 19 Mar 2026 09:23:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=LgOOeXv0VRoDq7AVXq3+On8joibWPy8NRTz PbB+Kr7U=; b=dQ1xrd8dwUkD0jDrJ51zoFlCmOXKxapFzNrSdrsvgA8d0uKsXsP cxgWzrq84oE44I7h0tWxQn+s6VqQQ63oGhLN0pOENusKE9wP1snRqeyo9TQFyIVd ihO84tcgv64+oFA3ZgHXOyEIEQfaWJ66A7Oo3I/s5+lDNFf00a9aKVTY129SYoCJ 2Ak5pSxRQer4hv798mZjdwVC6MtnXkx4xqB1k77tQUAiIG5dlMZF0Aw85UDh+XVR +ipWuA2+Tui9FuKJZZZRal670sPBZj+pkQq7LBUaQhj0QZyeXy1yqxV0fTjhtKcJ CDMO0EQYsnvvxqzOcc7Ba72b9slmD3bkyAg== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cyut1bu36-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 19 Mar 2026 09:23:53 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-5091327215dso72563641cf.1 for ; Thu, 19 Mar 2026 02:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773912233; x=1774517033; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LgOOeXv0VRoDq7AVXq3+On8joibWPy8NRTzPbB+Kr7U=; b=DUeiJU88vrjJF9rMoD/G5+CtR+DSH9br7ekEu8nX0qrg3tRJK//5afm86cq5j2djnT /gNtALzACeJTfeG1l6HrBmAWSD9mCsRS3I/g2c+MhWn8kv3UqYKPQb++5h3NJTydOX9N AMRotBhrKqrwgrcE4aFwTVEG4yONMrF+Z+ZrhIWR2Zmf+7g5PjUx1qib4uXwC0M1grYa kTVUAT3SfgFL7wG3JcmjHNoWuF/Q/ur9Wtldavtl+nCKcXa0d2Djimg90CJ+ilyaCE8J ddQ7eEpaU6N17gGJDspWw0JCi3s9j2V4E1Ipe7pVwxj5PSoNI4NHm6HTLpccUgCjHGKI x1HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773912233; x=1774517033; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LgOOeXv0VRoDq7AVXq3+On8joibWPy8NRTzPbB+Kr7U=; b=knykgsgoCQJgkUz2Bz8eiKelY5cCFdRWyrS8ieqQt0t/u9wc8/J42ZoVM3udQqz057 2yjS/B6Aj0h0p6CvRnFHbw9C4m6qOKpXjt+dX/aqH1XBLd15Bzx6uJ0f+15cMUkbSuuw AQn+PivPY9ZO07mOgi6B6ALbf42jsTao0ZsAY4INsbpponzlH4hoLJUQB+UZfoSG+B7I BvB4JF+LfL/Ycye5O9N/eLY/ffJ7nHCdz0dJ2XhYMNOWGdMUoFrVptErTQNCvmZ2bvgT ODOgcF85LhtFT7xkB66oLkHXlSdYkqYI7jnCmb/Ius07ODEbtEYb2IYz8y7pZkHPmg/3 nL0Q== X-Forwarded-Encrypted: i=1; AJvYcCW1nvBmEOpz5J27fHloLmtpjDQQstKcft+9faWaEWUEf6rTlPDkDk1MVmHY5RDnHVG+kNeYi4aqSBjVAx0=@vger.kernel.org X-Gm-Message-State: AOJu0YxGRbcl4e8L76VltBLq2QI/JjFsCTP7EYTycliPcs8ClY5VX0Fe PW1UV3Rl3x/XUtlz1g3Otem3eUYNRvSM8yFVptKOmsOhpAM3hkCUbbp0dUMmv/njNjF8lSjOuNh AOkTEbUYWPPcgS3R5SVLyBZty2uWyiyiWhgXFmrkMB3DGWaqZhGi3RWccEgEw2OIAQhU= X-Gm-Gg: ATEYQzztnI0u5rwfZzof6F2BslBPXYVxx1M+vm0tYRbzrxfoGuzX9EvKTP4NNaczBqW lBx4YydPQ74eKtilzHAh9xBWdPTxvWHMPSofAV1y0eMSpyqGSVTKxD7c9UCtZP489t/sWGoQeDB 2qOxV2DMMhubVjf7G2WEXUCBs1NkvKybIN+gTDk3z+hlSesPKcTWObw+uW0rBWaAfkm8Cqd4mpD 1I2iT5QUis31gpWgAQWn8/m1pH35IC/S6HfX0ZD+VHhLYkb9MFRHllTi2KtKIKPSKiPaqtP1LLO hZBvgG1ZdjgEoxc0lLed0ZG1Kr3yzXRvzLfX0pv0rRPRUyOnmEP9Gb6sYQ6xBGl3IHIkLMvbIqv TLoxv//fWBsbpgY7KYGAs2Iqq/M1kBAbPKKnX X-Received: by 2002:a05:622a:203:b0:509:1d55:635c with SMTP id d75a77b69052e-50b1485f324mr83804701cf.43.1773912232803; Thu, 19 Mar 2026 02:23:52 -0700 (PDT) X-Received: by 2002:a05:622a:203:b0:509:1d55:635c with SMTP id d75a77b69052e-50b1485f324mr83804491cf.43.1773912232374; Thu, 19 Mar 2026 02:23:52 -0700 (PDT) Received: from quoll ([178.197.219.94]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b5184957bsm16035462f8f.5.2026.03.19.02.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Mar 2026 02:23:51 -0700 (PDT) From: Krzysztof Kozlowski To: 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 Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: usb: qcom,snps-dwc3: Add missing clock constraints Date: Thu, 19 Mar 2026 10:23:49 +0100 Message-ID: <20260319092348.35237-2-krzysztof.kozlowski@oss.qualcomm.com> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2361; i=krzysztof.kozlowski@oss.qualcomm.com; h=from:subject; bh=J2U48Qz0EdjobPQXNWWjAmcCWfCQTGM0xRFisL//p30=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpu8Ckuvx6Bdy8WDPpdQU+csJ6ihyxDO/3+BzBO S27/rWHzI2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCabvApAAKCRDBN2bmhouD 181aEACSnDj5bbd9nZB7yxUC+xgAlKoaKWIqioVoAsDE7gvkNy8nGl9FmlEqPEXylxt8ALYGKGE Tdk/A8qlIN/r9q9X0dBUJ6AudEcrKD+0FPGQv44Z39wEdGIP/EHIGioUrExKs+0EQSiPBhzY8nA GKnmcCRRjpkT2MhvikgXECoGhJRS8lJLaPA76F4ioRJO9lY8IqRf/I0ujRFvEkpgfBjuo9lHsUP qL/Qh1Va8LfwpZQfAvY/Pql82hOB+3Nv6U5i/o2GCuPryz8Sr7MSslPzL9nGRJchLMD7i458/Bd LAPV6iHvo8A+XvD0SJOiYxd4J6ND5iM2FEjY6yeY+P8UVRGUwGncJ6f1Ok6r3YWtyXFExHXJH39 nhFgVuNAKeRtES5n/Q4I9nWdLYFRpnbWKZFkOV2Gwbyli+FWOsin1CBDTgPd9K/PemlAFJd2IZf pe+bgufFu/Mz2juhSJsr5RorWVD9NsYD/zxbniJXOTGT8HL0Foh6waXJU5lSnfseDgumV2Axk11 6diiaSWSPp3hmtWhjnN6njmQ0cp8GruMwImXB3D61Imb51QjHkGNuWoRHGv9f+A8p7D8HxeZpy2 eJz5oMbrEkxJH6hDysEUXWUZETmeQmvBoGdJkJtauAYRcgOlgPA12sDF75jcr+IUet/R15Ck2Ml 3XlIPg01UXotr+w== X-Developer-Key: i=krzysztof.kozlowski@oss.qualcomm.com; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: dfZmPqnBTZpgM7FW9FmXmy-AF6CXfD37 X-Authority-Analysis: v=2.4 cv=ModfKmae c=1 sm=1 tr=0 ts=69bbc0a9 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=gOEeR9iKwsj33Yj5oN/cWg==:17 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=nKn_0JQ5aXeIdToyfSQA:9 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-ORIG-GUID: dfZmPqnBTZpgM7FW9FmXmy-AF6CXfD37 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzE5MDA3NCBTYWx0ZWRfXwnwMv1pwb5Fy lxduOfy/rORDvV2ZCFkqI++F0FVzjDA2GNjVdUmesxGCBaRZwgIgJS9GrOg0fDxo4uEK16kcaGd zulAPwJEAlPs5V6PXLACpUAs7fh5f/EeUKXzR7IbGCYL3XtazLnAzwaWsFoWNMPFdeua+JITBBq 8akCM41dg2f9EqxCWnTyYLSllW7XtoPDHNdWauqeZpjOU6w1+c3uwbRFk5/+yyfqbNA8bOJcQeA McIycya1aqiNRNZqbbtY0uyKVmNYUavRxpZX8IW5C+vQsiT8iP91Xvkvp0Q9VSp/XbmQvix1/Rn Mn+qlkZVlj3ZVjfWE/zLEq++BJcTPDuh63E02HavnY3XG5YeLBf9hPVWz0TXJRteGbCjd7XBko6 eWlbrJiFztMqOQ8eb+jNEjTtdbFuyiIeb4Ja4ePzYEw6+0MGaXL0jwX4Y+4cyEYDdVPK5IjMTlk FNnCIYdUaYaeyIlH8qg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-19_01,2026-03-17_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 clxscore=1015 adultscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603190074 Content-Type: text/plain; charset="utf-8" The top-level part defines variable number of clocks and each "if:then:" block narrows them. It however narrows only the maxItems leaving minItems undefined, which then takes different values depending on dtschema being used. Recommended style is to avoid ambiguity in such case, thus if top-level part has broad constraints, then each "if:then:" must specify both upper and lower limits. Add missing constraints, mostly minItems but also maxItems for one variant. Signed-off-by: Krzysztof Kozlowski --- Apologies for sending two patches for the same file one after another as independent work. I do drive-by fixes when doing reviews and usually post such fix immediately. --- Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Do= cumentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml index 2b6a0939d98d..cddc88e2bad2 100644 --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml @@ -173,6 +173,7 @@ allOf: then: properties: clocks: + minItems: 3 maxItems: 3 clock-names: items: @@ -220,6 +221,7 @@ allOf: then: properties: clocks: + minItems: 5 maxItems: 5 clock-names: items: @@ -262,6 +264,7 @@ allOf: then: properties: clocks: + minItems: 4 maxItems: 4 clock-names: items: @@ -281,6 +284,7 @@ allOf: then: properties: clocks: + minItems: 4 maxItems: 4 clock-names: items: @@ -301,6 +305,7 @@ allOf: then: properties: clocks: + minItems: 9 maxItems: 9 clock-names: items: @@ -361,6 +366,7 @@ allOf: properties: clocks: minItems: 6 + maxItems: 6 clock-names: items: - const: cfg_noc @@ -402,6 +408,7 @@ allOf: then: properties: clocks: + minItems: 7 maxItems: 7 clock-names: items: --=20 2.51.0