Commit 51828950 authored by Petr Štetiar's avatar Petr Štetiar Committed by David S. Miller
Browse files

dt-bindings: doc: net: remove Linux API references



In commit 687e3d55 ("dt-bindings: doc: reflect new NVMEM
of_get_mac_address behaviour") I've kept or added references to Linux
of_get_mac_address API which is unwanted so this patch fixes that by
removing those references.

Fixes: 687e3d55 ("dt-bindings: doc: reflect new NVMEM of_get_mac_address behaviour")
Suggested-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26574986
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -139,9 +139,9 @@ Optional properties:
			sub-module attached to this interface.
			sub-module attached to this interface.


The MAC address will be determined using the optional properties defined in
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
ethernet.txt and only if efuse-mac is set to 0. If all of the optional MAC
is set to 0. If any of the optional MAC address properties are not present,
address properties are not present, then the driver will use a random MAC
then the driver will use random MAC address.
address.


Example binding:
Example binding:


+2 −2
Original line number Original line Diff line number Diff line
@@ -16,8 +16,8 @@ Optional properties:
- ieee80211-freq-limit: See ieee80211.txt
- ieee80211-freq-limit: See ieee80211.txt
- mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data
- mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data


The driver is using of_get_mac_address API, so the MAC address can be as well
The MAC address can as well be set with corresponding optional properties
be set with corresponding optional properties defined in net/ethernet.txt.
defined in net/ethernet.txt.


Optional nodes:
Optional nodes:
- led: Properties for a connected LED
- led: Properties for a connected LED