aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/eeprom
diff options
context:
space:
mode:
authorDivagar Mohandass <divagar.mohandass@intel.com>2017-10-10 11:30:35 +0530
committerWolfram Sang <wsa@the-dreams.de>2017-10-17 23:31:43 +0200
commitf2f5afd3845c88e96e863ae31f6a7587906af0e6 (patch)
treedc81d56bf3c4681e7e305be3382d1d0d3b688f57 /Documentation/devicetree/bindings/eeprom
parentPM: i2c-designware-platdrv: Suspend/resume at the late/early stages (diff)
downloadlinux-dev-f2f5afd3845c88e96e863ae31f6a7587906af0e6.tar.xz
linux-dev-f2f5afd3845c88e96e863ae31f6a7587906af0e6.zip
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 {