Patchwork [v6,2/2] dt-bindings: add eeprom "no-read-rollover" property

login
register
mail settings
Submitter Sven Van Asbroeck
Date Dec. 7, 2017, 7:26 p.m.
Message ID <1512674779-10349-3-git-send-email-svendev@arcx.com>
Download mbox | patch
Permalink /patch/10100901/
State New
Headers show

Comments

Sven Van Asbroeck - Dec. 7, 2017, 7:26 p.m.
Adds an optional property for at24 eeproms.
This parameterless property indicates that the multi-address eeprom
does not automatically roll over reads to the next slave address.

Signed-off-by: Sven Van Asbroeck <svendev@arcx.com>
---
 Documentation/devicetree/bindings/eeprom/eeprom.txt | 5 +++++
 1 file changed, 5 insertions(+)
Rob Herring - Dec. 7, 2017, 11:51 p.m.
On Thu, Dec 7, 2017 at 1:26 PM, Sven Van Asbroeck <svendev@arcx.com> wrote:
> Adds an optional property for at24 eeproms.
> This parameterless property indicates that the multi-address eeprom
> does not automatically roll over reads to the next slave address.
>
> Signed-off-by: Sven Van Asbroeck <svendev@arcx.com>
> ---
>  Documentation/devicetree/bindings/eeprom/eeprom.txt | 5 +++++
>  1 file changed, 5 insertions(+)

I acked v5. Please add acks/reviewed-bys when posting new versions.

Rob

Patch

diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt
index 27f2bc1..5bfc0ac 100644
--- a/Documentation/devicetree/bindings/eeprom/eeprom.txt
+++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt
@@ -38,6 +38,11 @@  Optional properties:
 
   - size: total eeprom size in bytes
 
+  - no-read-rollover:
+			This parameterless property indicates that the multi-address
+			eeprom does not automatically roll over reads to the next
+			slave address. Please consult the manual of your device.
+
 Example:
 
 eeprom@52 {