Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4736437yba; Wed, 8 May 2019 01:44:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYBO1yC3Nh+P5UrzSNCJx2R7Aay3u9DyAlBV2SNrSKp3EBBW2fR6WetNxwIXiQYmAtcWNo X-Received: by 2002:a17:902:694c:: with SMTP id k12mr44631446plt.149.1557305091840; Wed, 08 May 2019 01:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557305091; cv=none; d=google.com; s=arc-20160816; b=Tgy5PMNbeZLa+nqOR68fBvUQHd+HvkqnpNuSOb6oyBVIsyFxt0cgGpdQOfon7lKrNo eUV0axr3ySKFXYjRqAOo7qHDF0bSvtw8Arqt7e/tverMloFP68dFslBZAsbDGgI/zGDo 66PBvYgfsm0qagBhb5CzPFSQjvlnDu0+4mtbKER3mDrMP6LLGjIXhUa9odwNnHRt/Zty L0RMKX8dGWhAQnz+pA4BHigJ6OtqG5eviMi69Neb+OlEt8jDLSUzHMgDwhsMzswlg9xL iI23hz7G2p7NtwAYT3KO2VAAfYJEuk8UITNJEpbyy4RcGJX7f8OXJRGG/nSA6TnNKd7q Df/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date; bh=0nIq3yA1+Dd9smV26oKCO1NYJkWEhRnPBzjFhE7W5Ac=; b=GGIsm6gva57agykp/fuKd2Aokd8Ueltdr1ouTrxiOq/+8eGvaBJcVlyjO8uk6PMCII nGVKvcywCB2lz90PV13mSuqCGmpoyRrj6GrnDGyASiKkabaHm+QN+vqxnIpafmc7BE+t qCJGjDoc5KCE7FHCjAQU51o7rYhS9HUcNkiNeRoslBCZ2AJ034ADvNueVUuMPrMMJPTv ThejXoSWCikEabAOfFV5EkWtlibNKlWOH3OXcieAW4dnt1pzEi5PfLwA2fpFuNQQEKz7 Y0ST0iRguaBZLkOE/8B2i1Gx4+IjNEejGKEesP9zdPUAOuX40OTSGr7z2JqbR5avUjRA pbrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si21198412pgp.54.2019.05.08.01.44.26; Wed, 08 May 2019 01:44:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbfEHIl6 (ORCPT + 99 others); Wed, 8 May 2019 04:41:58 -0400 Received: from smtp-out.xnet.cz ([178.217.244.18]:59492 "EHLO smtp-out.xnet.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbfEHIl6 (ORCPT ); Wed, 8 May 2019 04:41:58 -0400 Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id DD9AC47A7; Wed, 8 May 2019 10:41:53 +0200 (CEST) Received: from localhost (meh.true.cz [local]) by meh.true.cz (OpenSMTPD) with ESMTPA id a0fd15e7; Wed, 8 May 2019 10:41:52 +0200 (CEST) Date: Wed, 8 May 2019 10:41:52 +0200 From: Petr =?utf-8?Q?=C5=A0tetiar?= To: Rob Herring Cc: netdev , devicetree@vger.kernel.org, "David S. Miller" , Mark Rutland , Andrew Lunn , Vivien Didelot , Florian Fainelli , Yisen Zhuang , Salil Mehta , Woojung Huh , Microchip Linux Driver Support , Kunihiko Hayashi , Masahiro Yamada , Jassi Brar , Kalle Valo , Matthias Brugger , Heiner Kallweit , Frank Rowand , Srinivas Kandagatla , Maxime Ripard , "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-wireless , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH v4 02/10] dt-bindings: doc: reflect new NVMEM of_get_mac_address behaviour Message-ID: <20190508084152.GM81826@meh.true.cz> Reply-To: Petr =?utf-8?Q?=C5=A0tetiar?= References: <1556893635-18549-1-git-send-email-ynezz@true.cz> <1556893635-18549-3-git-send-email-ynezz@true.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Rob Herring [2019-05-07 11:44:57]: Hi, > > -- local-mac-address: the driver is designed to use the of_get_mac_address api > > - only if efuse-mac is 0. When efuse-mac is 0, the MAC > > - address is obtained from local-mac-address. If this > > - attribute is not present, then the driver will use a > > - random MAC address. > > - "netcp-device label": phandle to the device specification for each of NetCP > > sub-module attached to this interface. > > > > +The MAC address will be determined using the optional properties defined in > > +ethernet.txt, as provided by the of_get_mac_address API and only if efuse-mac > > Don't make references to Linux in bindings. You can talk about > expectations of client programs (e.g Linux, u-boot, BSD, etc.) though. I've just tried to reword what was already there, anyway, did I understood your remark properly, would this be more appropriate? The MAC address will be determined using the optional properties defined in ethernet.txt and only if efuse-mac is set to 0. If any of the optional MAC address properties are not present, then the driver will use random MAC address. Thanks! -- ynezz