Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4400846rdb; Mon, 11 Dec 2023 19:48:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcfuGX+cv05hb914iDU6i7kNjvnGBGgcDDcaKusSATjDe9L7IRbiGttT4yzosC+K3bfLJq X-Received: by 2002:a05:6a00:2d13:b0:6ce:270f:2eba with SMTP id fa19-20020a056a002d1300b006ce270f2ebamr3104864pfb.34.1702352917856; Mon, 11 Dec 2023 19:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702352917; cv=none; d=google.com; s=arc-20160816; b=uL+yEYg/yB/92V1IetgelWU/CF+veK0AYrweG808CZMZqRDb7rHwUBvfrpYhQymWVj CfMCsCUk9rvp0Rt+743KIHBFkfg9lQVUUrKYd6o+CnliD0SlhnNfQMiGWWba08zVBTAk svox/NBlHrAI3FTyapUYlUWdZT0xlc2jGpUCqIB3WFw/CzmglUg+COjS+W/8y1he9ut3 1/s3g7aom+aEkMC7aHgz4VDxcDawvyv9iEkr1J56imc7Qrd6H0hiwHQbOrlF32gobQo/ pe5CEPErgTGvfXr/fvCL+iOxGT9+fq9d8mlveo3P9VcldCfunVY3JGafdWBGubjPpe+u swYA== 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=XkMHTSA9XYt7GZ+RbTpRTRJ5tfxmOHqQXTyGENwFXSU=; fh=VcHBNiCddDnfhprzQQwl3LJj+5QOydyMTBcmXdsB0QY=; b=iLAs9H0gRYN6vbJGUby6GB4v89Z23IhKfVPcdWGBpAP17tHVtOIwpadi1xKGXIszr+ iT9GPaypI9hdJSyx1WBftzd81VKv3KuicVzx/CFgm3ga+iTRViXwOQXYmMhQ3gmX4m6f 3VYYVlsTo7PJeHTKC17pevwDQRf/pDo1m/l7LPitvU0/1gSKwCxA/m9LKCEGUZ0qZbCF EU0YUrGxMwnuTLBqRjk/0AbgRuz7ojwq5GQaecE5kX0tAXbYhPC1ucGkO1otn7bloPGM OquMDuETudHq3g/O/3/772duh5iA305/0bmrFjM5r/ItmialzkGucnFC4LkudlRnDLlU PyfA== 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:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id fa18-20020a056a002d1200b006cdfe417ca3si7126466pfb.283.2023.12.11.19.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 19:48:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 600CB809C928; Mon, 11 Dec 2023 19:48:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345910AbjLLDsT (ORCPT + 99 others); Mon, 11 Dec 2023 22:48:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232392AbjLLDsS (ORCPT ); Mon, 11 Dec 2023 22:48:18 -0500 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35320B3; Mon, 11 Dec 2023 19:48:24 -0800 (PST) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rCtkj-0002tl-1u; Tue, 12 Dec 2023 03:48:14 +0000 Date: Tue, 12 Dec 2023 03:48:10 +0000 From: Daniel Golle To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Heiner Kallweit , Russell King , Alexander Couzens , Daniel Golle , Qingfang Deng , SkyLake Huang , Philipp Zabel , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org Subject: [RFC PATCH net-next v3 6/8] dt-bindings: net: mediatek: remove wrongly added clocks and SerDes Message-ID: <5859da6629b8b6c100eca4062dd193105bf829ba.1702352117.git.daniel@makrotopia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 19:48:34 -0800 (PST) Several clocks as well as both sgmiisys phandles were added by mistake to the Ethernet bindings for MT7988. This happened because the vendor driver which served as a reference uses a high number of syscon phandles to access various parts of the SoC which wasn't acceptable upstream. Hence several parts which have never previously been supported (such SerDes PHY and USXGMII PCS) have been moved to separate drivers which also result in a much more sane device tree. Quickly align the bindings with the upcoming reality of the drivers actually adding full support for this SoC. Fixes: c94a9aabec36 ("dt-bindings: net: mediatek,net: add mt7988-eth binding") Signed-off-by: Daniel Golle --- .../devicetree/bindings/net/mediatek,net.yaml | 32 ++++--------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index e74502a0afe86..030d106bc7d3f 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -337,32 +337,23 @@ allOf: minItems: 4 clocks: - minItems: 34 - maxItems: 34 + minItems: 24 + maxItems: 24 clock-names: items: - - const: crypto + - const: xgp1 + - const: xgp2 + - const: xgp3 - const: fe - const: gp2 - const: gp1 - const: gp3 + - const: esw + - const: crypto - const: ethwarp_wocpu2 - const: ethwarp_wocpu1 - const: ethwarp_wocpu0 - - const: esw - - const: netsys0 - - const: netsys1 - - const: sgmii_tx250m - - const: sgmii_rx250m - - const: sgmii2_tx250m - - const: sgmii2_rx250m - - const: top_usxgmii0_sel - - const: top_usxgmii1_sel - - const: top_sgm0_sel - - const: top_sgm1_sel - - const: top_xfi_phy0_xtal_sel - - const: top_xfi_phy1_xtal_sel - const: top_eth_gmii_sel - const: top_eth_refck_50m_sel - const: top_eth_sys_200m_sel @@ -375,15 +366,6 @@ allOf: - const: top_netsys_sync_250m_sel - const: top_netsys_ppefb_250m_sel - const: top_netsys_warp_sel - - const: wocpu1 - - const: wocpu0 - - const: xgp1 - - const: xgp2 - - const: xgp3 - - mediatek,sgmiisys: - minItems: 2 - maxItems: 2 patternProperties: "^mac@[0-1]$": -- 2.43.0