Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp191701lqr; Wed, 5 Jun 2024 03:12:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUI8WXN57H81dUSEcfbOdQ3/YJkIKASgYXQoxs2L1cI73aDffpBgbHLaTkvx23QmKTh4Um7XkKa/rAN94JeyVuzW/mTDIyCxgu32zPvhg== X-Google-Smtp-Source: AGHT+IEyK3862m4JroUTqGkIlQmVG4LgfSiXahkgFa1Ps43eSOVDr0Hb/4JBz0RdkW4UZxw9L4n3 X-Received: by 2002:a92:c564:0:b0:374:5c5d:ad0f with SMTP id e9e14a558f8ab-374b1f4039fmr21293085ab.25.1717582342102; Wed, 05 Jun 2024 03:12:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717582342; cv=pass; d=google.com; s=arc-20160816; b=hWX9jLktVu7oQidtUI5pT11Tw/KxphqWfr4sH2ylGuzWxyOrFI61sRWAzEEb5HKWSY S/OO8EHCAnYwwhYhEPCYG/SxzGVPbeghfQmq7PnM8ArBoisrRBcZEkoOj2XqlY2HT5Eg LageWe88G3D29o6buey6Euh0QJhHzZkRdSWwfEejfABG+5mjikSFhAINYhtPgEJrE35+ 6FQfiCim++rHDoxvU+fqfWCgytW4+6R8b2iQmNhteRoK/IZDB1VZJc/8e50NxS1yk3Jw VoGaRkhVM0ML1EVYM9YNxwz/8FoGSYHTnBL2yPGYFXk2dpcJS8VBLtvIZAB1VDMK4A2l OZBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=9DzuTZgbZabvBJ626xcW1V1Egdfb6MOgv2LEKNybpd4=; fh=InoGwA1NN+ZpGePeP6qZrrYZdAFVeK3fQviQBhjDL7M=; b=cMbzDEG3PZ8lluWooyvduRJitQ8Xk0cEcyZjb3J/qx009+5tpHNvUQHZ6KUsjlRfnX VU/HW8q98GIAc8E2S0ZLiq2pAmE0Rkw8A3x/d4/r37iDu5mjijJzzpggi0xUAOrqkk3m og5JgWIoAkReA1KFw7l5SZM17MfTOHWo0afLpc7YpC5BS9vSaCej04lciB+9wD5GG6Ih yikFZCL1B/95Es0Og/pF+MGm6otFcBBfqJu+OVtVgEVlZ2Y3bPcVvdbbX+QNCQC6U2S+ YSeGD2gvyv7w5kIo6fSd2AIA0BiQs39cGY37sCFRE2urlU8Wo+LvM2sdeRmk8xSzm8ZM GjSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQLzxtYz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d59f555si2298979a12.884.2024.06.05.03.12.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 03:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQLzxtYz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AD3E6284632 for ; Wed, 5 Jun 2024 10:01:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 560C1190050; Wed, 5 Jun 2024 10:01:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tQLzxtYz" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 CBB9E17C79 for ; Wed, 5 Jun 2024 10:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717581685; cv=none; b=Xg1b0T4HWTwSFd9vpd1P0wxhpVKiplZoRvIlArQY5GbAwTcoNfgvcyN6bxuyCb7wCM7Kv2E2xhlOmIh4Wq/XQ6GC02a3uRZXA5GsDQnVomPyPBVpjpc3RNIovPyPCuzcjE7EePQ+LQsxzKqB2FucewTkZElzMInT+avef3cBdKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717581685; c=relaxed/simple; bh=X4J+NHCPUK/pGeuU2jk5RSkU7NENxyMnKn+lp9gIWQY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=YHKXLRXhujHNJ4cN996MTW2DBCphzEKinW1fBQBSdKYAGHPjZ9rApOURYnGOtBlqIj54yDxDmUK6HOzQTaNOcTMD7rqgWoXsasRGWk28Vh17mOW6DQleXurcVT+5y3SIi5uUHhOTyGnN3Rw+2eylOqSwOVBXFSCCkEwjG3I1wDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tQLzxtYz; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-35e0eb3efd0so1799663f8f.0 for ; Wed, 05 Jun 2024 03:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717581682; x=1718186482; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=9DzuTZgbZabvBJ626xcW1V1Egdfb6MOgv2LEKNybpd4=; b=tQLzxtYzxu2+Ru8+klts8EHgg2RizfAG/TG8uwd2wDI/1LRrbaG+zosv4/GPBozw6O kVd7DhpHk61DHijT6vq7ccbb8Q1hOUz943Tk3p6Vv2TSTKu3034HHdNmZEWpKGTaVnzT x7VvAj8rebSW55yk5YIE4hoV3hZdTal4nHFCERhtGAF0Hrr4tA61xZpEceVMZ3os2DV9 I8opD9bNHIcd+Ef3dHOQDXL15kNX0sf09tOYjZsokTJU9E58wrAMBzNMn9ZqEvumSqbz SfVh+62Nq9Cj7id2rDLCDExr+Cg2EjLqX6poVjyLpdRRH1j+PIZ/8IAlVyaIRm5CWe5K eRSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717581682; x=1718186482; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9DzuTZgbZabvBJ626xcW1V1Egdfb6MOgv2LEKNybpd4=; b=qyTaXSs+6u/iVYmzWWSla3QRbrok6W72Jn+SkGnwfNEe8nC0G2WOc2FXiKrsbwSH8t 1OyzrZNdzXgbH3aBwKm6SMpUTDz0ORkG/5q83eMu7Qs+sl+KymXR09xdzjsvOLyv3b4w CsM3ad8u+sI8UrdrxW27Xll8MA7myte1eJGG+3NLWiLfgOpylpLb5aiG4jHM7MU5jz3M RDGxG0UfouzigwJvKGfKAbLFB9M9fYOWjotG+fQCaVX5WZ6xTcLJgiHb1cXT5sbQXT0j fLIu4vgqmqtr65ueSsxpDc/3woT90gtHB4e2vPb+JC8G0OyUwY03OTXZ3osHyEszLed+ 0Ktw== X-Forwarded-Encrypted: i=1; AJvYcCX9nLc8HKFg/e/XZXwB5ukeFn88XGpC9RuPEbVIsS3GGnn4oWjHaMyU0viXyUoEr5GlsgZTWRv9U5tQmqbZhhxBcNKaelKmlgO/UJHp X-Gm-Message-State: AOJu0YwvJCGhYRdo0jUMaofLfCVATY207uJOAwgoH7vE+kUV+oefJNld oRpQgKClfRHT5DT2fOG85g7dnJi2CSMtwdNT7TP5UU4JqhamwjWwLN9ip8HEQj0= X-Received: by 2002:a5d:64c3:0:b0:356:6c6f:2609 with SMTP id ffacd0b85a97d-35e84070f54mr1572425f8f.17.1717581681967; Wed, 05 Jun 2024 03:01:21 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04c0d98sm13952677f8f.24.2024.06.05.03.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 03:01:21 -0700 (PDT) From: Neil Armstrong Date: Wed, 05 Jun 2024 12:01:20 +0200 Subject: [PATCH] dt-bindings: usb: dwc2: allow device sub-nodes 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-v1-1-915893e0cb20@linaro.org> X-B4-Tracking: v=1; b=H4sIAG83YGYC/x3MywrCMBCF4Vcps3YghhgvryJdpMkYB2wSMq0Kp e/u4OrwweHfQKgzCdyGDTq9WbgWxfEwQHyGkgk5qcEa64w3J1xq44hhftWsuzZZOoUZJy6JSxZ 88JcE0ydalHUqNalc8BcK6Xz11oGWW6f/TcP3cd9/Uub03IUAAAA= To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1269; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=X4J+NHCPUK/pGeuU2jk5RSkU7NENxyMnKn+lp9gIWQY=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmYDdwUDjjv9AL8LPyasrSreKHRVDjunpIjJGGPuCs SFm8FWaJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZmA3cAAKCRB33NvayMhJ0RHqD/ 91reH0EXlToPWL2lQdQz/ocv7rkKkEopctmGkYidL3n347CT+/C7ZIhK9dRAUxJi4ht0SC+P8871iv k3sW9oW7Yt2DrgRLzaQvZODRodJ3SYAkpBU0uNXJ6oYUGFyQrI376Zo5BL5Pn/j2Y43smPvaLr8kW5 zbY66WL+5KrnX7BqgEJ3QkH4x+8enMhdh4RWaUM9jExizBN0evEgJPmzbQX4laIvNg7oP6FXel+rQp H1Lv/ziAnQxX5Tay3FIhwcS1bbCG3q9TS3k7qkJXUw1xXpSXGQ+Lf90Fs2g+lJ751NfmVcB2CbrO2w nYKxbGVyoMgJTpMHEbBS7fujVIalvaHwbqXgW0CEw4oMUL7iLgHHSRYQcr0CQsywAP3TWQiSOrlT6s x37eP4M34lbN789gS/sWrmYUxrxHfBZSXN+OnLcVSbM97uN/tpWLgCtwfeaJQzQsH13Sfr96m2GhiA 5GGNBzvoZ8T9qwVK0k2JMhoG55L5uP1bUcskCZU2jWnLor270WQyoyukLL50lyvqkBDrrj0EHWSuVn KVz1+rV6YTf0JniqimLr+VJHek19SLIw7SAS4vFKcyzBkPpsWREOGKfLr9QaZFUioVdjt8MPr0bUSP bDARGb2JCqkXVFe2GTAROTaL5MrDY6vRtmR3OekfD4oF1VVHipcWG5vvJSMg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Allow the '#address-cells', '#size-cells' and subnodes as defined in usb-hcd.yaml and used in the meson-gxbb-odroidc2 DT. 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