Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp352907pxb; Wed, 14 Apr 2021 17:35:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoSMriJYsx4ASthsUKRN7hGvznEFBDVSH1bm7yeARPTjEUaqr1VNnzi1jEjhGMRS67YbKP X-Received: by 2002:a17:906:5da:: with SMTP id t26mr693583ejt.21.1618446909397; Wed, 14 Apr 2021 17:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446909; cv=none; d=google.com; s=arc-20160816; b=jyf5DGdHJ5gF14vtbH0nk1VWNvzUavPCbGkpFN3ttlxnjMEqIzhWWQYkDcP7mb2WyQ 4nySA7hV89s++9MCIsMIqEXQIwK1p3mZph6MAptC1K4mrVnB44609FyZ6u5UtYs51roN Sdl9bFC7BdK9WhA/Mry3dCE+uG3/yHGCILyp9TUpW2N4n2C7LM8C48IGeGH5nJzpcgrf WhJV/wpBpsUUvbUqtRbUMxdZay3c9DQQYubbih2luML05ePloshXBI0PNbOBuPVFvX6Q 7362KeAz0V3XV55K/qnLKoRSAdEY0yAbaEIB0LMuvBFwEXHHfT6u3vSlPOia3EqxfNIM Mtkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=f3rEn+V+wp+878JzUruQqZ4UFL52TFzAUlh2EdwQIck=; b=DVAkikbD4PigTZWjU02kCgnf4OjXwI2PpSwG3dRrK8gSf6z+eLu5jqewW/5V70Ot6d eg5q7M9bn3iQY5hfb/sOwLvou6ZjsYDuZFUo+VjDzImlnhXIhWq44hqQ7fDNSAWkeutP az8Dm3XLVBBew0X+1F08naa+I4rktHm0PUxlsp03+J6jhr1b7R1mFv9GwZ0dMrdZ7mgo JzojAprww35xi7XNsEYfX+/0D72sUvR9HthP62X4sJy3EfNQ9xhUfviS37e4zEji+KCu mhEtRip/6jiMa0qDLto6dFgaJy7mgpS9g9hqjq09aKRsMqYEY0QBQnKeWvuHpDtO/jgL M32A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf5si892529edb.64.2021.04.14.17.34.46; Wed, 14 Apr 2021 17:35:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352329AbhDNPoQ (ORCPT + 99 others); Wed, 14 Apr 2021 11:44:16 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50740 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352285AbhDNPoN (ORCPT ); Wed, 14 Apr 2021 11:44:13 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lWhgD-00GiFt-4r; Wed, 14 Apr 2021 17:43:49 +0200 Date: Wed, 14 Apr 2021 17:43:49 +0200 From: Andrew Lunn To: Michael Walle Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "David S . Miller" , Jakub Kicinski , Rob Herring , Heiner Kallweit , Russell King , Frank Rowand Subject: Re: [PATCH net-next 1/3] dt-bindings: net: add nvmem-mac-address-offset property Message-ID: References: <20210414152657.12097-1-michael@walle.cc> <20210414152657.12097-2-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210414152657.12097-2-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 05:26:55PM +0200, Michael Walle wrote: > It is already possible to read the MAC address via a NVMEM provider. But > there are boards, esp. with many ports, which only have a base MAC > address stored. Thus we need to have a way to provide an offset per > network device. We need to see what Rob thinks of this. There was recently a patchset to support swapping the byte order of the MAC address in a NVMEM. Rob said the NVMEM provider should have the property, not the MAC driver. This does seems more ethernet specific, so maybe it should be an Ethernet property? Andrew