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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 56A0CC10DCE for ; Fri, 13 Mar 2020 10:01:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4EC26206E7 for ; Fri, 13 Mar 2020 10:01:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pY1kcK3r"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="v7Cd0vhb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4EC26206E7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0dzo7RAg09fGrAMxNz2BTx4bCh5yYfiocDcnbyKbgO0=; b=pY1kcK3raxPj6L ciHlXidVOyhLdV2/gTw1PmLR58hOHAgz4CPKZBw+1uwU2Pv7gU/loa1OWq2qI49RK4VKJa9U7FK6K z/U8JLqf2PlD5Qya6ZpUt8BDFHVpXTvdye3TUXDyamlqg9srge/2sWfdyO3lQ7guI1NASJarA4vOp qr9gR6hq42PadmmKIItV3LBplktR5gwQDqR/7E9+ajE0rLRRGOuRMK2fSrmJ+tryNfXNds2IeYYr8 IPNr8KxdI1Ry5eGZhSztd/bmjCYzL6hxgenqXh/Dtos4MNNe80XB6afubC2AWKRvNUdNHEPwbQ93K dCwt59KP4+voceEwCSMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCh87-0004sA-Hb; Fri, 13 Mar 2020 10:01:23 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCh84-0004ra-Gb for linux-arm-kernel@lists.infradead.org; Fri, 13 Mar 2020 10:01:22 +0000 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 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200313_030120_554407_BFEF905E X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Florian Fainelli , netdev , lkml , Vivien Didelot , Michael Walle , Rob Herring , Vladimir Oltean , Claudiu Manoil , Li Yang , Shawn Guo , "David S . Miller" , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 8A5F7C10DCE for ; Fri, 13 Mar 2020 10:01:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8360D206E7 for ; Fri, 13 Mar 2020 10:01:29 +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 S1726437AbgCMKBY (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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