From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30603CD1292 for ; Thu, 4 Apr 2024 08:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AUQ4hNwnzVzn+zaLWEUwzuQBx+oE+Tk5Bq3DDOoIQ/8=; b=1PC625j4Mp0B// NI3JmVFhRmx5+weKoObThsHXc7QP9dq1mCXLhQdmoQpO5cCRrvGGeapD6DwoOt/Jb5OWQLdkjGpVO SfkR5HfRK4jBn1kH3vruZ5hMPGCNOevuM9oKxn0M1R0+3ikprHTsMr+arcwRIrkGFEl3xzcp5abR/ oc0CI2+2o8DGsZfIfls4e3skzFO+/fbTndBch15z1Ybes9tnPg9QdAY4OVhO8Z7GsnYT61q3O89iv dRml92DgWNYfh4Gp/kVO0b3gU3VtAnLbH/HXoO2GhJf5g+eiVsLPBp8yPw5DxjBMqlrXieBWfNhQx NA/kXXYpp3j/icpSfRow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsIYi-00000001rRF-147S; Thu, 04 Apr 2024 08:34:56 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsIYf-00000001rP6-130m for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2024 08:34:55 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4348YhOQ103551; Thu, 4 Apr 2024 03:34:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712219683; bh=zKEXPE9es174/NXvmXcWvCz01yqeUuHdClVxb0krZBo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=tZzNUlr7qNGsNyN7127Sjasos5RTHym4CSOzBPRJrUoJfif13JP1pFbZhDyP0CGad 3eQR+GaxYysbaW4r+Q0VECs6szrbHLo+Pel2HdPJaKImcAYcjGS6MX5bd7gXX2z4KY cF+5DA7YSE/08NSvQBPmioAqBjdokvJ/xQ1HPc4Q= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4348YhOv039372 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Apr 2024 03:34:43 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 4 Apr 2024 03:34:43 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 4 Apr 2024 03:34:43 -0500 Received: from localhost (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4348Yg4W089889; Thu, 4 Apr 2024 03:34:42 -0500 Date: Thu, 4 Apr 2024 14:04:42 +0530 From: Siddharth Vadapalli To: Vignesh Raghavendra CC: Siddharth Vadapalli , , , , , , , , , Subject: Re: [PATCH] arm64: dts: ti: k3-am62p-main: use eFuse MAC Address for CPSW3G Port 1 Message-ID: <77abfbd6-ee24-4a25-a05b-51bd7716a26f@ti.com> References: <20240402094200.4036076-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_013453_536909_27BE6E30 X-CRM114-Status: GOOD ( 21.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 02, 2024 at 04:02:07PM +0530, Siddharth Vadapalli wrote: > On Tue, Apr 02, 2024 at 03:25:41PM +0530, Vignesh Raghavendra wrote: > > > > > > On 02/04/24 15:12, Siddharth Vadapalli wrote: > > > Assign the MAC Address programmed in the eFuse registers as the default > > > MAC Address for CPSW3G MAC Port 1. Utilize the "ti,syscon-efuse" > > > device-tree property to do so. > > > > > > Signed-off-by: Siddharth Vadapalli > > > --- > > > > > > This patch is based on linux-next tagged next-20240402. > > > > > > Regards, > > > Siddharth. > > > > > > arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > > > index 7337a9e13535..eb126f4a04dd 100644 > > > --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > > > +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > > > @@ -696,6 +696,7 @@ cpsw_port1: port@1 { > > > label = "port1"; > > > phys = <&phy_gmii_sel 1>; > > > mac-address = [00 00 00 00 00 00]; > > > + ti,syscon-efuse = <&wkup_conf 0x200>; > > > > Sorry, how does this work? wkup_conf is not marked as "syscon" compatible? > > Sorry I failed to realize that. So this will also require adding a > custom property similar to: > https://github.com/torvalds/linux/commit/cc1965b02d6cb18d9220dae06f7e2e0b0ebbea48 > followed by adding a new sub-node within wkup_conf corresponding to the > MAC Address CTRL_MMR registers. > > Thank you for reviewing the patch and pointing this out. I have posted the v2 patch at: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20240404081845.622707-1-s-vadapalli@ti.com/ verifying that the MAC Address present in the CTRLMMR_MAC_IDx registers is assigned to the network interface corresponding to CPSW3G MAC Port 1. Regards, Siddharth. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel