From patchwork Mon Sep 18 22:26:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 141604 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2995635vqi; Mon, 18 Sep 2023 15:36:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFbUr1W1b3fgkLkzyPPZQ3RMC5caqwTnaVmQdx4VxvkfIBLruvepX8LKfItMxh3oSD6+36a X-Received: by 2002:a92:c247:0:b0:34f:cd3c:e029 with SMTP id k7-20020a92c247000000b0034fcd3ce029mr12612528ilo.13.1695076592897; Mon, 18 Sep 2023 15:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695076592; cv=none; d=google.com; s=arc-20160816; b=c4y1yhGqvgZaMliY9vEL3jDR9j7k7E8QedQZTx3nh7pd0WO36khDY8GiAn0XWb4Df5 RM0qmlPFhxJrMnJw7Zvbgy+kLFit6g9UDh5fFvLN+shYKRofJS/0aKwEeoIBWpT/FQId VU/OoH33+5OU1SX+Lhr1k7qC01g4MqFA35WzGBtggoxENmiNtsw6UJ1pGtoQIRzRNf8P +qkVBvGfoZvQ/Ssifn7FOGzyTgzD85NI62LH1uo2k/YakHF5u7wvwcbWvL6qnPdMxIop Lzghi/wftA0/IHdBUVXyjm+6kVGP5vd6+nq/lnPN9ZQpKIeI+Y1ZUxw1AgUuP0BOXVcW gbTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=yIqg8NfF8dEjK6PuGmtFIyuJOGRZ9y2mMzqcfzBkbRs=; fh=z6SMc47/fbKHWC0EF4m++RWwRv0itRNRAk3FMus4c04=; b=WNzUGwEoYcFuAKpIPPO/OQXPv9+Pae11yI/yZZCM0NqVUKpuqQNrUPx9/4ZQTtr7JO cwjODkY56WXRnkZH3EvqOsyPw1JJ3+fZQi/3b5tq65qOK8xoibsw/BEO8LCqtNdaFEPq PM1l39lEVRdEaAeSMFIR1aB4GDWrTEMIywRDMkc/1khFo/lthVSeWe/x/y18dBjFXztz J0yCEb528V1ZJTy9MoMLOlVODeE/md3VU4vlLWkzKDttjgep1s1QKDFLCbkb1TMXMw4O cZZupYG01fAm8XukTj+C6W0JMCVZ4xPwH0OTUmYylIQ7ndNvAfX/99RSm2yuHQ0XwGfv 35Zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id v3-20020a655c43000000b0053074c54c3fsi8459748pgr.868.2023.09.18.15.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 15:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 96C8F821FD16; Mon, 18 Sep 2023 15:27:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjIRW1A (ORCPT + 25 others); Mon, 18 Sep 2023 18:27:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjIRW05 (ORCPT ); Mon, 18 Sep 2023 18:26:57 -0400 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E842AC; Mon, 18 Sep 2023 15:26:51 -0700 (PDT) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1qiMhX-0002wi-01; Mon, 18 Sep 2023 22:26:43 +0000 Date: Mon, 18 Sep 2023 23:26:34 +0100 From: Daniel Golle To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH net-next v2 1/2] dt-bindings: net: mediatek,net: add phandles for SerDes on MT7988 Message-ID: <35c12a115893d324db16ec6983afb5f1951fd4c9.1695058909.git.daniel@makrotopia.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 15:27:03 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777416633345559892 X-GMAIL-MSGID: 1777416633345559892 Add several phandles needed for Ethernet SerDes interfaces on the MediaTek MT7988 SoC. Signed-off-by: Daniel Golle --- .../devicetree/bindings/net/mediatek,net.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index e74502a0afe86..78219158b96af 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -385,6 +385,34 @@ allOf: minItems: 2 maxItems: 2 + mediatek,toprgu: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon representing the reset controller. + + mediatek,usxgmiisys: + $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 2 + maxItems: 2 + items: + maxItems: 1 + description: + A list of phandle to the syscon node referencing the USXGMII PCS. + + mediatek,xfi-pextp: + $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 2 + maxItems: 2 + items: + maxItems: 1 + description: + A list of phandle to the syscon node that handles the 10GE SerDes PHY. + + mediatek,xfi-pll: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon node handling the 10GE SerDes clock setup. + patternProperties: "^mac@[0-1]$": type: object