Commit 6c57a664 authored by Khouloud Touil's avatar Khouloud Touil Committed by Bartosz Golaszewski

dt-bindings: at24: make wp-gpios a reference to the property defined by nvmem

NVMEM framework is an interface for the at24 EEPROMs as well as for
other drivers, instead of passing the wp-gpios over the different
drivers each time, it would be better to pass it over the NVMEM
subsystem once and for all.

Making wp-gpios a reference to the property defined by nvmem.
Signed-off-by: default avatarKhouloud Touil <ktouil@baylibre.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 2a127da4
...@@ -145,10 +145,7 @@ properties: ...@@ -145,10 +145,7 @@ properties:
over reads to the next slave address. Please consult the manual of over reads to the next slave address. Please consult the manual of
your device. your device.
wp-gpios: wp-gpios: true
description:
GPIO to which the write-protect pin of the chip is connected.
maxItems: 1
address-width: address-width:
allOf: allOf:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment