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

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

 



ś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
>




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux