summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/eeprom
diff options
context:
space:
mode:
authorDivagar Mohandass <divagar.mohandass@intel.com>2017-10-10 09:00:35 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-10-18 00:31:43 +0300
commitf2f5afd3845c88e96e863ae31f6a7587906af0e6 (patch)
treedc81d56bf3c4681e7e305be3382d1d0d3b688f57 /Documentation/devicetree/bindings/eeprom
parent541527728341b4bb9a5e3428b0eec450f1b3d8d5 (diff)
downloadlinux-f2f5afd3845c88e96e863ae31f6a7587906af0e6.tar.xz
dt-bindings: add eeprom "size" property
This adds eeprom "size" as optional property for i2c eeproms. The "size" property allows explicitly specifying the size of the EEPROM chip in bytes. Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Divagar Mohandass <divagar.mohandass@intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/eeprom')
-rw-r--r--Documentation/devicetree/bindings/eeprom/eeprom.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt
index afc04589eadf..27f2bc15298a 100644
--- a/Documentation/devicetree/bindings/eeprom/eeprom.txt
+++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt
@@ -36,6 +36,8 @@ Optional properties:
- read-only: this parameterless property disables writes to the eeprom
+ - size: total eeprom size in bytes
+
Example:
eeprom@52 {