| From 4fc67a9516c3251ba882f86d7257a987b95cccb0 Mon Sep 17 00:00:00 2001 |
| From: Divagar Mohandass <divagar.mohandass@intel.com> |
| Date: Tue, 10 Oct 2017 11:30:35 +0530 |
| Subject: [PATCH 0409/1795] 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> |
| (cherry picked from commit f2f5afd3845c88e96e863ae31f6a7587906af0e6) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| Documentation/devicetree/bindings/eeprom/eeprom.txt | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| 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 { |
| -- |
| 2.19.0 |
| |