[PATCH v1] dt-binding: eeprom: at24: add supply properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In some platforms, they disable the power-supply of eeprom
and i2c due to power consumption reduction.

This patch add two supply properties: power-supply, i2c-supply.

Signed-off-by: Bibby Hsieh <bibby.hsieh@xxxxxxxxxxxx>
---
 Documentation/devicetree/bindings/eeprom/at24.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt
index 22aead844d0f..71a534577bcf 100644
--- a/Documentation/devicetree/bindings/eeprom/at24.txt
+++ b/Documentation/devicetree/bindings/eeprom/at24.txt
@@ -78,6 +78,10 @@ Optional properties:
 
   - num-addresses: total number of i2c slave addresses this device takes
 
+  - power-supply: phandle of the regulator that provides the supply voltage.
+
+  - i2c-supply: phandle to the regulator that provides power to i2c.
+
 Example:
 
 eeprom@52 {
-- 
2.18.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux