diff options
author | Divagar Mohandass <divagar.mohandass@intel.com> | 2017-10-10 09:00:35 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-10-18 00:31:43 +0300 |
commit | f2f5afd3845c88e96e863ae31f6a7587906af0e6 (patch) | |
tree | dc81d56bf3c4681e7e305be3382d1d0d3b688f57 | |
parent | 541527728341b4bb9a5e3428b0eec450f1b3d8d5 (diff) | |
download | linux-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>
-rw-r--r-- | Documentation/devicetree/bindings/eeprom/eeprom.txt | 2 |
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 { |