Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp719023ybh; Thu, 12 Mar 2020 09:51:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt50rn/OJlAJP0aZXtwtDGZ+WNlCVbYDKjjTfXZrog7BY5NRw7yfD47uH4jcJoPL20Ou0HA X-Received: by 2002:aca:57d6:: with SMTP id l205mr3248764oib.20.1584031886333; Thu, 12 Mar 2020 09:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584031886; cv=none; d=google.com; s=arc-20160816; b=B62WS3boxS9XvkGEkr65K89Xgen3XAzwHxSL7AG1TYykFLFxtWn8iklwxh10bOia+M Y1S+iC0HgjXOHEgB9SJUEnAWUxadA/ZdWf8wVblqMYHxYjxFAVeKyOoIWfpPfEZtBFaV LH09ApeqZq/e4+hGUUZi7nqpOXTsBFzWWTEK3flzBGhCwNWpHi6qgjwwSpMJsNBRMqHY pwie0qZY1kJdN4LP/hjyFrG84h+yqAq+KkU+7nrwNSodjJl7mb8xNpIOyONgCZWHQCAp 2gsk0te/7lkfRadnzjPlt8C4i46Pbg5i/Dshro5iQZ/dpgz8+cimTIB17RBjmq0UWKZK g5uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=kjJ10yaE4xOITwa0lcGngsQWRZEzeFLVFpTKECi5fjM=; b=ZyWK0Gi9OcucWlV0hYnReffDa6Pbjp7hH2NRePkfBWwuR+HJknd9NCL00hKU1EZMbL J3n27vOYRhecHwGMIBXDGb8rj6Dia/lxXz45WuE4yvHwYUAclAP/nWnEhI8nFP24Zn+q V2k+VE01IyOJVDR14zzbpeH25HFa8hMBgu+S+ln586pEla27pqNnM0iR+7c4GEhNNjLR NtU6skLtRxPb8KliKjketho3HRBZ1QLYNuYpbvye/4IXDjfdN4tZcZzdjsK+sKIynuqT bGG5GM1EemWLO1zw/h9FztCBWCFi7e6tDAg6Yvi8qsQPkSqKiVB9jqa3jzuw4cpv/8G6 0YMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=O1IP2r4N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si2827049otl.313.2020.03.12.09.51.13; Thu, 12 Mar 2020 09:51:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=O1IP2r4N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726557AbgCLQuo (ORCPT + 99 others); Thu, 12 Mar 2020 12:50:44 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:56279 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgCLQuo (ORCPT ); Thu, 12 Mar 2020 12:50:44 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 1A69122FAC; Thu, 12 Mar 2020 17:50:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1584031841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kjJ10yaE4xOITwa0lcGngsQWRZEzeFLVFpTKECi5fjM=; b=O1IP2r4NgRR8jB5FfvAbMpoq+5dm1oyxRXXBswapjXuY8YadbpB9YjHm64TjJieI0e66TR QyczEjlcMl9E5JR1cfxQCLPfQ6bb4cjq4WB7y2/0sykEI5cAdeOQgqHiXSEnE1Rtx/TKFv Ew4c3ToeJGp+bFBbOTxgIAllCSdA4lA= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 12 Mar 2020 17:50:40 +0100 From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: "David S . Miller" , Florian Fainelli , Vivien Didelot , Andrew Lunn , Claudiu Manoil , Vladimir Oltean , Rob Herring , Li Yang , Shawn Guo Subject: Re: [PATCH 2/2] arm64: dts: ls1028a: disable the felix switch by default In-Reply-To: <20200312164320.22349-2-michael@walle.cc> References: <20200312164320.22349-1-michael@walle.cc> <20200312164320.22349-2-michael@walle.cc> Message-ID: <5c06000e9ca893cdf431f29618428630@walle.cc> X-Sender: michael@walle.cc User-Agent: Roundcube Webmail/1.3.10 X-Spamd-Bar: + X-Spam-Level: * X-Rspamd-Server: web X-Spam-Status: No, score=1.40 X-Spam-Score: 1.40 X-Rspamd-Queue-Id: 1A69122FAC X-Spamd-Result: default: False [1.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; RCPT_COUNT_TWELVE(0.00)[13]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[davemloft.net,gmail.com,lunn.ch,nxp.com,kernel.org]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2020-03-12 17:43, schrieb Michael Walle: > Disable the felix switch by default and enable it per board which are > actually using it. > > Signed-off-by: Michael Walle I forgot to mention that this patch depends on the following series: https://lore.kernel.org/linux-devicetree/20200311074929.19569-1-michael@walle.cc/ Sorry, -michael > --- > .../boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 4 ++++ > .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 4 ++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 ++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 3 ++- > 4 files changed, 14 insertions(+), 1 deletion(-) > > diff --git > a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > index a83a176cf18a..d4ca12b140b4 100644 > --- > a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > +++ > b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > @@ -63,6 +63,10 @@ > }; > }; > > +&mscc_felix { > + status = "okay"; > +}; > + > &mscc_felix_port0 { > label = "swp0"; > managed = "in-band-status"; > diff --git > a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts > index 0a34ff682027..901b5b161def 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts > @@ -48,6 +48,10 @@ > status = "okay"; > }; > > +&mscc_felix { > + status = "okay"; > +}; > + > &mscc_felix_port0 { > label = "gbe0"; > phy-handle = <&phy0>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > index 0d27b5667b8c..8294d364112e 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -228,6 +228,10 @@ > status = "okay"; > }; > > +&mscc_felix { > + status = "okay"; > +}; > + > &mscc_felix_port0 { > label = "swp0"; > managed = "in-band-status"; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index c09279379723..70a10268bb83 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -933,10 +933,11 @@ > fsl,extts-fifo; > }; > > - ethernet-switch@0,5 { > + mscc_felix: ethernet-switch@0,5 { > reg = <0x000500 0 0 0 0>; > /* IEP INT_B */ > interrupts = ; > + status = "disabled"; > > ports { > #address-cells = <1>;