[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1498736351-9021-4-git-send-email-claudiu.beznea@microchip.com>
Date: Thu, 29 Jun 2017 14:39:11 +0300
From: Claudiu Beznea <claudiu.beznea@...rochip.com>
To: <robh+dt@...nel.org>, <mark.rutland@....com>, <nsekhar@...com>,
<david@...hnology.com>, <wsa@...-dreams.de>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-i2c@...r.kernel.org>, <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>
Subject: [RFC PATCH 3/3] dt-bindings: i2c: eeprom: document "start-offset" binding
Document "start-offset" binding that will be used by at24
EEPROM driver.
Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.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..e0bec50 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
+ - start-offset: offset in EEPROM to start reading from
+
Example:
eeprom@52 {
compatible = "atmel,24c32";
reg = <0x52>;
pagesize = <32>;
+ start-offset = /bits/ 8 <0xf8>;
};
--
2.7.4
Powered by blists - more mailing lists