Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp66200lqt; Wed, 5 Jun 2024 17:40:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvMvDM3XLrpGu85C7eosWBuTZ9xpqK0CFkIKnl8nhEU1hAaqNkrqJcGQc+gZ9URNBbciMkQiq+TwKkmq/RsZlAeeTrLR79TYcHsr9s/Q== X-Google-Smtp-Source: AGHT+IEkGTP32jBLANoiHEx9fpy6sxG9k9TzeS0J8J3h0+JBcYtxF5TVhMDMJ/bo27/wfWZQYSU4 X-Received: by 2002:ac8:5d88:0:b0:43d:f335:425b with SMTP id d75a77b69052e-4402b69639fmr52311751cf.44.1717634427027; Wed, 05 Jun 2024 17:40:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717634427; cv=pass; d=google.com; s=arc-20160816; b=ei1GSQxsCMgU4vG9lxvSJzCJhIILLSAlSIQw1bIFY+CsjuCaZvUBSqQSdF4faKlh39 qZRt8ErZh71v9/NPShyzliHVOA9SzCa9UELVBwAZV2ObpSAw25CTabXI9y7nM3NLVk1U nO4nH6110FdQlMX06ujwMS8J24UhE4apNtC+HZLEcbDQD+jUm8rt/YpPkrENC1T6unLE De+5H19ZT/ICRWPhJnDCAbRX3m5d7HH4exjiW6RAQDBoWx/IY6I4gyhpAuLgcEa3sb8W Mh5XAodPFmDBE47D/U46u01n24IiwtTaIkVnumKOcXv+1HiLiKb5Yye4e9fh/O1d40VJ 3izg== 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=QtASqK4QTtEl2pGtJ9TEYImgBtzJx0YKWEzTY+0+ulI=; fh=rQEz/PZGdPQY+Q6FjbfHhSYFMIAqplKOMxh4K/H54DQ=; b=Zl/xkNUwdJTtcwSplLlSHHRyFZTbgbNtq2lgOSlaLVja0emrUaySGf0cK8XzwI3Lye kCi+yxFEPaXtk9FGa+rlhblwXvwuFpsmzr+YkZXWOwjA1fU/VusfCuSvDxhg/Os5nTL+ g6Qa0txu/qrt8aZkvYvV18wZBb9eW9hxp7CQTn72ENNeVlYOZBtIlZhuvKVvAS1P1Alk GYMR51e8cdWb7LjqKmCC43Si67hieYwFN1DfMHxU+iBJPQgHslWaSOhcSdVyALATM4/O eDOxsEkgRdx7NpeJE75BgRMep4wULmT/PxO95V2GTTs3Mzvz6eSiSxjTXsv/b2+tkXOe 3ecA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mAgjRwqr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203461-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. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b188fesi3920221cf.298.2024.06.05.17.40.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 17:40:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mAgjRwqr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203461-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203461-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 BE7421C22CC9 for ; Thu, 6 Jun 2024 00:40:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2224B10A2A; Thu, 6 Jun 2024 00:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mAgjRwqr" 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 45F8FEEDB; Thu, 6 Jun 2024 00:40:03 +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=1717634404; cv=none; b=a6jrXVSgtuNqunSHlEc6UvNCnRPNHPoZIyGrtMyMV29+JRIRPpHLPHlgtOVBHFVlAGQW5nHuJO5fFeNvHakPUqMCn412qJVexN/BPmNnM1TUaiyj1UXKu42AR+PD89FjB8zBXfCV2/ZeWbFQuYiDvFtBy/52WkcUXcy1LZDph6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717634404; c=relaxed/simple; bh=FR0+k6fv0YnpKmp2vH2K4VsZGW8MvdlAWv+l1JC7UJs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n/iH9x9s0mFtzBYb5pvsyPljEaX9jXvNFWHJB2d+UZjILA+u+Du1Y6aImuYkNOEjz29qof34bITKK1pUyjl8Tdhwj1GQ/wiTmkqyPvtlnGzJhMx1jnIjCrfAeodu2mQx6z+NbCrn5AKiGxI9mYWDkimpp4dykH9xbtnv/Zomc+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mAgjRwqr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55BC5C4AF09; Thu, 6 Jun 2024 00:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717634403; bh=FR0+k6fv0YnpKmp2vH2K4VsZGW8MvdlAWv+l1JC7UJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mAgjRwqrWzEPptUYHbBnsVG3lZp2/U/ycBwESN9sWpxiU2iSEw4E89NHXsoqOtlA0 5c0I4y2k/w4GXgzREX61XYl8HdgKnriPv52gNERkcVTPzbBfkGuszU9LkhGtP06ud9 iP+LY0vXlGVU6hc7eDYYkiIEW3UYqUQyFQkJAJc4vGXPXc6idT0sSsi2V23VfTCKrb 9FEc4uuYQH4ua/uLamse3syG02/I46EM+N4GX3Pu41tat377zNu9WCpVxeIwwbQjDw PWW/yrR/Ihw7kqr+IaODXyfScRcHJifbhuoM4kYKmgyruuAjR5gKtFCFa2U6bczH96 runBA4Veoy+jQ== Date: Wed, 5 Jun 2024 18:40:01 -0600 From: Rob Herring To: Neil Armstrong Cc: Greg Kroah-Hartman , Krzysztof Kozlowski , Conor Dooley , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: usb: dwc2: allow device sub-nodes Message-ID: <20240606004001.GA3525173-robh@kernel.org> References: <20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-v1-1-915893e0cb20@linaro.org> 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: <20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-v1-1-915893e0cb20@linaro.org> On Wed, Jun 05, 2024 at 12:01:20PM +0200, Neil Armstrong wrote: > Allow the '#address-cells', '#size-cells' and subnodes as defined in > usb-hcd.yaml and used in the meson-gxbb-odroidc2 DT. Doesn't referencing usb-hcd.yaml instead work? Or you need unevaluatedProperties? > > The fixes the following: > meson-gxbb-odroidc2.dtb: usb@c9100000: '#address-cells', '#size-cells', 'hub@1' do not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/usb/dwc2.yaml# > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/usb/dwc2.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml > index 4f36a22aa6d7..9e737f587664 100644 > --- a/Documentation/devicetree/bindings/usb/dwc2.yaml > +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml > @@ -177,6 +177,13 @@ properties: > minItems: 1 > maxItems: 2 > > + "#address-cells": true > + > + "#size-cells": true > + > +patternProperties: > + "^.*@[0-9a-f]{1,2}$": true > + > dependencies: > port: [ usb-role-switch ] > role-switch-default-mode: [ usb-role-switch ] > > --- > base-commit: c3f38fa61af77b49866b006939479069cd451173 > change-id: 20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-4a68ead79624 > > Best regards, > -- > Neil Armstrong >