Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4198024rba; Tue, 2 Apr 2024 09:58:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULmB2cjC4TWTEFKwMcJc0lcldsgRGI4F7lARrVAXieZePZZ9RtVkxC3V0kYJ7JDr9B8+FmNHoacC9PraO/c6SbwT75fZIzjU3C2mDMHw== X-Google-Smtp-Source: AGHT+IFg1CjbYHr64xtK7Dkv0FWU+OOExcT3s3CeclCy8ep1/sZVxhPEKf4DLMPQkiroWjm2i8FN X-Received: by 2002:a05:6a20:45c:b0:1a3:ca1f:8baa with SMTP id b28-20020a056a20045c00b001a3ca1f8baamr9915826pzb.32.1712077120176; Tue, 02 Apr 2024 09:58:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712077120; cv=pass; d=google.com; s=arc-20160816; b=zvOi1PA37i+fvwaz9nffMie6BALcxIN/+ZDQ9j5T9iCWkWtX+DDmM1JXCPOZbIDTVE 54FU127Rr/nsMwbsGl384YTw7LAGx76zsaDAaQlar1SRs4xN48+rrmkqDSYOfWCEkSuV C4OrQiHem7JsO9Lbx6vidqgE+hEvviUZA8IsqhnRVZlTXg8Q+V2ETmsco4S25firg+zw 6MVKdbTXBf9vsAPVBaOin8gJc1LwjXnpZe++s8faEyc9EObje6FOYHpNnkEKLUG6QxaB kfk+3XnSx8X8isrAZEdIlWdL6qs+/qP+J1JwsQHYJ89WwP9AkPpH3nM79LHFk2gSqd4f z/mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=utzYA5Fyh93RENun8mB8vS2Q+ce6cCxI3nfBu0JZLuQ=; fh=HK7TCAtT32GlH+9ojxtYfV1j+DNhIB6FtH2ErfUKCKs=; b=OhZMAT6FiVeL0lPPgW9qbqSoRalj0qsimKXg9+XtGKtXIi1JCPJydCpFBI2U6uKK5v e49acM1UmV/Zk2Z3Q/XyW2YX1TJi4cilVLt4N4FRJSqxR07AzR3zg4iTbQ+jhJkcnVrh aSHl02fBGTXQDogYqVo9HQb7J4Qn+pqJRBQjJtoGnKACn/tx8w+jZdxTypcOOxaBSKQf B8M5+E/Mv/Kd8ezqe3MB1aX7yv5UC1IYmq+U+8UOsmhqRVe3CKw5r+Xqk5e6fEbMi7WW qx/vtApEKZ0Nw0EuBR4xxYjiMzPQcdjvxr7ozTxN9DZjALBb/wvEb+A3uIEwseVDe7KH 6RNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=XZg5fpzW; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-128396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k14-20020a63ff0e000000b005dc1c316cf5si11153045pgi.357.2024.04.02.09.58.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 09:58:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=XZg5fpzW; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-128396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DC795284F3F for ; Tue, 2 Apr 2024 16:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08A9B15990E; Tue, 2 Apr 2024 16:58:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="XZg5fpzW" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 922752AD1E; Tue, 2 Apr 2024 16:58:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712077113; cv=none; b=vDEnnZfja4jcUl7sGAdi2IVTiCC7hFNgFX8L1QVaDZScks2XDfZIRTIK2xuhK43EnVAIGiQ6skACYRPguaZnq8MCh6GxbnOGu6iP8L8jYPuYH4GzL9un6wq4u6DRrzUYANqc8M35lUvETIrOwirMLaj/aXoNX5xhTa+D3MzNmzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712077113; c=relaxed/simple; bh=wOvlVcl5Y+hKCXh5u+EybZ08B+K533ukXPTMhetj+lI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U9QBonq00EwmvUY8gANKeOlTLZUDDw0D/NzDs6clQqPUruuqHiR6u9HzhvN5/0WRDJGvqnZdnehPWPWfQIWfVJLg1mRtAQTEJ4YgmDNIqs5iW3DJhxUT4zXOQs3MoNvixqvClfqAhNLxQ2Ar7u7ar0TLR9lrmS4v0LGrpPI2518= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=XZg5fpzW; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 2C3601FE3C; Tue, 2 Apr 2024 18:58:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1712077108; bh=utzYA5Fyh93RENun8mB8vS2Q+ce6cCxI3nfBu0JZLuQ=; h=From:To:Subject; b=XZg5fpzWJVjLjWUgVBHzBN3Lf4Xij4d/DO/83txUtyC96G7UJ8KGQBnmKxhaWOtws N7NKacSxaMn44EQlJojNvJFu50IgdKTmi0Jug3rDfV20lClorRfJ11DR9DptVapvWl Fs3fh693ovE+QOiv87lOIhkwN4Lwr6UiTuzVR8n5U6QBfL7CAg6ZO4GIiaWVUWb065 7pr/oAJavB8cqnTIC0kFvln/KZk1/hpM9WK+5JyHl0LUXrSZPlSwSxy1jdf1vp+RC7 qbacOxptg7mgrUvbR8aYwu+8DXZEwewAIvfT3uGz3C0+7IQZmuC1fmep/UdazNNRpo /+LR6uq7BPkYg== Date: Tue, 2 Apr 2024 18:58:24 +0200 From: Francesco Dolcini To: Michael Walle Cc: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: ti: k3-j722s: Disable ethernet ports by default Message-ID: <20240402165824.GA32125@francesco-nb> References: <20240402151802.3803708-1-mwalle@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240402151802.3803708-1-mwalle@kernel.org> Hello Michael, On Tue, Apr 02, 2024 at 05:18:02PM +0200, Michael Walle wrote: > Device tree best practice is to disable any external interface in the > dtsi and just enable them if needed in the device tree. Thus, disable > both ethernet ports by default and just enable the one used by the EVM > in its device tree. > > There is no functional change. > > Signed-off-by: Michael Walle > --- > This should also be true for all the other SoCs. But I don't wanted to > touch all the (older) device trees. j722s is pretty new, so there we > should get it right. > --- > arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 5 +---- > arch/arm64/boot/dts/ti/k3-j722s.dtsi | 8 ++++++++ > 2 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts > index d045dc7dde0c..afe7f68e6a4b 100644 > --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts > +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts > @@ -224,14 +224,11 @@ cpsw3g_phy0: ethernet-phy@0 { > }; > > &cpsw_port1 { > + status = "okay"; status should be the last property, according to the dts coding guidelines. > phy-mode = "rgmii-rxid"; > phy-handle = <&cpsw3g_phy0>; > }; Francesco