瀏覽代碼

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 年之前
父節點
當前提交
f2f5afd384
共有 1 個文件被更改,包括 2 次插入0 次删除
  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
 
+  - size: total eeprom size in bytes
+
 Example:
 
 eeprom@52 {