lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cafbb308e5554fa2ab5db4ffe01a777d@sphcmbx02.sunplus.com.tw>
Date:   Wed, 1 Dec 2021 07:02:19 +0000
From:   Wells Lu 呂芳騰 <wells.lu@...plus.com>
To:     Andrew Lunn <andrew@...n.ch>, Wells Lu <wellslutw@...il.com>
CC:     "davem@...emloft.net" <davem@...emloft.net>,
        "kuba@...nel.org" <kuba@...nel.org>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
        Vincent Shih 施錕鴻 <vincent.shih@...plus.com>
Subject: RE: [PATCH net-next v3 1/2] devicetree: bindings: net: Add bindings
 doc for Sunplus SP7021.

Hi Andrew,

Thank you very much for review.

I'll move properties nvmem-cells and nvmem-cell-names to ethernet ports
and change value of nvmem-cell-names to "mac-address" next patch.

I'll refer to "nvmem_get_mac_address()" when modifying code.


Best regards,
Wells


> > +  nvmem-cells:
> > +    items:
> > +      - description: nvmem cell address of MAC address of 1st MAC
> > +      - description: nvmem cell address of MAC address of 2nd MAC
> > +
> > +  nvmem-cell-names:
> > +    description: names corresponding to the nvmem cells of MAC address
> > +    items:
> > +      - const: mac_addr0
> > +      - const: mac_addr1
> 
> These are port properties, so put them in the port section.
> 
> Also, the name you should use is well defined, "mac-address".  See nvmem_get_mac_address().
> But you won't be able to use that helper because it take dev, not an of node.
> 
> 	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ