Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1592412pxy; Fri, 23 Apr 2021 11:45:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL+/sYvH96B1NDanqPHKZyZbv2gGTRiZ6mjky0INfGZKqJcHs7d+Sz0Si3iB8rLOTqKrpD X-Received: by 2002:a17:906:c01a:: with SMTP id e26mr5801810ejz.300.1619203555434; Fri, 23 Apr 2021 11:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619203555; cv=none; d=google.com; s=arc-20160816; b=d/g4Od+H0RLizfQfPoiBvmaQHx+EQvxsDo6A1OT/agkZdFzM5Xq2VEJAni9cB8hMRM HTwPk64tgPGSLl58EXWQSqXo5bDG2k7awXSc9iAdx2/ajLvTD+RjOwybvDuK6NoU6yuk qRgcWUB5eH8f9Pjs2ezsLZuQjTIf4rpKYpyx1tbl6CmUOp5SzjZs+0UvKA213k1ck2bl OE79/5WehmkPGB9LbgTSoQFPGZdTNdYOO+K2zyyAdgsQ47mic4ANQGWJc7XmZs51zd3r eub6R2307OgNxtrx3tVhFxIV+mzDhKK2lDe3vevEcu5VoQsNJQ5prwMHYKzLsIv1PkPb FFig== 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=qIaVUyzdhjBUU7tl3VOejcO6+StJQjKYlePJddUmi7E=; b=gLyMBjXwLBYfBHkHx2lut3L23SULZF9jFzAvS6Q4zsF39t58sLRlCJ/Z1QgK5qiNBi GR/9JXaK+14pjpPqdOCstxxTXMLYtVms2TAmtzH8K1+j4KfZ2X7N437BdYWnPoIBGbEO Batb0RIB3RRntHvBL04yc0tyn8rJJ7kObVOSaxIA5Veug+zwe1N40XfBN1/KKlhgvGAl gStqSiWhy3SCI5aEhCZg5JRAkxOUkKB5Phdo/gdgVo7m/RDifUbytu+qoBGqZ4VZb5Tu fM+wTAubVYFemMlWkQ8sHIOCULXVFnRIkAs/rN7oanrdyhFrVuqP1JWwBTGBDRHIelFj q3eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aWSmmAHD; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si5926392edr.114.2021.04.23.11.45.31; Fri, 23 Apr 2021 11:45:55 -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=@kernel.org header.s=k20201202 header.b=aWSmmAHD; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243645AbhDWSmr (ORCPT + 99 others); Fri, 23 Apr 2021 14:42:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:59804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhDWSmq (ORCPT ); Fri, 23 Apr 2021 14:42:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1C9061139; Fri, 23 Apr 2021 18:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619203330; bh=qIaVUyzdhjBUU7tl3VOejcO6+StJQjKYlePJddUmi7E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=aWSmmAHDhWfWLE27J7QqAexykU5n2y1GB/omH7zwDOAleNlcEqvO2r1rMfIBOL2q7 Lat+X4UwmhBUzghwYL1bKCHRq97nz9BIxbw15E69e7LN1imyo834aKxbQU2BOZKLG7 CVyzo1lcmj88d9r6farXjOhA1Rm8GL8AnHsRC8WFMbZJMpPY7B9Lb2pGosTLA2m2+Y 5hD67MSNjpt5Ga27/Rf1fRdnUh4QwM/XkMrGxJbCtqqFTEORU7D5sq1QWsLr3YhrpA 0+DeEnj573ny/o1tQZWsJCqSMxo1EYPj1CfYZLrcQJi1p9zO9VbWKG1PLpMe59Egvp C5Pgpz85CJBvg== Received: by mail-ed1-f51.google.com with SMTP id g17so57822888edm.6; Fri, 23 Apr 2021 11:42:09 -0700 (PDT) X-Gm-Message-State: AOAM533dM28BrDcP/pun+4d78kpUgHchAi4Z5zwXS20RVhAa0ChHQU6G hQTudVdZFVr8Hb+LSJlyZz35M0FMW+fxtHwpWQ== X-Received: by 2002:a05:6402:34c8:: with SMTP id w8mr6219150edc.194.1619203328426; Fri, 23 Apr 2021 11:42:08 -0700 (PDT) MIME-Version: 1.0 References: <20210420024222.101615-1-ilya.lipnitskiy@gmail.com> <20210421220302.GA1637795@robh.at.kernel.org> In-Reply-To: From: Rob Herring Date: Fri, 23 Apr 2021 13:41:56 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: net: mediatek/ralink: remove unused bindings To: Ilya Lipnitskiy Cc: "David S. Miller" , Jakub Kicinski , Matthias Brugger , netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" , 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 On Wed, Apr 21, 2021 at 5:05 PM Ilya Lipnitskiy wrote: > > 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? Perhaps we should write that down more explicitly, but I think it is pretty rare actually. And really, I'd like to require we have at least 1 dts user. Though, then we'd just have dead dts files. More generally, other projects use the bindings and dts files. The bindings and dts files live in the kernel tree for convenience and the simple fact that is where the vast majority of both developers and hardware support are. There are exceptions of course such as h/w that doesn't run Linux. I'm all for removing this if no one cares (please try to find out) or if the existing binding is just bad (doesn't match the h/w or is incomplete in an incompatible way). I would have expected in the 5 years since it was added, a user (either dts file or driver) would have appeared. Rob