śr., 16 paź 2019 o 10:40 Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> napisał(a): > > śr., 16 paź 2019 o 09:51 Bibby Hsieh <bibby.hsieh@xxxxxxxxxxxx> napisał(a): > > > > 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. > > The pin is called vcc in the datasheet, I think it would be better to > reflect that here. > > Bart > > > + > > + - i2c-supply: phandle to the regulator that provides power to i2c. > > + > > Example: > > > > eeprom@52 { > > -- > > 2.18.0 > > Hi Bibby, I noticed that my patch converting the at24 bindings to yaml is in next now - please add this change on top of current next right away as it will conflict during merge window. Bart