Re: [PATCH v4 2/2] dt-bindings: add eeprom "at24,no-read-rollover" property

From: Rob Herring
Date: Wed Dec 06 2017 - 17:04:12 EST


On Tue, Dec 05, 2017 at 10:23:42AM -0500, Sven Van Asbroeck 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@xxxxxxxx>
> ---
> Documentation/devicetree/bindings/eeprom/eeprom.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> 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
>
> + - at24,no-read-rollover:

at24 is not a vendor prefix. Either this is atmel specific and you want
atmel,no-read-rollover or it is for all vendors at24 compatible eeproms
and you want at24-no-read-rollover. Or just drop the at24 if this
binding is in fact for just at24 eeproms as none of the other properties
has at24 in them.

> + 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
>