Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2255115lqz; Tue, 2 Apr 2024 11:29:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbE5rEOsxGdJVJHosv/4pYZjMaX03fOCm9hLbRKBbiV3AmXiFu1rnUhQ7SKNQ2OrymE/Jc/MkZI6lapumQZ65gHmD50nyBRVqYtQKi4g== X-Google-Smtp-Source: AGHT+IHPM9LOS2oKItTnQQy5RP5HyOJVNgY7rc4DDjEmKqPfDT7NMxi1GEplcPIxo85zYgFT8LBu X-Received: by 2002:a05:6870:a44b:b0:22e:7e8c:1f8f with SMTP id n11-20020a056870a44b00b0022e7e8c1f8fmr2016951oal.51.1712082564386; Tue, 02 Apr 2024 11:29:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712082564; cv=pass; d=google.com; s=arc-20160816; b=UxINK1Vxcirf1lsSXZZbwqcA2rhXTDEyP2SZfZohIxlAb21a/THmUEu90iLJv7apY8 jIYLAOyHyicR92KGXrQ//KvpCNYgj5AA0J158ZNPZLBpBQkj/lm+kXQb9p2//Y44r8uS KUVv49oXZj4iOXHP4cKJn106WWH1GCV/SGi8H8HNbaop+dy7Dn7cMypjHsWrMC06Kz2h y+4K07tGKN8IJbX3KVbPqBFwPlNIOoa6LL9zAhix+7Doj77FE5MRJccqAoLeiuf9H0K6 6gk06a1k+ybhjRF1nBshaYVD/gKW8LpcZhHN6u3ZAMc891FR5SZiHTL5VwDmMOnUskaB 0BeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=C+6Ovd5GR8AVY2ErqrP0hL5fWP5KD8qxxEw3AmBhCRg=; fh=wi+U5L8gpxgT5hHsGCr7yXxz3sOoO0YAMb61y/JDyYI=; b=Skev9+cEgWE4GVAfJVK+UxLpkM2CUSObJhYwtvgwtbla9QkoSbPQMt78M5HXt7y/vw BfBPV015HsCt/OYdzaM1TBEuI2ZKDGzipVmsjZNM4qctZlziBoB/qE1DPYafIr4rKOi5 8xav7GRpD/MQutwNIaYIThIlpCUKO3a2/EsQL+rDTiDRQhG8GRUsT7TIZ0dZARhdh1M6 N0Z+Ud1Si1QelToendGqiKsQNl0y/4OqCU1UK9fpTHo40R7HgddDIHGQSluxAa7Fr4Gx /x6I+pYFzbi6nuAdXBqEeRT8i0jALq4dEbw1Bpa/gu97d++HEMxcnrNhjkWWU6tpfdz+ 1QVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kA1ODO75; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128478-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 c8-20020a630d08000000b005e85aa0e44esi11179629pgl.434.2024.04.02.11.29.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 11:29:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128478-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=kA1ODO75; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128478-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 D0A8FB25889 for ; Tue, 2 Apr 2024 18:06:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 931E215AADC; Tue, 2 Apr 2024 18:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kA1ODO75" 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 972D32AD1E; Tue, 2 Apr 2024 18:06:32 +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=1712081192; cv=none; b=nuwhwt1mrtVmqA1lVjxFK2JmdB4LuXokaSigfBoM8f71T2lY7yO5xqILTyJh1h3rWn0EARsxTOj/xLvmaouCP4R2f6p1y1nHPi8ZQOaNqIdDK3AI2CSqRum/jU89wjU/2IoPcJG8JJhfaxSMYGlfIwlA7PNJrl+6XzBN+al9BQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712081192; c=relaxed/simple; bh=+E1y0pdf8CT3Z5+Efvu1SmNES4KfcEkFtb6Y5xvwvKg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tHWcOKMAHe5r3dh4pP57MnH5WAi8n+Y8VInA7v6Kno82FsVJzCD/eIToePcCS6cfI2B3daLyOgaSMwZ6JvepNWws1HEWTjfeR2iclS4Q6a2iISvdsLsKCGzPIjUOp4nbHWsDTujuNUozNMrXXp6MNTbKxN7qMjAMV60ePM/oHb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kA1ODO75; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3A60C433C7; Tue, 2 Apr 2024 18:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712081192; bh=+E1y0pdf8CT3Z5+Efvu1SmNES4KfcEkFtb6Y5xvwvKg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kA1ODO759nTQw5I8JgHp2XuGic16VLy/t62Iiqqdgg5P8TvIMcRs0dGO0Z6NP4UxN ppTvCtGkQbhtPFyI84MZhNApVtBOAQyNWPzgDTMwxzRa5wTnlNMY9oCplHaNzozvlk xS6qTB/pKGI6Nfyj4UsdNwOxQzGoMJE3VOkVdacpdrsGoQMhqCYkmAeurwR4a7NX7d yUhtCq9ohK2quJD8BcQGnw+iYvaCcV6K9JymEL4tqWbnVpT9qdrgmhmirc4vQ+nqjg yjT8QSrWn504KTGRF7w+g/3vBtR5+tULBnwuPFJLZoKGpDzDL+JX4YYrXsdja+F2rv DJnWhrt8aIzVg== Message-ID: <4b1380a8-0136-4395-ba42-9bcff2e1bdb0@kernel.org> Date: Tue, 2 Apr 2024 20:06:27 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dt-bindings: mfd: syscon: Add ti,am62p-cpsw-mac-efuse compatible To: Siddharth Vadapalli Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, srk@ti.com References: <20240402105708.4114146-1-s-vadapalli@ti.com> <2e9b6a91-43d3-4b23-830d-40e607505d8c@kernel.org> <30065bdc-ccef-4610-b1c1-7661f801b8e9@ti.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAo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t7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <30065bdc-ccef-4610-b1c1-7661f801b8e9@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 02/04/2024 14:30, Siddharth Vadapalli wrote: > On Tue, Apr 02, 2024 at 02:08:32PM +0200, Krzysztof Kozlowski wrote: >> On 02/04/2024 12:57, Siddharth Vadapalli wrote: >>> The CTRLMMR_MAC_IDx registers within the CTRL_MMR space of TI's AM62p SoC >>> contain the MAC Address programmed in the eFuse. Add compatible for >>> allowing the CPSW driver to obtain a regmap for the CTRLMMR_MAC_IDx >>> registers within the System Controller device-tree node. The default MAC >>> Address for the interface corresponding to the first MAC port will be set >>> to the value programmed in the eFuse. >>> >>> Signed-off-by: Siddharth Vadapalli >>> --- >>> >>> This patch is based on linux-next tagged next-20240402. >> >> Where is the DTS using it? > > The current implementation in the device-tree for older TI K3 SoCs is as > follows: > > cpsw_port1: port@1 { > reg = <1>; > ti,mac-only; > label = "port1"; > phys = <&phy_gmii_sel 1>; > mac-address = [00 00 00 00 00 00]; > ti,syscon-efuse = <&wkup_conf 0x200>; > }; > > The "ti,syscon-efuse" property passes the reference to the System > Controller node as well as the offset to the CTRLMMR_MAC_IDx registers > within the CTRL_MMR space. Please reference upstream DTS or lore link to patch under review. Best regards, Krzysztof