Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp114747lqm; Tue, 30 Apr 2024 14:54:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTjuB2jgIWuCJJQ3/ZTfFR25jfIwOtpGTWy+ucjuGiY9POSDLnnOf10j63MMhyg+XKZQnrwSVPplqBdVmSsK2qb7Hlzs4958pAxe7i8w== X-Google-Smtp-Source: AGHT+IEGKl/MJ5qgYm0zlnNLuyie7hcvx0Yy1lzgFOzss1d/tJITZlBW8IGHIwb/kpWwzfF+bhd1 X-Received: by 2002:a05:620a:450b:b0:790:b14b:21b9 with SMTP id t11-20020a05620a450b00b00790b14b21b9mr6155276qkp.18.1714514076619; Tue, 30 Apr 2024 14:54:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714514076; cv=pass; d=google.com; s=arc-20160816; b=TXg7cy/aztG30f+0XodTrv6j6tGg6N3pTYe5Tku7hXZ7JCjVIXA51ta0tX/ElsD0X9 0Z8hjPrDqJMMtmLVWNXbzHXU3q11w5y2Hm12fLqKAPErJKOlLHLf1x+g5Y8NpEYA2kG8 JqhzBkvsbpweOtgwYxOr6HsXI6aNLVaGgOtQZFyHFd9yp3PIprCYcsSDD+Qe5mKB6Xlx UWWE03mgXY06etTdI23isDH3VkJlFA2NGDjMtCIWZgpP0RVIpfkItXuQv94ugdC6N9kD fswd70b4cgRzFfqD0RsdjwD1G9UAuKovAbTGo2K2vuchCoQB3U6FoX1x0tzHKTKCcrFe 61QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:to:from:date; bh=stOdTfkGUoKXVhBFL0Q7i63rpqfUfuy3WeOD+3yZwoQ=; fh=mXv0aeKObbACqea3X5VCLAyIrKZhyShpId9COhMddNg=; b=fUzdm078OEqptbKiSvCHeHvCL7oTX3O/HnNOg2XpqyKIh4Whvzed+hqFiBwtN9yPgp /6ZQq18+myo4yYHA2wkwK+PuXh/ESzyvS9YeTcgIdknvCQicMxzKJ4Se+WWZM8dx7ieh J+uC+5FIlx2NmhOFGJbk3xmc19C/hQYS71HQbXCxG/5CNZKtXrOXgQHK2XME5hfAaNMk 0V0Z02n2GjjaFLE5T5SLymTjC4oKirpyJ+80LirW95XAqSujNm0095jSOQwVsgGl8b6m zZTKX382BsG3GQWXBiABSbENAPeKrthNKlYs0JP0GAIArMkhAjNvE6Y7tyh91MzRlxVb Vlww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-164761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164761-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j24-20020ae9c218000000b007906a37c7a2si23157765qkg.343.2024.04.30.14.54.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 14:54:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-164761-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164761-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 557E21C22718 for ; Tue, 30 Apr 2024 21:54:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2793A1BF6DD; Tue, 30 Apr 2024 21:54:17 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04BAF1BED7A; Tue, 30 Apr 2024 21:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714514056; cv=none; b=dYCu1JIfK2xyX/Fj3oecFyyS4C1ZN0DprOZU3jHJQGSuMyRfC5jiy9sPhI+rZBUk4UfYZAsNMMKLd+a7j5YbCf9sK9rKLBtdJPvQ7qu37Ijs/h+JxGnjLPD/y3MLajEKLUI5mxA24JATe9PPQsheocVWMBAelZM9DTxW5F3COHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714514056; c=relaxed/simple; bh=zuO7Ws6HI2qfJ6Q89WdCK7XpUdWjT7P+8LS3uVnpW6E=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=GjNWfN16li4hD1bIoMqRiCBZApJfL+9xAyWNl/ijACjFoUztosSFMT8L+oIZ/btKM0TqS+wkoRFoB9xT31nYhs26kHLt2/gz+6NMqY3lwgPz/MK60ECRanmWgS5T1mX49ZrSt2aVEdcyujhl1JlarmeO5GvMdS0ak6E7So2zar8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1) (envelope-from ) id 1s1vQI-0000000016x-33u8; Tue, 30 Apr 2024 21:54:02 +0000 Date: Tue, 30 Apr 2024 22:53:55 +0100 From: Daniel Golle To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lorenzo Bianconi , Felix Fietkau , Daniel Golle , 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] dt-bindings: net: mediatek: remove wrongly added clocks and SerDes Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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) are going to be implemented by separate drivers. As a result the device tree will look much more sane. Quickly align the bindings with the upcoming reality of the drivers actually adding support for the remaining Ethernet-related features of the MT7988 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 e74502a0afe8..030d106bc7d3 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.44.0