Re: [PATCH net-next v3 1/2] devicetree: bindings: net: Add bindings doc for Sunplus SP7021.

From
Andrew Lunn <andrew@lunn.ch>
Date
2021-12-01 01:56:42
Also in
lkml, netdev
Reply to
Wells Lu, 2021-11-30
quoted hunk ↗ jump to hunk
+  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
Thread (14 messages) 14 messages, 4 authors, last reply 2021-12-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help