Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1877828lqz; Mon, 1 Apr 2024 23:27:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIpXFIuJJCvA8RW1lxh1QJtUq7Rbw6WcVLZ9lRtI5y9r7JD2ed4JRebnsu0YpNNxZoO4t4tuRCuPgR4ylQaTev8d6oAdi3e3daNo2Oqw== X-Google-Smtp-Source: AGHT+IFojt+vVGfDG1qLKdBsj2z/v3vxJikb6pk1Pbc7b/B07qnbk25/XgTZ7pk4jZIvDUIoFRLp X-Received: by 2002:a05:6358:3396:b0:17c:d10:722c with SMTP id i22-20020a056358339600b0017c0d10722cmr14452820rwd.1.1712039223312; Mon, 01 Apr 2024 23:27:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712039223; cv=pass; d=google.com; s=arc-20160816; b=LTgy5HhVY8YGHHJfPz6abLt1iFunyWRaHDfxRAoKuNPMNMsLdYUuY+0N7DJ5I9ZJ6o fdydeG3if0nOZuM7zt9ZqqKPJSB4cVCg2XWdfSh/EsuiH2BgXS9HDtMOC3k0iBKg53Gl j7nICsTYV/7cXuRyxbbh2/A3jWAajisWeAqLOpPM5TyZHmM5mVsnM/+ic9udqSFIszsW dmboTFpjK4S2eHHwcsm57zkb5ra9U+j53CLtxFt4hpBrfXm4oOPRaujc+6QCbWA4WUU9 R2wyd47fC+mvqAL/G2ohSigid1gY3WCqc4jE28LzPINxOsMDmQksLJwXvHcJJHXd4h7+ G0xw== 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=ApcdmhQxPzQP9xQeTsuVt9g0tVEVv7Mtkom9e08L1pc=; fh=aedDiReyMUHErcL/IlOa1J8/NZxgoDvbukzWkftXUSA=; b=YnYboBgd0JMYKJyJom/ihp3eiY+cUXhZS1Mxcy38e+WjwHPw7tVG9nadE9fLL9wG0/ AURr230Qk0COiHgTL+vbL0pEPFd465ksin7aIf114lcUE/HTZq1J4VRLMRwHOpVSWYiS 7MucTNlRQPp6NnNI3UT9N3+QV8HyQwskQZNedenS75QLdlwWtKp6Ti650HgwPtVAwBZH Guy41n5xiNr+adThFfMvlL/Zvt20WZeS42GmhF+++eRPodlDAWtLzqyawJbGfIPYvum5 Q9Tf+3xC9XJ/N0Hzbn8URMQ70HIYuZWEu9Rywi2xYqWWA04+b+xQGsdguTqRrUhEy9+w 7rPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=C9ZQyeyy; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-127442-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127442-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q76-20020a632a4f000000b005dc95934e54si10886557pgq.52.2024.04.01.23.27.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 23:27:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127442-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=C9ZQyeyy; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-127442-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127442-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com 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 34C9A283AF4 for ; Tue, 2 Apr 2024 06:27:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91EE4224D6; Tue, 2 Apr 2024 06:26:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="C9ZQyeyy" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 0BC0A224CF; Tue, 2 Apr 2024 06:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712039206; cv=none; b=kyAclrmXo6etYvYmkuHpCXNA+YUSMiTB6BQO6zm7h3pGzai2PZmUyTkNSYwsGpMIRM5wtFDHPqA+FySs/fzb77xo5Ji7rM5pWV1LxIFMQoc7feeMWB439/b9IQPnL7lsXhQ4f4lJ9wwEnricvkQbOKihasBJF/tnMouczh1LIkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712039206; c=relaxed/simple; bh=yqD5MObG4KrAAgzNU/IpEzitbWP0Yvfm1MK6uF7+aXs=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FJXWJ9DOCQ4uwamikgMfLtl0k7Rzdj3WzO6u3U/lxzsP8bZpawkNZBL4viHWGHC+e/Yad95Abyrn41TiI+rE5YpZIkMbjdEO5j6OBwlVsG+bSYf+Zd8omxlWzGxiWigxxs2Xh8Og/aWeEBtCoBQoL3clBLM+WAnNYdppqnpZMm8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=C9ZQyeyy; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1712039205; x=1743575205; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yqD5MObG4KrAAgzNU/IpEzitbWP0Yvfm1MK6uF7+aXs=; b=C9ZQyeyyqCAxusZff7HuWvaZocUcNy1a/vtA7Ns+uBdiXzbtI/Dm8yQI hQZP5IMA7hXLZzcTM99RyAUpinQvSisGGyWMJWCoZ9x8RBNsyzPt9AFy9 0jRZbidnkgV+yUPWJbUP8G74fL2tK9QFwEYCQd6h750GgFqtslBRXCTFI /OWX+lAd5Q50c/sgy8gSXjViFBzhlh3ENe4nGSYwMvuucez/UFYtd3C37 0ta9OBzGuDTWyEQQAsLs11XtW8AYRY7uS3dk40DySledZwJD22GsLw3pi TLIMnoUbKjvW/mKWSc/11wWlsmqQOsSY+Kr6AazRRQ256R0W7OlA2OtIG w==; X-CSE-ConnectionGUID: eXYBbngjQseUqzhgkPLNmw== X-CSE-MsgGUID: ITlnMxOJQluG160vKvKt8A== X-IronPort-AV: E=Sophos;i="6.07,174,1708412400"; d="scan'208";a="249894645" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Apr 2024 23:26:43 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 1 Apr 2024 23:26:19 -0700 Received: from localhost (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 1 Apr 2024 23:26:19 -0700 Date: Tue, 2 Apr 2024 08:26:18 +0200 From: Horatiu Vultur To: Krzysztof Kozlowski CC: Conor Dooley , Nicolas Ferre , Claudiu Beznea , "Rob Herring" , Krzysztof Kozlowski , Lars Povlsen , Steen Hegelund , Daniel Machon , , "David S. Miller" , Bjarni Jonasson , , , Subject: Re: [PATCH RFT 01/10] arm64: dts: microchip: sparx5: fix mdio reg Message-ID: <20240402062618.au3uzqul3tk7sxaz@DEN-DL-M31836.microchip.com> References: <20240401153740.123978-1-krzk@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="utf-8" Content-Disposition: inline In-Reply-To: <20240401153740.123978-1-krzk@kernel.org> The 04/01/2024 17:37, Krzysztof Kozlowski wrote: Hi, I have not tested this patch on HW but I have checked the registers info and this change seems correct. Reviewed-by: Horatiu Vultur > Correct the reg address of mdio node to match unit address. Assume the > reg is not correct and unit address was correct, because there is > alerady node using the existing reg 0x110102d4. > > sparx5.dtsi:443.25-451.5: Warning (simple_bus_reg): /axi@600000000/mdio@6110102f8: simple-bus unit address format error, expected "6110102d4" > > Fixes: d0f482bb06f9 ("arm64: dts: sparx5: Add the Sparx5 switch node") > Signed-off-by: Krzysztof Kozlowski > > --- > > Not tested on hardware > --- > arch/arm64/boot/dts/microchip/sparx5.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi > index 24075cd91420..5d820da8c69d 100644 > --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi > +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi > @@ -447,7 +447,7 @@ mdio2: mdio@6110102f8 { > pinctrl-names = "default"; > #address-cells = <1>; > #size-cells = <0>; > - reg = <0x6 0x110102d4 0x24>; > + reg = <0x6 0x110102f8 0x24>; > }; > > mdio3: mdio@61101031c { > -- > 2.34.1 > -- /Horatiu