diff mbox series

[v14,1/2] dt-binding: i2c: add bus-supply property

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

Checks

Context Check Description
robh/checkpatch success

Commit Message

Bibby Hsieh April 28, 2020, 6:18 a.m. UTC
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>
---
 Documentation/devicetree/bindings/i2c/i2c.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring (Arm) April 28, 2020, 3:02 p.m. UTC | #1
On Tue, 28 Apr 2020 14:18:12 +0800, Bibby Hsieh wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/i2c/i2c.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 

Please add Acked-by/Reviewed-by tags when posting new versions. However,
there's no need to repost patches *only* to add the tags. The upstream
maintainer will do that for acks received on the version they apply.

If a tag was not added on purpose, please state why and what changed.
Wolfram Sang May 19, 2020, 6:53 a.m. UTC | #2
On Tue, Apr 28, 2020 at 02:18:12PM +0800, Bibby Hsieh wrote:
> 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>

Applied to for-next, thanks! +1 for the comments Rob made, please add
given tags if you didn't make further changes.
Wolfram Sang May 19, 2020, 7 a.m. UTC | #3
On Tue, May 19, 2020 at 08:53:23AM +0200, Wolfram Sang wrote:
> On Tue, Apr 28, 2020 at 02:18:12PM +0800, Bibby Hsieh wrote:
> > 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>
> 
> Applied to for-next, thanks! +1 for the comments Rob made, please add
> given tags if you didn't make further changes.

Waiting for v15 because I found issues in patch 2, so remoeved again.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/i2c/i2c.txt b/Documentation/devicetree/bindings/i2c/i2c.txt
index 9a53df4243c6..e6b5aafc5dc9 100644
--- a/Documentation/devicetree/bindings/i2c/i2c.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c.txt
@@ -98,6 +98,9 @@  wants to support one of the below features, it should adapt the bindings below.
 	Names of map programmable addresses.
 	It can contain any map needing another address than default one.
 
+- bus-supply
+	phandle to the regulator that provides power to SCL/SDA.
+
 Binding may contain optional "interrupts" property, describing interrupts
 used by the device. I2C core will assign "irq" interrupt (or the very first
 interrupt if not using interrupt names) as primary interrupt for the slave.