Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2549325lqz; Wed, 3 Apr 2024 00:55:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWB9mcVtmT6qpcmdvmIwunGFaybZtePdEqPDzP3SHkmKEaqXwaD4Eg0S9xklGYQR1LF9X+MoVSG2528h+SvKvbJzvcWKlP21Ijo8wFliw== X-Google-Smtp-Source: AGHT+IF7l5zKRYh0Rh4EESc8Owt5Tcgmh756GPuulhP5Sh2AG6ZyBUmo3jseY7AAVbWW0gnRXxAX X-Received: by 2002:a05:6358:650d:b0:183:dff8:4430 with SMTP id v13-20020a056358650d00b00183dff84430mr6698834rwg.25.1712130916232; Wed, 03 Apr 2024 00:55:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712130916; cv=pass; d=google.com; s=arc-20160816; b=gPTNm4hg17/9QgbqPbLMQknIN2BZYpCZveH5IaaNkko/3G3yBZ0JuSGO4zE5IoFTLs lYoaZnCmRaqmRjlDJjRvzbXqOAPjbvVcGH5Axgry/MeV3S+5XC7JPEBARVK8VaRpFbiz 1x/fkAvMUGgEm7MydWh957Q+6tOmtVpy00vQv0cildO14JM3fwmHhe+vVtHKoAXMgHlP X2v+bA7H1SI3Hi7gBhteQkSc02IH8A9Wdz2tL40TQNYXmmjaOa9s4vr3JKbhb9vrOGIm s86ShQ08cYKi0iFAvojraVtBU6vYll+EuRNRNhzZclm48f57fNYPK5VmykobeS+zE9LG re5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:subject:to:from:cc:message-id:date:dkim-signature; bh=SzRuc7BoEbqHYgTM0r1qRHIQgrJZDX1qpZZ4tKdQp14=; fh=nK5wGXNs5DJHF7R5BFR8aKLevW7oKFLZT2oA2/boXXg=; b=fx9tmwTGmhTQhOIruRUQDB0rfVlyhnhL5UUZ65esuTCFbfQpvEWv8PMgq05cYcYSA8 sOc9p3A7coERGX7cBEjFZdg/L42mroij3P/WrE9kmlEKu3HRqvKtmhDP/TjkkrpcyWnO fqsLJyxp+qmoeD/T+X3hpqVf7XHwI6SJx+DmF+qQIOrme/kjqo6a3erBKClw0avxNBVw thwIj+3ph9IQPaKbr2L6f0fsphVPfLm7Q2y6bX1SSAFY29F8/DzaX/DL1rTLXQpx0p5z D4/a7PRNfnVsBSTxxsF3sp3XH3I1aybQXff2KdH10AfM6Vq5VeD9BnQCUHVHDSMB7n/I VXqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jX9Xyvip; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id oc11-20020a17090b1c0b00b002a2755c2f65si1932278pjb.151.2024.04.03.00.55.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 00:55:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jX9Xyvip; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-129186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B1C1CB25876 for ; Wed, 3 Apr 2024 07:38:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 508F86E610; Wed, 3 Apr 2024 07:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jX9Xyvip" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 715F95D732; Wed, 3 Apr 2024 07:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129764; cv=none; b=Js8MEj4uRBHvhJ65DI37HhbiKBWr6S+qtVOj8XtjvhU59BTNbjTfTCGAPpS9bG1IX9n1KqR+2aXpMRwdmg2QHUnfU6aNE7SvCYHdup03gieuUvcj5RRhqUPXlxFe9og8kZgZNSFWk45yDfdVBaZ7GKdZHD1L4Gulh2eOnEclZSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129764; c=relaxed/simple; bh=comgvq/b/dwZzcz2JKiAiH5R+wKfYaBn19+EszVed4M=; h=Content-Type:Date:Message-Id:Cc:From:To:Subject:References: In-Reply-To; b=IxHahNl7IFlWYIET0RlPjLut6rnmBqEJRre63n+emaVnujwSlBekjgM1KhXzz+3rfs8CuMGHZLeCw9XGilcrOknebLmQRrhTRN3QXaJtOSpHpjzM3o5sbP4eRlK2eX0fEtuTduYZaD/hJPL/a67KMZ0lGOPxoF82hDHN1NdO628= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jX9Xyvip; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 717BFC433C7; Wed, 3 Apr 2024 07:36:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712129763; bh=comgvq/b/dwZzcz2JKiAiH5R+wKfYaBn19+EszVed4M=; h=Date:Cc:From:To:Subject:References:In-Reply-To:From; b=jX9XyvipU7W5InrF55jvVKTf5hV4lNqR9/nPyJZQXUCD1AzJ7vSzG3njmgo0VgRTS SWV1y9yPgz8kyAaAmCteRrfG7kihV2of+Qbumh9mcfhOnciIstv9yT7ozWpy0shln/ Lvxej33RnmwoE39JuESlK1ccFpL38Fpma6kUhJCoTZ38IYBrW6Y0AWx8swRG7cj1Dq de8SK+MGCX6/RM8aKHhentdf+4qqQKyrVVOC1YjAT+mhjJlZGSi4Z7AxIa6dBWJB9z M+7uP27PyHXmVEb5HPV3O+bzkZJreQwOcR4tGMk6+G5YHMvefZnyl4ehojdcLJMJlK 8rnWXXIguJGkQ== Content-Type: multipart/signed; boundary=85268debbb0a249bf83d175894db0da66e51c3e05656b17bb875057ea9e9; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Wed, 03 Apr 2024 09:35:47 +0200 Message-Id: Cc: "Nishanth Menon" , "Vignesh Raghavendra" , "Tero Kristo" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , , , From: "Michael Walle" To: "Francesco Dolcini" Subject: Re: [PATCH] arm64: dts: ti: k3-j722s: Disable ethernet ports by default X-Mailer: aerc 0.16.0 References: <20240402151802.3803708-1-mwalle@kernel.org> <20240402165824.GA32125@francesco-nb> In-Reply-To: <20240402165824.GA32125@francesco-nb> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --85268debbb0a249bf83d175894db0da66e51c3e05656b17bb875057ea9e9 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi Francesco, On Tue Apr 2, 2024 at 6:58 PM CEST, Francesco Dolcini wrote: > 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. > >=20 > > There is no functional change. > >=20 > > 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(-) > >=20 > > 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 { > > }; > > =20 > > &cpsw_port1 { > > + status =3D "okay"; > > status should be the last property, according to the dts coding guideline= s. Thanks for pointing that out. There is devicetree/bindings/dts-coding-style.rst, which is in fact new to me. Up until now, I was under the impression that how this is handled is up to the maintainer of the SoC. I know that for the NXP Layerscape for example, the maintainer will have an eye esp. for that. But here it seems kinda random/all over the place. That being said, I tried to be consistent with the other cpsw* nodes. Anyway, I'll change it to come last. > > phy-mode =3D "rgmii-rxid"; > > phy-handle =3D <&cpsw3g_phy0>; > > }; -michael --85268debbb0a249bf83d175894db0da66e51c3e05656b17bb875057ea9e9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCZg0G1BIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/i0pAF8Dtz9BfG4VFPzoKkZsJB4/ncZfyEy67rC g7XVK/JrcCwHEW/hAXnmXOs/cMk+J2XPAYDKbawvIqW1fdpvFoh5EKNQNSOtuAP9 YpTk1kAKNDkR8TGLeLubNsleDRzW8MdoHj4= =PWPU -----END PGP SIGNATURE----- --85268debbb0a249bf83d175894db0da66e51c3e05656b17bb875057ea9e9--