diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2020-01-29 21:56:36 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-01-29 21:56:36 +0100 |
commit | 6810df46c41879eba8437ab020c7abf5d1db827e (patch) | |
tree | a9af691033e81bd6396a63b29a323296df69c2bf /Documentation/devicetree/bindings/nvmem | |
parent | i2c: xiic: fix indentation issue (diff) | |
parent | misc: eeprom: at24: support pm_runtime control (diff) | |
download | linux-6810df46c41879eba8437ab020c7abf5d1db827e.tar.xz linux-6810df46c41879eba8437ab020c7abf5d1db827e.zip |
Merge tag 'at24-updates-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-5.6
at24 updates for linux v5.6
- minor maintenance: update the license tag, sort headers
- move support for the write-protect pin into nvmem core
- add a reference to the new wp-gpios property in nvmem to at25 bindings
- add support for regulator and pm_runtime control
Diffstat (limited to 'Documentation/devicetree/bindings/nvmem')
-rw-r--r-- | Documentation/devicetree/bindings/nvmem/nvmem.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml index 1c75a059206c..b43c6c65294e 100644 --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml @@ -34,6 +34,14 @@ properties: description: Mark the provider as read only. + wp-gpios: + description: + GPIO to which the write-protect pin of the chip is connected. + The write-protect GPIO is asserted, when it's driven high + (logical '1') to block the write operation. It's deasserted, + when it's driven low (logical '0') to allow writing. + maxItems: 1 + patternProperties: "^.*@[0-9a-f]+$": type: object @@ -63,9 +71,12 @@ patternProperties: examples: - | + #include <dt-bindings/gpio/gpio.h> + qfprom: eeprom@700000 { #address-cells = <1>; #size-cells = <1>; + wp-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; /* ... */ |