diff mbox series

[v10,1/4] dt-binding: eeprom: at24: add vcc-supply property

Message ID 20200116025637.3524-2-bibby.hsieh@mediatek.com
State Not Applicable, archived
Headers show
Series add power control in i2c and at24 | expand

Commit Message

Bibby Hsieh Jan. 16, 2020, 2:56 a.m. UTC
In some platforms, they disable the power-supply of eeprom due
to power consumption reduction. This patch add vcc-supply property.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Bartosz Golaszewski Jan. 23, 2020, 11:56 a.m. UTC | #1
czw., 16 sty 2020 o 03:56 Bibby Hsieh <bibby.hsieh@mediatek.com> napisaƂ(a):
>
> In some platforms, they disable the power-supply of eeprom due
> to power consumption reduction. This patch add vcc-supply property.
>
> Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Patch applied.

Bartosz
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml
index e8778560d966..c04a3b8a6eba 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.yaml
+++ b/Documentation/devicetree/bindings/eeprom/at24.yaml
@@ -167,6 +167,10 @@  properties:
     minimum: 1
     maximum: 8
 
+  vcc-supply:
+    description:
+      phandle of the regulator that provides the supply voltage.
+
 required:
   - compatible
   - reg