summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/i2c
diff options
context:
space:
mode:
authorBibby Hsieh <bibby.hsieh@mediatek.com>2020-05-19 15:27:28 +0800
committerWolfram Sang <wsa@kernel.org>2020-05-20 15:25:55 +0200
commit6aab46bc52a8f579879d491c9d8062e03caa5c61 (patch)
tree2276056d1f27bdd65415728768f4d7aac79f73d2 /Documentation/devicetree/bindings/i2c
parentdf7b4d6f7d5fff53d4dcf8d972f331dbbb7d49e0 (diff)
downloadlinux-6aab46bc52a8f579879d491c9d8062e03caa5c61.tar.bz2
dt-binding: i2c: add bus-supply property
In some platforms, they disable the power-supply of i2c due to power consumption reduction. This patch add bus-supply property. Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> [wsa: rebased to i2c/for-next] Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c.txt b/Documentation/devicetree/bindings/i2c/i2c.txt
index 819436b48fae..7aff425c099b 100644
--- a/Documentation/devicetree/bindings/i2c/i2c.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c.txt
@@ -23,6 +23,9 @@ Optional properties (per bus)
These properties may not be supported by all drivers. However, if a driver
wants to support one of the below features, it should adapt these bindings.
+- bus-supply
+ phandle to the regulator that provides power to SCL/SDA.
+
- clock-frequency
frequency of bus clock in Hz.