From patchwork Mon Apr 15 10:36:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13629767 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 92DFFC4345F for ; Mon, 15 Apr 2024 10:28:40 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iemNeGZeXIOyWhZyCMXeJUf4CXcF0bGzcb1Z6kb/QrY=; b=LuZ+kbQ9LANa5T 9nChVL+YKc8F95nvmFMYkAunJZkz5vy2melSwJAISUk4it/4R+nIpKQcE/46JeGQrubbSNcDYutAz DtmeE7/zH/n83aM2VLdgRVoYEeeqi0fcmOye5cwB2I3YykMZipo/cXzqE2qJ1uTLkM1sN2CnbkoDN 2XyfP0+BqztAsrzABe54eUtePBcU1VTeohrp4idhqhs5lSKl2i1pzbMfs/oNgzxS7vUPt4dafnCv+ d55OLsdQa+JRJLL56p4uOduiRGrtwlIvdGZvKu2UCEaxKQ3dKG5jhYGJeQJ59HWFvEbjCZJu7oUAm xMmbPtLEfYdIuABtyKQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwJZg-00000007ruI-0yeY; Mon, 15 Apr 2024 10:28:32 +0000 Received: from mail-he1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:260f::601] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwJZd-00000007rt7-0i4g for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2024 10:28:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TBDcNELDNy2eXyq1hCXdzg/e4qSAMstiX4onUTximEouysTOfgoBTfRO74mG9HuS+9pig5kxTNG1vGcY7VjBDRVfBJE9fBy8sgLs5/Ll8gm929odGmiYEzVCmDAzI5Oep4B7o8zaKBaBVT8wRFBYuqo7uhnbEPf5zzaiATAYSuY0MoPO4RwfOqhJHar6ZeFRmiWMzuOjZ5qhrvEqC57PgQZ9zAyLmXFqu9ee1k4+xPT2WmkQDni3eoS91aRwZD7/u1s0V8MuknilNyYo/LKehu3ijKUSIS38+PadhItoh2rDbp1y6LciiLfKtlMKvL1OfIszR0HhqLDiDT7dqv88Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DS8xZlJ0aMm73UmUIvpcSW9ZGy5YuyyuSPsRl/3thiQ=; b=bdw7xkJ5J0PVaYmAWCUJD5dbzy7XtyORJtx1vWBmM7kQSY8eO5B7Bue38vD6m6epn2HDmfzYFO5WqtorJicsEP2CponhGQHGBtBPvHh4MNRQw05FLdbp+I9AhKiIUN6Psuo97wS26aIF4jSdha7yxL/NG54oqFwzLAiie7mMAJMLpE/tS8enojCz+82Ct+I0IGJNO8wWseCRXiCyDcdP14+Z9q8Al1EbbBLlocENw5+jCI9YLGallgqcQHZ8xBtXV6iefJqDEip37xWOvI1bPQpOFolMmIy+BhFP23Pt5EZHKWtg8N4H5j9R6dK09JYmeLxvAs2w6J199nBBjYjXPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DS8xZlJ0aMm73UmUIvpcSW9ZGy5YuyyuSPsRl/3thiQ=; b=O0LCBjKZCFYnV6v42vl2grS5qr41ABXuqIOweSwaQLTu6YJPAd1ZOD6wv5V/H7P+Ko9ah20/JpzHD5Z7EPH90wWlHpBDIPZr9Xx3oeqHa76iOuQD0Pme06SxYaHQiHrnC3LO1+4B6rG8WzTgy0Xw6A+5e00RLOPLU+qykG8LuEg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS8PR04MB7895.eurprd04.prod.outlook.com (2603:10a6:20b:2a3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Mon, 15 Apr 2024 10:28:23 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.041; Mon, 15 Apr 2024 10:28:23 +0000 From: "Peng Fan (OSS)" To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, xiaoning.wang@nxp.com, linux-imx@nxp.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property Date: Mon, 15 Apr 2024 18:36:21 +0800 Message-Id: <20240415103621.1644735-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG2PR01CA0151.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::31) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB7895:EE_ X-MS-Office365-Filtering-Correlation-Id: 7167738d-9bec-4a84-d52e-08dc5d36c705 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P03QLMoBSwGVj8DWv6fyBVxWqwt0ndy4as24UsdV50DzEG+HQuka0ZVcFRH+6WkUzPLzpgt7VMcB7ntuJJ7RZC2XThJ/sq8Z3hbk/tap8OnjVDX3JKkx452VX3fmuzr1wp/IkuUuK6rWPcqVbCcnDHVMZtgWF8KolRkg4YJlNFoxMnLFfs/CyHO/QWNfEKtJqNqYPXff+/N+/GmhLt7LqMO90+9/EWPD1D9b2BCMPy5bRGb5rd+hf7LT3szJVpYeLV1hV722vHfrl/l7R3m1ckt/5x9Ds3+ciinktj6um+P0qlTWvNz56baXf1G/W8MJ6D1ndVHpSJDfj/1eAtAyf7+DzxOpo/ucR/V3ZIZ0QcYS/CWpr0Dq0E7bmrfpbFHdLZ8FFOBLvrO+/QpMmKntIcupfrm8I3svGWibDgSD7yfLnJRtoIjuukVuAWfVlgLvM4COaS7adoOo6ThqId1lF70EK7N2usX8AM0xd3AnMpJLDK2wmPlYdTHffY5k0upGaVQNs1vZfJ/uLKaAU9WaGV2408WZmMKWiLMovCJUm67LmkxNF/WqHB1waba4vVKb2guNq7Ls/byEFvLwhTDg+t6JRUWzcV2EnlReQF5sW3umnHXtzvEbBGo9B9zKJmz7LZw5QsM8kTyBqNivpOecdhCZPPpPUhlZpDI9kzjRfvtLm10mrYASibjkaxf/AcECirkjhgCkLV+xjveyA7IJp0imlZfhD+YgYOhOEQttj4g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5evUoYYQO5g0ISF1Zv2FVhzZF5slwvGGMYGG8v50nRw3Sc7C9p/GdLfKnQuT37MWX0V3mVkhh3VKcLzE2eATnOiAtPvP9ah7n9+0LQj+TG2IiDfD9V5cP9RnGKqSFcwqC9Q+GvPDvQ7FuwLqc3hpHnGr8Big9f/Q8dHk0w69blgz2ArDc5ICyjSkf57b0YhW+OwSdyyMZNzhMlDQnmZohKArz8dTkeSx4JXytf+mX3AKdiiZnw5bcg0vKlPrwalcMXMu12V7PiYcz5A5hP9EwshgRo0vvWQU985AlAZGsHwtJYPI6nqkLjFJmAMEQASCu616lotI3/fHNaHGc2l621N5wUib94PJgZmtCMXReeNX+Mk/k91Z+qtZLjIOCUUVr9+C8ROzXvFCkXanAsvmNp5m3RlMySluR1qymok9tjQPV6GZFpAw/asFaVF39QQ1Qs+oMYY+JaokLIZLkXe7dgU4umW18AbqQp4h7BzcQ4BUvIqEazjMwgJKSNeJuQ/zpSXB59svxbOqr8Pb2F1nGfFm5LYdseo/nVi/lv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ange-CrossTenant-Network-Message-Id: 7167738d-9bec-4a84-d52e-08dc5d36c705 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2024 10:28:23.3066 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rpBAJiGPCqZxnbcs+SSz9/eVNNtMAmAfCvcAFClRBY2ochjZEjRWaXyLa0wBwKlvLmxJMx5mBNivWoC+SOMO4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7895 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240415_032829_247897_8B3703E4 X-CRM114-Status: UNSURE ( 6.88 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip fuse. Signed-off-by: Peng Fan Reviewed-by: Frank Li Acked-by: Conor Dooley --- Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml index 4c01cae7c93a..87bc4416eadf 100644 --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -66,6 +66,10 @@ properties: Should be phandle/offset pair. The phandle to the syscon node which encompases the GPR register, and the offset of the GPR register. + nvmem-cells: true + + nvmem-cell-names: true + snps,rmii_refclk_ext: $ref: /schemas/types.yaml#/definitions/flag description: