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 X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38B3BC5ACBF for ; Fri, 13 Mar 2020 10:01:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 38AC02074B for ; Fri, 13 Mar 2020 10:01:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="v7Cd0vhb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbgCMKBY (ORCPT ); Fri, 13 Mar 2020 06:01:24 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33238 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726406AbgCMKBY (ORCPT ); Fri, 13 Mar 2020 06:01:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6yt4N6aS69xIX5Kbrw2cM1AnDJ8rQ7egHTUgXYLVIAM=; b=v7Cd0vhbgk73eUQFMe9nc6E9C7 3ZojQM+yAeCEjn8jJ4KVEMXoRVLKVsTeb1lzpIBad8MEl2WK0FmKOV/fYCA6fxvN5WsPGb3GdCnIx XbnDeDQucnczXJF/nd1U6aFz3ZVh1PAJnLjNSplWa3kCXbdbmb3UgLNPE9cbnMj1QITg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jCh82-00049X-Ts; Fri, 13 Mar 2020 11:01:18 +0100 Date: Fri, 13 Mar 2020 11:01:18 +0100 From: Andrew Lunn To: Vladimir Oltean Cc: Michael Walle , "moderated list:ARM/Mediatek SoC support" , devicetree@vger.kernel.org, lkml , netdev , "David S . Miller" , Florian Fainelli , Vivien Didelot , Claudiu Manoil , Vladimir Oltean , Rob Herring , Li Yang , Shawn Guo Subject: Re: [PATCH 1/2] net: dsa: felix: allow the device to be disabled Message-ID: <20200313100118.GF14553@lunn.ch> References: <20200312164320.22349-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org e> IMHO since DSA is already dependent on device tree for PHY bindings, > it would make more sense to move this there: That is not really true. You can instantiate a marvell switch using a platform device. So long any you only have C22 PHYs in a sane configuration, it will just work. There are boards out there do this, on x86 platforms without device tree. Andrew