Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1165109pxb; Thu, 15 Apr 2021 16:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/euzNo2g2Hela5DmNsUruKmDRYKziSUhoBVePe8JEgE5ZBKulBx/3PwfBEU52s4dypvl6 X-Received: by 2002:a05:6402:6c1:: with SMTP id n1mr6922740edy.158.1618528048361; Thu, 15 Apr 2021 16:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618528048; cv=none; d=google.com; s=arc-20160816; b=fZM6W7+qDtvFlO3soHEcHWQvRa0PBpQo68Nk7P4kb4zViDfKVmilhUY8Ym6qyXGdJe U+HhVxX32re8ceCL9oOaWQVRNZDnClS3ktyesP93vGG9D5JnPEU49VvyoIlaI4Sx7NJi vIPEi8CKubaH0Q6NIr7xT+gekvBmDxxcMgMBKLpAVjo93C0lsaCayqV/MjvimT4Lb14O gj2hyciSX6sqUg/hyvkIUIesqPk8pyRAxtS9j0ogxaeBC+Ntfo+5p1mkGLJ9tLVbdPnc 3ZFLAiTHpAJyp3TOvUVNfZGck6mRdUaENQJdi7uSlsVC9sTNFbOQRmwewx2QI3bLGfTg zFtQ== 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=K0IEGA8eoD3PpHTJOZ22bAJrHX64vU8Ut2xJcmWS2Ug=; b=OD4kE/3OAZ3cOXYLmQ8h0WY2xSm1i0RgsLLl5El/wYqkrVIg1rUsfDnOU4uhldG13V 8CiFTWYLGba+88UXmth4vfLHZe8KDJhMLkjIRhey4DoJmrytVe2Bff/OMj/u31JyRp6m pqNl2CD/N/fMx9bKq9ENR4eslR2MaDBp9iICNKxO5ZxUzJAyMz7SkD7/ft72wstJFcsS LYvYFzhBiOpoYXIvrmCvlSO25pN1E65TiZ6UM9Xp/fQ9veFKaIG7uKufc5OZUxq7i7XD gz3NM4re0X+aS3FEIvXh+J5akoXFm4DI3XR98uyRD1ZoA26mCk6xYtaa1+swssXsYv1u 3J1g== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dv21si3321422ejb.434.2021.04.15.16.06.53; Thu, 15 Apr 2021 16:07:28 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236351AbhDOWAX (ORCPT + 99 others); Thu, 15 Apr 2021 18:00:23 -0400 Received: from mail-oo1-f52.google.com ([209.85.161.52]:38871 "EHLO mail-oo1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234777AbhDOWAX (ORCPT ); Thu, 15 Apr 2021 18:00:23 -0400 Received: by mail-oo1-f52.google.com with SMTP id y23-20020a4ade170000b02901e6250b3be6so3239084oot.5; Thu, 15 Apr 2021 14:59:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=K0IEGA8eoD3PpHTJOZ22bAJrHX64vU8Ut2xJcmWS2Ug=; b=NTWE2QtDhwd+oly0djXSilcT5xrVJCMDavgRndE5Qgs7IqxqE3x3DdbGAn/a9x35P2 5BASHxQKpLFbPBYtLZcEshr06f1oZaf6x6SUIpgcP280s/orhnec20Vhl6RZRoWcaw+u fvKYEwcdlsq8BBKXkOFmbyqqQTdXJNIlzBxoGHWC7I2/Y6ZQTT5TQD5WV15sMN9o+SPY ARutKqV1skt57dvUUimFKInTsUxvd8TU76LjrpkxoKN5gTAvUUO1Yw4wNvEeV7yvZtdP wTd1080LIsTF78ucwGEecDwW9y8Ol77giuYJ18+shVSTIK2N86hadh9MX0Qjvv5GcoF5 Ltyg== X-Gm-Message-State: AOAM531Jb2pq8F4A962lg8sZfAbIz+rw4SzsAdxTmuw5k0A4efCtIzE9 6Vb439xy8M2Go1s9ERt3uw== X-Received: by 2002:a4a:d781:: with SMTP id c1mr937783oou.44.1618523999149; Thu, 15 Apr 2021 14:59:59 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id s84sm913666oie.39.2021.04.15.14.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 14:59:57 -0700 (PDT) Received: (nullmailer pid 1954142 invoked by uid 1000); Thu, 15 Apr 2021 21:59:55 -0000 Date: Thu, 15 Apr 2021 16:59:55 -0500 From: Rob Herring To: Andrew Lunn Cc: Michael Walle , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "David S . Miller" , Jakub Kicinski , Heiner Kallweit , Russell King , Frank Rowand Subject: Re: [PATCH net-next 1/3] dt-bindings: net: add nvmem-mac-address-offset property Message-ID: <20210415215955.GA1937954@robh.at.kernel.org> 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 05:43:49PM +0200, Andrew Lunn wrote: > 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? There was also this one[1]. I'm not totally opposed, but don't want to see a never ending addition of properties to try to describe any possible transformation. Rob [1] https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20200920095724.8251-4-ansuelsmth@gmail.com/