diff mbox series

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

Message ID 1512750511-24505-3-git-send-email-svendev@arcx.com
State Not Applicable, archived
Headers show
Series at24: support eeproms that do not auto-rollover reads. | expand

Commit Message

Sven Van Asbroeck Dec. 8, 2017, 4:28 p.m. UTC
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>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/eeprom/at24.txt | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Bartosz Golaszewski Dec. 8, 2017, 5:22 p.m. UTC | #1
2017-12-08 17:28 GMT+01:00 Sven Van Asbroeck <svendev@arcx.com>:
> 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>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/eeprom/at24.txt | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt
> index 27f2bc1..a0415b8 100644
> --- a/Documentation/devicetree/bindings/eeprom/at24.txt
> +++ b/Documentation/devicetree/bindings/eeprom/at24.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 {
> --
> 1.9.1
>

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt
index 27f2bc1..a0415b8 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.txt
+++ b/Documentation/devicetree/bindings/eeprom/at24.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 {