lkml.org 
[lkml]   [2017]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] dt-bindings: i2c: eeprom: document "mac-offset" binding
Date
Document "mac-offset" binding that will be used by at24 EEPROM driver.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Documentation/devicetree/bindings/eeprom/eeprom.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt
index a50dc01..3dd267c 100644
--- a/Documentation/devicetree/bindings/eeprom/eeprom.txt
+++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt
@@ -35,10 +35,13 @@ Optional properties:

- read-only: this parameterless property disables writes to the eeprom

+ - mac-offset: offset in EEPROM where MAC address starts
+
Example:

eeprom@52 {
compatible = "atmel,24c32";
reg = <0x52>;
pagesize = <32>;
+ mac-offset = <0xf8>;
};
--
2.7.4
\
 
 \ /
  Last update: 2017-07-06 12:18    [W:0.051 / U:10.948 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site