Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4059566pxk; Tue, 29 Sep 2020 13:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7g1Gt0xW4FHMAvp2yabQ6lH1U6/LPKfslhLMc+Wp/5Y+NULQzW3/+NEVkjk26JayNOzpN X-Received: by 2002:a50:9dc8:: with SMTP id l8mr5261514edk.58.1601410345046; Tue, 29 Sep 2020 13:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601410345; cv=none; d=google.com; s=arc-20160816; b=nDILeqLwJuBpqdS2DAKhT54sY87Y8xTz3l3jrom6emqdGejKzh2LcYRD1zlzCl5BJF 5NeN/2n0JRdgR3rtPb0nFfzSleXHjJkaeerETp3e3jPuGaLCq7TbbnmrZTYRrRPY04aW hgWSkJdc41Y3OUlYqa6PN14yl9vWBkL8DiDF5PIO/V11Yru/1B1JLCO3L1vcGYXK1tfN vCW64ILU2A2W0XsqIRYAVVFplLdHM2Sq5pFUt59QfxxcH2VxjLBvyOj6yQ8oSihuAuZV 4ZxBrO35WIn79vcYzKK/oVyEbZpw6COQsivw7rQpmX+BjX22GZGJ5VGN41Mj2F4Otm/C pqSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wLEUMtWj3vEDTdOJdxZhoIKLeHrl9x//5PYF4BUC+MY=; b=UF1v7xziufeQHz9PWvvTkIQMPAJr4fO4q6EQX+tAFCCee38OD39b7yoLrvSD1zXtJ9 CmARrex1MBo4n1YCcWe5D9tL2gunJk0eQ9tfYcWIhbMrzb2kHF8f/I0LG/z+OjgG7CE0 q4/5lk2NAoGf1h2riTpVWq40zJcvB1hJKP4uQ/bHU0l394c9GaoMMuqq+8U+PWlUAs+A 8Ra/NVgVBaLUUjWXSLCpost2MU4tlFWaFOrzsU5PeoauL5RCVsLZRbThvlusWhHIkuCc 9AqZp3HKMsfoSjO/vBcE+NOAWDQ2BQA7LC1B1naWgRK9tJEoMOPwsR7ms4THEQIbFoaZ XTIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si3183013ejg.255.2020.09.29.13.12.01; Tue, 29 Sep 2020 13:12:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729008AbgI2ULB (ORCPT + 99 others); Tue, 29 Sep 2020 16:11:01 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:34378 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728884AbgI2ULA (ORCPT ); Tue, 29 Sep 2020 16:11:00 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kNLxY-00Gno4-QO; Tue, 29 Sep 2020 22:10:48 +0200 Date: Tue, 29 Sep 2020 22:10:48 +0200 From: Andrew Lunn To: Vladimir Oltean Cc: "robh+dt@kernel.org" , "shawnguo@kernel.org" , "mpe@ellerman.id.au" , "devicetree@vger.kernel.org" , "benh@kernel.crashing.org" , "paulus@samba.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "Madalin Bucur (OSS)" , Radu-andrei Bulie , "fido_max@inbox.ru" , Vladimir Oltean Subject: Re: [PATCH v2 devicetree 2/2] powerpc: dts: t1040rdb: add ports for Seville Ethernet switch Message-ID: <20200929201048.GG3996795@lunn.ch> References: <20200929113209.3767787-1-vladimir.oltean@nxp.com> <20200929113209.3767787-3-vladimir.oltean@nxp.com> <20200929191153.GF3996795@lunn.ch> <20200929193953.rgibttgt6lh5huef@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200929193953.rgibttgt6lh5huef@skbuf> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2020 at 07:39:54PM +0000, Vladimir Oltean wrote: > On Tue, Sep 29, 2020 at 09:11:53PM +0200, Andrew Lunn wrote: > > > +&seville_port0 { > > > + managed = "in-band-status"; > > > + phy-handle = <&phy_qsgmii_0>; > > > + phy-mode = "qsgmii"; > > > + /* ETH4 written on chassis */ > > > + label = "swp4"; > > > > If ETH4 is on the chassis why not use ETH4? > > You mean all-caps, just like that? Yes. DSA is often used in WiFI access point, etc. The user is not a computer professional. If the WebGUI says ETH4, and the label on the front says ETH4, they probably think the two are the same, and are happy. I have one box which does not have an labels on the front panels, but the industrial sockets for Ethernet are colour coded. So the interface names are red, blue, green, to match the socket colour, and the cable set is also colour coded the same. So long as it is unique, the kernel does not care. So make it easy for the user. Andrew