From mboxrd@z Thu Jan 1 00:00:00 1970 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 17D10230BD5; Mon, 23 Feb 2026 14:33:13 +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=1771857194; cv=none; b=aSDn7vF0ZCHY0DzQ7byKZdZFWhEHMaXaPIT6ZYQ44+Ik919qb7f6TAdhSVEk/mOvr08TA7PnQcgiRWCWLdmP7MKl2XfYWBVpkcmRvS8gWoo2lNttZCtJYw/WgIFFb35am9aCWxd0KSmdjMBDOAazaUFDMGkmJqV/KrXPgRAd/QM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771857194; c=relaxed/simple; bh=Q0FH397Urfh6xopj0at+Jh0Bj2tII/FPxDR9SkcM+54=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P/QH1oha7Hev4QJW13z3pBRNCS4h/xO59fCyYPHQ+3trUT6DR4CH/12etrtHtv2RPn30O/69UoENziV2r6arqiCSljgIyWyhMUBPfxQBf/C0WWBwb455xDN0hExxEC+pv4QFzzNVbY+WdkpDMzJ4XBnft0d4HPbAQHheFDESeTs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GTN00XYz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GTN00XYz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 668E0C116C6; Mon, 23 Feb 2026 14:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771857193; bh=Q0FH397Urfh6xopj0at+Jh0Bj2tII/FPxDR9SkcM+54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GTN00XYz6h+wTFeDv1on53bUkqYp38H5NstW7PDfefSyYFnRwShVbelloZ8YOUyyP jp4EtT57mePHGTpJjA29ZCkXJIRctx4c20zqLPRSIqNjraDivgdgVxrgp7s/cjFKKX qR3Uf9zDq5eDcE3DzcKWr9BJls4lDGZcH7MYzYnU17AzG3hk6uVdD0i60naViyBNcZ E6Ztvw21bFwHMso9nMflWY55giQkdVeYrMgmpj5Ni7+hwdw2Elg3rrk+1ke8a+0npu CuSPj761zUOZxD9624wRCHx3MNhkFixX9+K4oNCrZWF+UqG5TWtZfTuQ537jTGQcTf cmGwrBX7RgZdw== From: Thierry Reding To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding Cc: Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 01/10] dt-bindings: phy: tegra-xusb: Document Type C support Date: Mon, 23 Feb 2026 15:32:56 +0100 Message-ID: <20260223143305.3771383-2-thierry.reding@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260223143305.3771383-1-thierry.reding@kernel.org> References: <20260223143305.3771383-1-thierry.reding@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Thierry Reding Each XUSB PHY can be hooked up to a Type C controller via a port property, so document this in the bindings accordingly. Signed-off-by: Thierry Reding --- Changes in v2: - make one of port or connector a dependency of usb-role-switch .../phy/nvidia,tegra194-xusb-padctl.yaml | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml index 6e3398399628..d8de900a4fce 100644 --- a/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra194-xusb-padctl.yaml @@ -230,6 +230,10 @@ properties: connector: type: object + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + mode: description: A string that determines the mode in which to run the port. @@ -256,7 +260,12 @@ properties: voltage. dependencies: - usb-role-switch: [ connector ] + usb-role-switch: + oneOf: + - required: + - connector + - required: + - port usb2-1: type: object @@ -268,6 +277,10 @@ properties: connector: type: object + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + mode: description: A string that determines the mode in which to run the port. @@ -306,6 +319,10 @@ properties: connector: type: object + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + mode: description: A string that determines the mode in which to run the port. @@ -344,6 +361,10 @@ properties: connector: type: object + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + mode: description: A string that determines the mode in which to run the port. @@ -405,6 +426,10 @@ properties: description: A phandle to the regulator supplying the VBUS voltage. + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + usb3-1: type: object additionalProperties: false @@ -438,6 +463,10 @@ properties: description: A phandle to the regulator supplying the VBUS voltage. + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + usb3-2: type: object additionalProperties: false @@ -471,6 +500,10 @@ properties: description: A phandle to the regulator supplying the VBUS voltage. + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + usb3-3: type: object additionalProperties: false @@ -504,6 +537,10 @@ properties: description: A phandle to the regulator supplying the VBUS voltage. + port: + description: connection to a USB Type C controller + $ref: /schemas/graph.yaml#/properties/port + additionalProperties: false required: -- 2.52.0