From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81927CCD185 for ; Fri, 10 Oct 2025 20:16:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7h0XsNBz7gTf2bfjmAD0YMl7x+QyzOPH4CYfN+O63tQ=; b=FyQqxLPgckDgyyIxnbBSug0Dnq WLq8MkJhJIGgbVSof3AI/Mrnq6CCmFqUinyMfpV9fTzJ+LIfFSuJM2ideXX58mYmi84rxvDNJ7eLM eTAFdvW5Un5zvWx5ByLunYF0WbQ0qwJHznZZGijJhO4JZsyNhymgRoR4KNuVXoyfjscCMXDqdi8e4 M81pp8ukeWE0BAWFZ3p8tRJzAduEPS6yF5EStandlAu+RX7EYil7+csnRwLJa+wJDlbK1LDrVhxcW +Xqsz/VPpYsr7lMGjzwC/N94y+mMANnQCpOuKd4mK0hLullqk5w/d7kKilODg1zk/8FRM/HhQcI42 9v/Mow2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v7JXW-00000009Iab-0tnt; Fri, 10 Oct 2025 20:16:34 +0000 Received: from mail-pj1-x1049.google.com ([2607:f8b0:4864:20::1049]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v7JXT-00000009IWA-0DYk for linux-phy@lists.infradead.org; Fri, 10 Oct 2025 20:16:33 +0000 Received: by mail-pj1-x1049.google.com with SMTP id 98e67ed59e1d1-339b704e2e3so6742989a91.2 for ; Fri, 10 Oct 2025 13:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1760127390; x=1760732190; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=rDMjRNZuXBcadxapfJv5DZnyvTWebZelvolDUVBwbeA=; b=HTbZz4AHoyBWLKyt5PFxn4ulvqpTC/1bPiGw7ruDFLCn4On6Uqh0jf2VdQ+Zk6ORyA 0arwGRWfD37eIQ68IvcA5lNDnGMSMhUlolS84SH8AVEo+0AzbNOeQLiJfSfJufMiw3gs 5jDVYofDtUC0RXh6yUdKd5uK8uwpaPs56qME/xAZEqNkN1VKx+aCSlnEhs34Wph5lmSG IOFalpl1VKszgzUzfQPYXzRiO3rRUVwsmD0V2oGsPYaZ7IrCiBWmNNuq3w79rosK1eSB qxqK1HcBNTmDOyzp9iLcjWHu/beR3lx3YQlq7gWpkeOMR7soX6ZHqWsZhnLL228XjEvG Frjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760127390; x=1760732190; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rDMjRNZuXBcadxapfJv5DZnyvTWebZelvolDUVBwbeA=; b=Yh3MTFL/AKQ1mMBY2gASWON12ROAaDdpT7WlwQh4Shy58u3b1ZMwmKM0MQF0QtFH7v dIlK+yB2nUgf+S2Ye18O0YjP+Jhj5qyMdSpLxdt0aEbp1nPrqdjJOWXQzSybk1JSTx7f Rg8GVRr8UKc9RVuHJ3+1JENMQeikFvH24ZZyeEasUH5UL1C8WSmTvJCRyCAOqb7Qdk/W /KyEbl0Xp/1x+zhS43pUPMKGcmiR6Fd9YdG7JBgOySGwsmXHMhiXyks7iefeO2OdwNLF I+bpaXXVGiVhLlO66IljNK9RJJCvirlM/my4jl8k+K9SyJcDloIa+mqZMZ/cdLwluS+H c6PQ== X-Forwarded-Encrypted: i=1; AJvYcCWMZiUkrDxi/U4u5y6R42yZYXZ12KpzRomgVmQnW+LY4TxVR/5vZqj4sJNQ14VQAJVpsKx+ICH/Ku0=@lists.infradead.org X-Gm-Message-State: AOJu0YzQnwzuCq7TqlIn6NA2bRQJjxW25cVNh3dD2QIB6ptHe0IjASAx QUeqRd3MLMJPQL903sdgD8VaSw6Zr6JxrC6EifWJrh9p8CmnYR+n2DZNTWPxa+/z8fr6BN92ciV A7aOeaw== X-Google-Smtp-Source: AGHT+IG2O2/hmz4EGHxbz6LI/FnWz/lYeOwpP5uEupOv3mruD2AaSSt/AAWUjN2TixtwciX5BwSqJ0FHSFw= X-Received: from pjff6.prod.google.com ([2002:a17:90b:5626:b0:330:6c04:207]) (user=royluo job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:4a83:b0:32e:b87e:a961 with SMTP id 98e67ed59e1d1-33b511173bfmr19125944a91.5.1760127389914; Fri, 10 Oct 2025 13:16:29 -0700 (PDT) Date: Fri, 10 Oct 2025 20:16:06 +0000 In-Reply-To: <20251010201607.1190967-1-royluo@google.com> Mime-Version: 1.0 References: <20251010201607.1190967-1-royluo@google.com> X-Mailer: git-send-email 2.51.0.740.g6adb054d12-goog Message-ID: <20251010201607.1190967-4-royluo@google.com> Subject: [PATCH v3 3/4] dt-bindings: phy: google: Add Google Tensor G5 USB PHY From: Roy Luo To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Thinh Nguyen , Philipp Zabel , Peter Griffin , "=?UTF-8?q?Andr=C3=A9=20Draszik?=" , Tudor Ambarus Cc: Joy Chakraborty , Naveen Kumar , Roy Luo , Badhri Jagan Sridharan , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251010_131631_091532_41970D55 X-CRM114-Status: GOOD ( 14.01 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation. The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP. Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding. Signed-off-by: Roy Luo --- .../bindings/phy/google,gs5-usb-phy.yaml | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/google,gs5-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/google,gs5-usb-phy.yaml b/Documentation/devicetree/bindings/phy/google,gs5-usb-phy.yaml new file mode 100644 index 000000000000..a40de31ac768 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/google,gs5-usb-phy.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2025, Google LLC +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/google,gs5-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Tensor Series (G5+) USB PHY + +maintainers: + - Roy Luo + +description: | + Describes the USB PHY interfaces integrated with the DWC3 USB controller on + Google Tensor SoCs, starting with the G5 generation. + Two specific PHY IPs from Synopsys are integrated, including eUSB 2.0 PHY IP + and USB 3.2/DisplayPort combo PHY IP. + The hardware can support three PHY interfaces, which are selected using the + first phandle argument in the PHY specifier:: + 0 - USB high-speed. + 1 - USB super-speed. + 2 - DisplayPort + +properties: + compatible: + const: google,gs5-usb-phy + + reg: + items: + - description: USB2 PHY configuration registers. + - description: DisplayPort top-level registers. + - description: USB top-level configuration registers. + + reg-names: + items: + - const: u2phy_cfg + - const: dp_top + - const: usb_top_cfg + + "#phy-cells": + const: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + orientation-switch: + type: boolean + description: + Indicates the PHY as a handler of USB Type-C orientation changes + +required: + - compatible + - reg + - reg-names + - "#phy-cells" + - clocks + - resets + - power-domains + - orientation-switch + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + usb_phy: usb_phy@c410000 { + compatible = "google,gs5-usb-phy"; + reg = <0 0x0c450014 0 0xc>, + <0 0x0c637000 0 0xa0>, + <0 0x0c45002c 0 0x4>; + reg-names = "u2phy_cfg", "dp_top", "usb_top_cfg"; + #phy-cells = <1>; + clocks = <&hsion_usb2_phy_reset_clk>; + resets = <&hsion_resets_usb2_phy>; + power-domains = <&hsio_n_usb_pd>; + orientation-switch; + }; + }; +... -- 2.51.0.740.g6adb054d12-goog -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy