From nobody Thu Apr 2 10:43:02 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 7F99134DCCC for ; Mon, 23 Feb 2026 11:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771846067; cv=none; b=jARb2A0BhkJ+wmGrpnIi4P5BekcL/u9iSjoYnBGHCy0yvtzN2uE7nqwjCOHtkbD++FovPIeLOZkwaYMr7R7SDDG0MFQaH72a4c2XS3oXbwlCFPxYMIDf6IJWUKy4grEegsjOyjKe661kozt/KVtncWZNGHbLZe2GTc/HaTMOcQI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771846067; c=relaxed/simple; bh=X99J4EYETaDcZTtHLmSJ/pCmG96o3v4GJbDAz+8Lxno=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kgPLJ58EA0ZBaEj1l8XGvkY3CrrbT74c+babUcolZTIJ3pyhxAdLJf90NhKADSC9zgCH+FkEFCnNph7nnn8g1o6sahaob1pZ3jiE1Bfz4ci4AkZwYL4ate95M1T67DS7uyf/VXbUxurLT1y5F2QSulKqfBqNo45OXhwyWv7KaTE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vuU6C-0007VH-9v; Mon, 23 Feb 2026 12:27:36 +0100 From: Marco Felsch Date: Mon, 23 Feb 2026 12:27:36 +0100 Subject: [PATCH v5 3/4] dt-bindings: usb: usb-device: add usb hub port vbus-supply suppport 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: quoted-printable Message-Id: <20260223-v6-16-topic-usb-onboard-dev-v5-3-28d3018a8026@pengutronix.de> References: <20260223-v6-16-topic-usb-onboard-dev-v5-0-28d3018a8026@pengutronix.de> In-Reply-To: <20260223-v6-16-topic-usb-onboard-dev-v5-0-28d3018a8026@pengutronix.de> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fabio Estevam , Matthias Kaehlcke , Liam Girdwood , Mark Brown Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@pengutronix.de, Marco Felsch X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Some PCB designs don't use the dedicated USB hub port power control GPIO to control the port VBUS supply. Instead host managed GPIOs are used to control the VBUS supply. Signed-off-by: Marco Felsch Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/usb/usb-device.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-device.yaml b/Docume= ntation/devicetree/bindings/usb/usb-device.yaml index 09fceb469f10525e9dcdb91435b142b0d21964b8..c9abdbea0e5348dc25f8f948414= 2089cf60bd514 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.yaml +++ b/Documentation/devicetree/bindings/usb/usb-device.yaml @@ -53,6 +53,12 @@ properties: "#size-cells": const: 0 =20 + vbus-supply: + description: USB hub port VBUS supply. + The host managed regulator which controls the USB hub port VBUS. This + regulator is only required if the hub internal control signals aren't + used to control the VBUS regulators. + patternProperties: "^interface@[0-9a-f]{1,2}(,[0-9a-f]{1,2})$": type: object @@ -85,6 +91,7 @@ additionalProperties: true =20 examples: # hub connected to port 1 + # device connected to hub port 2, vbus controlled by ext. regulator # device connected to port 2 # device connected to port 3 # interface 0 of configuration 1 @@ -99,6 +106,14 @@ examples: hub@1 { compatible =3D "usb5e3,608"; reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + device@2 { + compatible =3D "usb123,4321"; + reg =3D <2>; + vbus-supply =3D <®_5v0_vbus>; + }; }; =20 device@2 { --=20 2.47.3