Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9076554rwl; Sat, 31 Dec 2022 18:45:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXvgfGZNXiohtzwBERxlYsB2boiPK1LiuG7eRmgPA5MHHyYDbT9u6TOqm3AdiuA6BtLfYFqb X-Received: by 2002:a05:6402:a55:b0:475:9918:37ce with SMTP id bt21-20020a0564020a5500b00475991837cemr31850915edb.13.1672541122591; Sat, 31 Dec 2022 18:45:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672541122; cv=none; d=google.com; s=arc-20160816; b=cCL4PNS+oRUknOmuUXFprF8PFmrTKAJYkCvI+uIfW5sgqzwTw1UnROuu0mYEdkVIjg ZXfw0sNWLTXuGyZXsZS7/Ec4RbNatjIecDr+L99Rpu5vTE0JlqaT/81luXzKI/XCpYQt DPKUMcKZJeI+Ldwfqr/oLoDxcpXQgB+ukUfVGSNXt0Zzczx8BEa7EM5NZZ9WXiUGL8Tr NK7sKa+aVNhULcFdeoUxliya7J3vS2hk+7T+hP+/bdN3FbIBia2bBao6+2/pQ2yOaydo 2ExghU/AJ5Nl2NlI9qvv+d1QkMucVsmYARy1uQeCeGc8kC9BO0sUT8Uq14BCyyuwR8f0 I9Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5BFtmOny+b9LzCaIlIMhJ1hYq/ZB3H5yaPNNeWoVwxY=; b=0VnsS9/OZbcn6IWkt5JpFmbpjVR6JFkcVVRbUoxourzcD7YuWDJz9eYHrVZ0Y/HoiD /AQ2BeltZ4NIzTY+fb7AFlEQEFyyHERYhoWnTnSDWjRWpDJp8otMNkEV7MORIwx0a/u4 gDA3WqMBXoQlkt1nJN4O6JVlC65KZ2rd3hZS3chZ+yIKIfDcBQ1/a8YNiU8V8fNqEtNl TnjzJ9oKFiGjlR8C8rvWvRTYIKP4FQKNPwNWUWj4KELBMlXoImIipWGULdbnRRxZhrTH Q6sZF0FPDOO+1n7r6CvtuNWeJny8nflJdAglwVMxs2FvICyDrDQfddYeJITObQpfbPoB mVAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cJig/Qhw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz17-20020a0564021d5100b00453688643fasi23569481edb.260.2022.12.31.18.45.01; Sat, 31 Dec 2022 18:45:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cJig/Qhw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232505AbjAACTt (ORCPT + 62 others); Sat, 31 Dec 2022 21:19:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjAACTr (ORCPT ); Sat, 31 Dec 2022 21:19:47 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D7E64EC; Sat, 31 Dec 2022 18:19:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2B57860A69; Sun, 1 Jan 2023 02:19:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D83B8C433D2; Sun, 1 Jan 2023 02:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672539585; bh=h8J/bVhWAr9jEzm8BWXkFEB5bhxsazV+6RJ2Vu+Z4iQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cJig/QhwBlCInPYM/3+tKARDg6Olffq+JYuct3MlqhcXQpv9NEZRQsr0Fmr3u1ata J/Px9QGkUv7FzvZ4bOW6wvtSzhtTiN4V9bRJx0FseGdc6hr6be++T/YYG9Yax0CMdL Lpgh9LMxGqrNOwn26tOqb642xuVNrNPcB3yPxtHBJ2CVX2B4cT7vV+1ZngogMBYrAG KUyLMcNkp8hYsT9Jd2cUr7XgeNx8DtI6DdKjlBV7lWCw5JWtW+ese/m9LcDFggWrif lxCEGtPvUVSakSh549IrxhoHTPnQ7/Ml5VdN71ECGf72zp+Wdx/T8nYi7y4f0wiClY o7oUET3KT4W8A== Date: Sun, 1 Jan 2023 10:19:37 +0800 From: Shawn Guo To: Andrew Lunn Cc: Nikolaus Voss , Srinivas Kandagatla , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Krzysztof Kozlowski , Rob Herring , nv@vosn.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] imx6qdl.dtsi: use MAC-address from nvmem Message-ID: <20230101021936.GG6112@T480> References: <20221128084749.5F10D1D73@mail.steuer-voss.de> <20221231064923.GD6112@T480> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 31, 2022 at 06:08:41PM +0100, Andrew Lunn wrote: > > > @@ -1053,6 +1053,8 @@ fec: ethernet@2188000 { > > > <&clks IMX6QDL_CLK_ENET_REF>; > > > clock-names = "ipg", "ahb", "ptp", "enet_out"; > > > fsl,stop-mode = <&gpr 0x34 27>; > > > + nvmem-cells = <&fec_mac_addr>; > > > + nvmem-cell-names = "mac-address"; > > > > May I ask where is the support of FEC driver for this? > > The fec uses of_get_mac_address() which calls > of_get_mac_address_nvmem() as its last place to look for the MAC > address. Ah, of_get_mac_address() gets extended to call of_get_mac_address_nvmem() nowadays. Thanks, Andrew! Shawn