]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: add eeprom "size" property
authorDivagar Mohandass <divagar.mohandass@intel.com>
Tue, 10 Oct 2017 06:00:35 +0000 (11:30 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 17 Oct 2017 21:31:43 +0000 (23:31 +0200)
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>
Documentation/devicetree/bindings/eeprom/eeprom.txt

index afc04589eadf35bbe2e339b79f07701225648140..27f2bc15298a46fca155273ce79d5cad415c3f24 100644 (file)
@@ -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 {