From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28DD0606A31C for ; Sun, 29 Nov 2026 09:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=NMvdCYsM; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=rNFLasE7 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=VUnwn+iuIKCL9hVTmQZDmYuDQL3KzGDtP2kOdFrbem8=; b=NMvdCYsMi6gsLHqHx+uGXSQnwM JN0ily24CC0/JDEKX4lnUblWkwJ4UcJ6bNQ0EVOIQn8kQk6G7DuwIz60ijTFgSfiNteH0fhnT/Dbi WXjGp9HqQtuTZk1dBeWjyBLCbfgGuekIwNKaeW3y2Q2+Tlpk3MU7d/OlJYUqY8Qc8HH5aWT6PSEV+ sD5HLGW/k14fU+TVGitx/PcBgTDJVA8pWYkyU4dwMJL3dE+bLyzQZkgVImMzWWSSRm2Hb1mPSHdf/ tsxUcZ+egmPqq/3b9RWX1mu2GT/AooqTsNln60VCW0mVDiQF4PX3zczQkCtRRVMTLHxz8fbs0wzCQ rCznCSDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDs-00000001kY5-3hiB; Sun, 29 Nov 2026 09:29:28 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCr-00000001jr8-2pW4 for linux-phy@bombadil.infradead.org; Sun, 29 Nov 2026 09:28:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=2fVRrTCThMafC/EgxJNfZalmiOC8vzz3qqPmi34QV6s=; b=rNFLasE7ZY4ilmtneLUqQF/12K eozGIAPhz194HJGDMTmE3m2rrQ1hlJJr0fsXvBmltDb7Wsxj/bntmbXeErVth2bkcaRAgjX6K7Zhz zYGfNl4HHXsbNGP90wsurgZekElUEql9m7PpF57vJL6PlOXlwH9jIiFRm/K2zNatWczhneJJ5LY4o B18Aixkyk0KzmOltuHurp0XWu9tEtn4LBGuDNoLQb15w5VtqWQSILULXR9mSVFJPqzfVDXD/Gylgi DTgKHXPE6GlMi6ekT2SYkkNX2lKpflYet9jeC7pln9fkCGL0snFDvfXmyg0kbJ0Wr/7/aePEsqhr7 ntgGF83Q==; Received: from mail-wr1-f41.google.com ([209.85.221.41]) by desiato.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCn-00000008wNk-1sM9 for linux-phy@lists.infradead.org; Sun, 29 Nov 2026 09:28:24 +0000 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-4c4b8e58c9aso131815f8f.0 for ; Sun, 29 Nov 2026 01:28:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795944497; x=1796549297; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2fVRrTCThMafC/EgxJNfZalmiOC8vzz3qqPmi34QV6s=; b=xc6fcq57/uDbem2p8+7xHz7bkaW9pRWAGQfTrBug5PDlQw4OwiCFDGT9L9L8QjHamC Zr2bMKS+Ii62hv9p8azN8QVQzTujSfh4K5NTE49LpmVWEg8DsIkputu8sen4TkkJveV8 10bhczAjPoIeygnlSvcXer5JBSmF5tvD1ds2jszbUwlgrWviBM4vACCMkj3pgG1SpT+3 GkidbuSzva5lDWR7NNOsJv+4ojBtQmcWBFHT4cIsS5FBDuaQ9mNProjdeduvqvyLbuNz b/+AhnyUqQUjYoINF0Y3NuiqGfFdKV4uCQHV2MyLWn0yujdkbVVvQaDDKHkFLWJq/48w 1hlg== X-Forwarded-Encrypted: i=1; AL+hErFJO0xVqVFWCUnyYHg/Sy+Way28sns2wcrRG0HqaiuOUi3V/1UpNUiOJ6dL724fV90fZe7S2FSEvLw=@lists.infradead.org X-Gm-Message-State: APuU4Z94YYq5VW+2b47AWal/QvY7L8lhaIMGBC+G6ZbYikrZlRWpm/lf 8XMIw3au0xGMCUzYA67EkVOPbXQDhk5cup+fMb2mYOY6+nT99z2w1yUx X-Gm-Gg: AZFdTZdSkr/Q9gTDUPDxBONBewuNQGQv10Qdmj36NMYw5Yi/bEh+PX0aA8UWHMIzXEo BDvkFHOiwBb0Es/d3Oluy2fVxUJ5/yMUxqnESZZwpaq+rROJBlrhR6uhqxvJPUobDNglhjFei4S PX8V9QCfy9pSi4k0U2kuRqkjt9l1fxxZySNnhgyEdIgSB2MVjwJ7aH69g8o5IRxbfG/ljEPZHCF 1CUBVv+LyD2R0J6JTlr4dKp/KB+WJt7/XadgTgsGAAc2DyWNIm0K1V6sugID2yg+OH/OCg5KKoa 33GPTT6328A1eTHsZpsE+b9iJnL5a2IxZHpYB3hF+7JxB/jS028QMTSPTi9i1awRR3+N6cT/i4c otywYYLnvTGcY3ABskqOZrlNg/qRx2mi9MQQe4x3P30xnPUC086i/J2o8dJm6pnyQ6DNdu8qnoK p7WSDEq7n00/oP1LsBCIN+41Q+2hHDKhORWhEgclecuy2iXdT1YVxeWRznhjZp0A/2U+BtM7rkT mlu2zPBec8qmwli4cVfW/wH5Xa0v8QUokF3L/kaT5pXjNRZzlBt+6DzPLKnH3iJ8NOQV5HuAqLb ze6Vru9j3ZMbjAYX1gt3bMaHdTkImDP4LD0j3wiqUXiH/qZvjREBCWy2it8ASdpEz+GD7AhS3cq /WiMvc8R9/G0TI4h4agI6oMgI X-Received: by 2002:a05:6000:184d:b0:48c:7386:af18 with SMTP id ffacd0b85a97d-4abacfea55cmr64083369f8f.8.1795944496932; Sun, 29 Nov 2026 01:28:16 -0800 (PST) Received: from threads.localdomain ([84.68.176.78]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf61e8sm60210765f8f.11.2026.11.29.01.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 01:28:16 -0800 (PST) From: Lucas Tanure To: Neil Armstrong , Kevin Hilman , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Mathias Nyman Cc: Jerome Brunet , Martin Blumenstingl , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/9] dt-bindings: phy: amlogic,g12a-usb3-pcie-phy: add the T7 compatible Date: Sun, 29 Nov 2026 09:28:08 +0000 Message-ID: <20261129092810.146043-8-tanure@linux.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261129092810.146043-1-tanure@linux.com> References: <20261129092810.146043-1-tanure@linux.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_092821_842639_07B9D64C X-CRM114-Status: GOOD ( 11.48 ) X-Spam-Score: 1.1 (+) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The Amlogic T7 has the G12A USB3 + PCIe combo PHY, but it is not described, so its USB ports cannot run at SuperSpeed. The T7 PHY needs different settings, so it needs its own compatible. It also has a second reset, for its register interface. Its USB 3 lane is tuned through USB control registers outside the PHY range, so it takes them as a second register range. Signed-off-by: Lucas Tanure --- .../phy/amlogic,g12a-usb3-pcie-phy.yaml | 46 ++++++++++++++++++- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/amlogic,g12a-usb3-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/amlogic,g12a-usb3-pcie-phy.yaml index 1a5a12adb72b..63ac68fe0efe 100644 --- a/Documentation/devicetree/bindings/phy/amlogic,g12a-usb3-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/amlogic,g12a-usb3-pcie-phy.yaml @@ -14,9 +14,13 @@ properties: compatible: enum: - amlogic,g12a-usb3-pcie-phy + - amlogic,t7-usb3-pcie-phy reg: - maxItems: 1 + minItems: 1 + items: + - description: PHY registers + - description: USB control registers clocks: maxItems: 1 @@ -26,11 +30,16 @@ properties: - const: ref_clk resets: - maxItems: 1 + minItems: 1 + items: + - description: PHY reset + - description: PHY register interface reset reset-names: + minItems: 1 items: - const: phy + - const: apb "#phy-cells": const: 1 @@ -49,6 +58,29 @@ required: - reset-names - "#phy-cells" +allOf: + - if: + properties: + compatible: + contains: + const: amlogic,t7-usb3-pcie-phy + then: + properties: + reg: + minItems: 2 + resets: + minItems: 2 + reset-names: + minItems: 2 + else: + properties: + reg: + maxItems: 1 + resets: + maxItems: 1 + reset-names: + maxItems: 1 + additionalProperties: false examples: @@ -62,3 +94,13 @@ examples: reset-names = "phy"; #phy-cells = <1>; }; + - | + phy@62000 { + compatible = "amlogic,t7-usb3-pcie-phy"; + reg = <0x62000 0x2000>, <0x3a080 0x20>; + clocks = <&ref_clk>; + clock-names = "ref_clk"; + resets = <&phy_reset>, <&apb_reset>; + reset-names = "phy", "apb"; + #phy-cells = <1>; + }; -- 2.56.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy