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 B6A0F606A31C for ; Sun, 29 Nov 2026 09:29:19 +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=3OdFi73P; 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=NoPLGyYRu3YKtoAi3auVAgKIQzJ2DMvrebkr1ZpuXo8=; b=3OdFi73PziF7gVPGcVMhxQ4ayF 2Sm6Fi14LjCg35k4rf4i/nAZwGV8WmP+6lpgVPD4MMOTKtz7pk4hFFoz5CpoCXu8HszlRAY57Il0T vfXlMUjmifsSnsc4EkSKc6mvE7ZK4MaMX12e/cbgY01bX/FllKihwd1HleS2y6znTSmc4DzExkZIO jiC1OhBu17uJVczToYorpQkCIIX7fPT+xNf1tI9fPK/Lg2jAd21FN7FiLR/hCrNTO14X2ubw8KCmy MghVjPOUx8LwYCu4WsjqRpIMSb1AWdlprZLjHBS2qYChQhHPY5pHDkKpisqrmVZqhAxITetxLd+Fl 0nPGFAQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDi-00000001kQY-2JG6; Sun, 29 Nov 2026 09:29:18 +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-00000001jr9-3Bpz for linux-amlogic@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-f54.google.com ([209.85.221.54]) by desiato.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCn-00000008wNj-2dDa for linux-amlogic@lists.infradead.org; Sun, 29 Nov 2026 09:28:24 +0000 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-498f5fa5103so5538829f8f.2 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=TGookEPJQNoECYOGQcU442r7t22rKEcRTVLFGvGC6YbANvX4CJTBflWeyYFt2rkQCI 0ebtPmvFDu7/210u+be5JZvChLYzNEXPAHWCtsKvCs9ipDjhdwCvUzi2E6kZZ82EZ4Ga gyeD93yZWQvrM/U7kIzDfL0masNJPakH/6WY9xra86ztqaSqqmL/HYItU3oLbJPCpEKC YbU8mgZFVU/+7/7LNEhcH9WeWMX2q6GOfJb5TzNaJR1Hqm7DnDbqqLBuURE7gmLqN7rO DqggL8/GrKvJ+lfOTWRSuqHZU5zrPOpXgiEIVTHZGJA4NsOQnjHm1RCWfmkt2dmf7OJQ GGqQ== X-Forwarded-Encrypted: i=1; AL+hErHr6sgJc8oITYI4bDkvbgbWleJUvy5xk6kJBAl/2i13aQv+b4QKXsyeySA+akvzYd1XAhzlTRvThnaWSAy1@lists.infradead.org X-Gm-Message-State: APuU4Z+eG9/b7pfmPGuXQr5S5WEVIoWL4L7/7qXwois1WHrAeI5iURzb SR2gEqZ9HY/uCyk7slSrYCFoajdjY3a0og4XR+Qaf/LOGF0phQvRzi4a X-Gm-Gg: AZFdTZfzHXrEXsK1SU/X8rg+eNCegLm9dVpzEsqqExqX0pHjle58NOS9qyXZceMsDz3 wQqitqlMP8NSBgtthpmw8jfbKYhdC/XAzW+G/Do2CsVyfw+NVOpOwj32ZEHYSG3fQ5SPcbiJX7B 4G5FH2PJw+WI+uM/vOzoQLrPkTKSg88zjOUJQmaVDiYMJCioh7zgwGCtiEIA3SxjrRxYgJAxdCt 8UbbTQ7Q4IFntS3tlsXCBI0WLvrFnF18XlIiKRezfHI0k+RMOrzEF4pIt+PusTBqF7pGDRGeUEA K5LievOwstmMX/q1z0laFarpzqgKjzCRRjUyRK8x6A9CeIMMyavfNQoJRvLtaoXEQxXPiL1e3cQ NmeZngUPtZgpY1zFFQjQzgi97xSutSFGwWl4sZpxmcN++djrJc1yKeBmxM1EHIzAIFWFu0Xv2hC vNFp9ab+nZgJI86dX/7varar5hM8opAZLqBJyBAJ58WQKbbJ5b+g8I/piJqbgpDXPKqb8no/0ZS y7fYlHVSkSHRqajE/8BtXuauvwOzuEMwUW3fUjCQICGMEmMUsYYMNlNLjsK/nnafSLtQAfz3tPE zwCh2X8dpSMYfEZlIHPTYhm7s4XpZrSrvj18YZsQinUMjTYRRqvjBpJH/fUAyPxeowRgj4Y2whC qcBxGDgOXGMF0pmxdxcDwv6YS 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_979255_A77F2B61 X-CRM114-Status: GOOD ( 11.48 ) X-Spam-Score: 1.1 (+) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" 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-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic