Browse Source

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>
Divagar Mohandass 7 years ago
parent
commit
f2f5afd384
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Documentation/devicetree/bindings/eeprom/eeprom.txt

+ 2 - 0
Documentation/devicetree/bindings/eeprom/eeprom.txt

@@ -36,6 +36,8 @@ Optional properties:
 
 
   - read-only: this parameterless property disables writes to the eeprom
   - read-only: this parameterless property disables writes to the eeprom
 
 
+  - size: total eeprom size in bytes
+
 Example:
 Example:
 
 
 eeprom@52 {
 eeprom@52 {