Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp58186pxy; Wed, 21 Apr 2021 18:26:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2xtY7+4Z+Rn7/HAIf+oFyC0yAJUkrw9Gd3ZHHWhtXn+AlP+mK9ifD2bEh/X+DbBpmuBbj X-Received: by 2002:a17:902:ba8a:b029:ec:b04c:451d with SMTP id k10-20020a170902ba8ab02900ecb04c451dmr833338pls.67.1619054762807; Wed, 21 Apr 2021 18:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054762; cv=none; d=google.com; s=arc-20160816; b=GvKGu7hDYYk3ToqaZLm2Wq/1w2M8IJUuoVmZG7iB70pCkN5n2NUOb+1GWKheM6JP34 0SOk+HoMka0ih18Uw1QaadS6gEW5eJZwfRVPmujwd2aOsWhsqPw8vfHh8v5SiyDZB1eu jhKiNuTtT8Ay9kxSsBiZrlwBcqCUWa4+icMepYf5Qve1Y1yZqRD5rAON8aWbERp0jgsd nnkwhf+PLZEefjDEd9kVRQBGQrkB3VWQ3CuG9g+ERmUIkr24gXTv3ONbvdHDQwZb6Uvs wfOqSnFys4fAW5oVj3zNqGV6gS4EuVyMbv6YjC/3fn6PJmRhZDFs3k69wocMiOgaLAEp VBDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rAa4AoVI0mgDiNi0ZbvS/C0L5MD8lJf8UDLKotBP8xg=; b=SHb68Oih1YvjMN+FADL5WhAlWDT6e/zQjfJxJxaGRBPSMOAy4p/VuXBnWsLu+RAmM9 Mbe3Njgol8T32xaWGWDiCD3QcWnqNSNj4CXcPb7BaGQmRgizl3PYoDOYU8Vj/5VEkDc5 kCXmtPjcdY30RtEmAzB9BQwRuVszNG16OHo3lSxO0Ymlxrnx+2lrD1ucF2SUjrBgbFKv VrpPvY1FHxhk4mxQeYqjPthVAQ1QLVPsEVHlza2qBtFz8O17D1ABgMu4NN1TyFOYIhVu QVnw1GtrC16X9fzYVct6SOZ0v2BnHZOTaH822f+9jf8Qw44UnQ82FYa5Tb5QDPsbAVg+ jtmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NgfkNeql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si1379414pfu.44.2021.04.21.18.25.50; Wed, 21 Apr 2021 18:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NgfkNeql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343536AbhDUWHy (ORCPT + 99 others); Wed, 21 Apr 2021 18:07:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343546AbhDUWHn (ORCPT ); Wed, 21 Apr 2021 18:07:43 -0400 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C0E6C06138B; Wed, 21 Apr 2021 15:05:11 -0700 (PDT) Received: by mail-il1-x133.google.com with SMTP id v13so20122366ilj.8; Wed, 21 Apr 2021 15:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rAa4AoVI0mgDiNi0ZbvS/C0L5MD8lJf8UDLKotBP8xg=; b=NgfkNeqlHpLkUliop4vSn2+q3bezFt4oUiYnYkVpX01B4brnA9l6x+juMYSzOtTB48 BKseTAOyeV6JlEJoUJ28mLgIPB2Qo7n24pmw1/FEn+K5OSvM0CYu/pOsdArZgjitUR+I uqNePPO7zltP7rdrn0QB8a5KdE8xoyDTQAPOUmAMq0PZDq3trnFEJn8gcRXDxR0uDsLz Bxg0yyma+8GHPbMabPll4tYUQfkwnjxY4be5vAKuQfqTyjDqFroVyiNPWrcwY2nEvmtL Rb/6fV2HOo3x1vEp8skjD+hCwsE+jb50gNMMgzYEebAV34lB+BFQulUjsG2TX7Yn1PwH EtHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rAa4AoVI0mgDiNi0ZbvS/C0L5MD8lJf8UDLKotBP8xg=; b=FGN600LiKmG4bkTOC1jRjMaVulj1s/i1WNnOkj9yYYAIDz97VRW59m5XjCB3gUqj4r mzz2+z1y7y8TN4TjQItDaPBiaEqpSxvA500rgmSef3OMBIeWT6fQ5BOpwnpdwrZi5/RQ 2Ob6FewidIQMA49oyHd8SbKBLL7ebAXLpeLaGXV4rc4CL8We25CwgwNlw/XTeUJfxMRL ZbVrAln1RaS6JqHg6Jf20j+IvtOp3ynIIo8KJ0VSoMOoRrZhWfqfenu1wrrD0PT7FtA+ 2K8MdWJYg0nIAryg+IyyBloug7VzZOR65DWNrh7PPK03ziuMur0WXiiaVFE31JtOncM3 G8zA== X-Gm-Message-State: AOAM531RMhLYViQiJ1umt5spX2sojQHLuxS1wrtVp+sN5iAPEJcbAxlU 8fglUwXX5LjHFpKRij0arrl1pTYXutkvLeKiPNOcdHBOxm0= X-Received: by 2002:a05:6e02:cad:: with SMTP id 13mr136419ilg.77.1619042710645; Wed, 21 Apr 2021 15:05:10 -0700 (PDT) MIME-Version: 1.0 References: <20210420024222.101615-1-ilya.lipnitskiy@gmail.com> <20210421220302.GA1637795@robh.at.kernel.org> In-Reply-To: <20210421220302.GA1637795@robh.at.kernel.org> From: Ilya Lipnitskiy Date: Wed, 21 Apr 2021 15:04:59 -0700 Message-ID: Subject: Re: [PATCH] dt-bindings: net: mediatek/ralink: remove unused bindings To: Rob Herring Cc: "David S. Miller" , Jakub Kicinski , Matthias Brugger , netdev@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Linux Kernel Mailing List , John Crispin Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Wed, Apr 21, 2021 at 3:03 PM Rob Herring wrote: > > On Mon, Apr 19, 2021 at 07:42:22PM -0700, Ilya Lipnitskiy wrote: > > Revert commit 663148e48a66 ("Documentation: DT: net: add docs for > > ralink/mediatek SoC ethernet binding") > > > > No in-tree drivers use the compatible strings present in these bindings, > > and some have been superseded by DSA-capable mtk_eth_soc driver, so > > remove these obsolete bindings. > > Looks like maybe OpenWRT folks are using these. If so, you can't revert > them. Indeed, there are out of tree drivers for some of these. I wasn't sure what the dt-binding policy was for such use cases - can you point me to a definitive reference? Ilya > > > > > Cc: John Crispin > > Signed-off-by: Ilya Lipnitskiy > > --- > > .../bindings/net/mediatek,mt7620-gsw.txt | 24 -------- > > .../bindings/net/ralink,rt2880-net.txt | 59 ------------------- > > .../bindings/net/ralink,rt3050-esw.txt | 30 ---------- > > 3 files changed, 113 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt > > delete mode 100644 Documentation/devicetree/bindings/net/ralink,rt2880-net.txt > > delete mode 100644 Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt > > > > diff --git a/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt b/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt > > deleted file mode 100644 > > index 358fed2fab43..000000000000 > > --- a/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt > > +++ /dev/null > > @@ -1,24 +0,0 @@ > > -Mediatek Gigabit Switch > > -======================= > > - > > -The mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621). > > - > > -Required properties: > > -- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw" > > -- reg: Address and length of the register set for the device > > -- interrupts: Should contain the gigabit switches interrupt > > -- resets: Should contain the gigabit switches resets > > -- reset-names: Should contain the reset names "gsw" > > - > > -Example: > > - > > -gsw@10110000 { > > - compatible = "ralink,mt7620-gsw"; > > - reg = <0x10110000 8000>; > > - > > - resets = <&rstctrl 23>; > > - reset-names = "gsw"; > > - > > - interrupt-parent = <&intc>; > > - interrupts = <17>; > > -}; > > diff --git a/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt b/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt > > deleted file mode 100644 > > index 9fe1a0a22e44..000000000000 > > --- a/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt > > +++ /dev/null > > @@ -1,59 +0,0 @@ > > -Ralink Frame Engine Ethernet controller > > -======================================= > > - > > -The Ralink frame engine ethernet controller can be found on Ralink and > > -Mediatek SoCs (RT288x, RT3x5x, RT366x, RT388x, rt5350, mt7620, mt7621, mt76x8). > > - > > -Depending on the SoC, there is a number of ports connected to the CPU port > > -directly and/or via a (gigabit-)switch. > > - > > -* Ethernet controller node > > - > > -Required properties: > > -- compatible: Should be one of "ralink,rt2880-eth", "ralink,rt3050-eth", > > - "ralink,rt3050-eth", "ralink,rt3883-eth", "ralink,rt5350-eth", > > - "mediatek,mt7620-eth", "mediatek,mt7621-eth" > > -- reg: Address and length of the register set for the device > > -- interrupts: Should contain the frame engines interrupt > > -- resets: Should contain the frame engines resets > > -- reset-names: Should contain the reset names "fe". If a switch is present > > - "esw" is also required. > > - > > - > > -* Ethernet port node > > - > > -Required properties: > > -- compatible: Should be "ralink,eth-port" > > -- reg: The number of the physical port > > -- phy-handle: reference to the node describing the phy > > - > > -Example: > > - > > -mdio-bus { > > - ... > > - phy0: ethernet-phy@0 { > > - phy-mode = "mii"; > > - reg = <0>; > > - }; > > -}; > > - > > -ethernet@400000 { > > - compatible = "ralink,rt2880-eth"; > > - reg = <0x00400000 10000>; > > - > > - #address-cells = <1>; > > - #size-cells = <0>; > > - > > - resets = <&rstctrl 18>; > > - reset-names = "fe"; > > - > > - interrupt-parent = <&cpuintc>; > > - interrupts = <5>; > > - > > - port@0 { > > - compatible = "ralink,eth-port"; > > - reg = <0>; > > - phy-handle = <&phy0>; > > - }; > > - > > -}; > > diff --git a/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt b/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt > > deleted file mode 100644 > > index 87e315856efa..000000000000 > > --- a/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt > > +++ /dev/null > > @@ -1,30 +0,0 @@ > > -Ralink Fast Ethernet Embedded Switch > > -==================================== > > - > > -The ralink fast ethernet embedded switch can be found on Ralink and Mediatek > > -SoCs (RT3x5x, RT5350, MT76x8). > > - > > -Required properties: > > -- compatible: Should be "ralink,rt3050-esw" > > -- reg: Address and length of the register set for the device > > -- interrupts: Should contain the embedded switches interrupt > > -- resets: Should contain the embedded switches resets > > -- reset-names: Should contain the reset names "esw" > > - > > -Optional properties: > > -- ralink,portmap: can be used to choose if the default switch setup is > > - llllw or wllll > > -- ralink,led_polarity: override the active high/low settings of the leds > > - > > -Example: > > - > > -esw@10110000 { > > - compatible = "ralink,rt3050-esw"; > > - reg = <0x10110000 8000>; > > - > > - resets = <&rstctrl 23>; > > - reset-names = "esw"; > > - > > - interrupt-parent = <&intc>; > > - interrupts = <17>; > > -}; > > -- > > 2.31.1 > >