Message ID | 20200428061813.27072-2-bibby.hsieh@mediatek.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | add power control in i2c | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
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.
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.
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 --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.
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(+)