From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D0A6ECDFA1 for ; Tue, 25 Oct 2022 15:01:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232715AbiJYPBg (ORCPT ); Tue, 25 Oct 2022 11:01:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232444AbiJYPBe (ORCPT ); Tue, 25 Oct 2022 11:01:34 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED27619E922; Tue, 25 Oct 2022 08:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Bz6ULN8tp1K4+/IWgirL1lGFhItLERathS4mmOhY8xM=; b=lKd1s/E81eIwpBs5oBzPoqZoaa pKVnOUf5h4iemMkc1RWYkqQBkR7o06jHWjoS5ICZrDpVCknDpQLYwz5w4w+m1TbR89lAJjUel+JoC tbZlv+uauE9Oddqg8iPq8g1HfX5Z1fLOWPfaHW8DzTgIiTlqq6ctZp0G/q2BuCf3bclw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1onLQU-000Xf0-5l; Tue, 25 Oct 2022 17:01:10 +0200 Date: Tue, 25 Oct 2022 17:01:10 +0200 From: Andrew Lunn To: Krzysztof Kozlowski Cc: Camel Guo , "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , Russell King , Vivien Didelot , Vladimir Oltean , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rob Herring , kernel@axis.com Subject: Re: [RFC net-next 1/2] dt-bindings: net: dsa: add bindings for GSW Series switches Message-ID: References: <20221025135243.4038706-1-camel.guo@axis.com> <20221025135243.4038706-2-camel.guo@axis.com> <16aac887-232a-7141-cc65-eab19c532592@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16aac887-232a-7141-cc65-eab19c532592@linaro.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > > + - enum: > > + - mxl,gsw145-mdio > > Why "mdio" suffix? I wondered about that as well. At some point in the future, there could be an SPI version of this driver, and a UART version. Would they all use the same compatible, and then context it used to determine the correct binding? I think the kernel would be happy to do that, but i don't know if the YAML tools can support that? > > +examples: > > + - | > > + #include > > + > > + mdio { > > Hmmm... switch with MDIO is part of MDIO? Happens a lot. Nothing wrong with this. Andrew