[PATCH linux dev-4.10 v2] arm: dts: aspeed: Add IR35221 instances to dev tree

Joel Stanley joel at jms.id.au
Wed May 24 10:58:57 AEST 2017


On Sat, May 20, 2017 at 3:34 AM, Christopher Bostic
<cbostic at linux.vnet.ibm.com> wrote:
> Add IR35221 to i2c4 and i2c5 buses.

This is similar to the patch that I sent on the 2nd.

I took your patch as it adds the device at 0x71 which I did not know about.

Cheers,

Joel


>
> Signed-off-by: Christopher Bostic <cbostic at linux.vnet.ibm.com>
> ---
> V2 - Convert I2C bus addresses to 7 bit right aligned.
>    - Add IR35221 to device tree documentation.
> ---
>  .../devicetree/bindings/i2c/trivial-devices.txt      |  1 +
>  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts     | 20 ++++++++++++++++++++
>  2 files changed, 21 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
> index cdd7b48..d504271 100644
> --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
> +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
> @@ -53,6 +53,7 @@ fsl,sgtl5000          SGTL5000: Ultra Low-Power Audio Codec
>  gmt,g751               G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
>  infineon,slb9635tt     Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
>  infineon,slb9645tt     Infineon SLB9645 I2C TPM (new protocol, max 400khz)
> +infineon,ir35221       Infineon IR35221 Digital DC-DC Multiphase Converter
>  isil,isl29028          Intersil ISL29028 Ambient Light and Proximity Sensor
>  maxim,ds1050           5 Bit Programmable, Pulse-Width Modulator
>  maxim,max1237          Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index 5d83a76..b0338db 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -394,6 +394,16 @@
>                 compatible = "ti,tmp423";
>                 reg = <0x4c>;
>         };
> +
> +       ir35221 at 70 {
> +               compatible = "infineon,ir35221";
> +               reg = <0x70>;
> +       };
> +
> +       ir35221 at 71 {
> +               compatible = "infineon,ir35221";
> +               reg = <0x71>;
> +       };
>  };
>
>
> @@ -408,6 +418,16 @@
>                 compatible = "ti,tmp423";
>                 reg = <0x4c>;
>         };
> +
> +       ir35221 at 70 {
> +               compatible = "infineon,ir35221";
> +               reg = <0x70>;
> +       };
> +
> +       ir35221 at 71 {
> +               compatible = "infineon,ir35221";
> +               reg = <0x71>;
> +       };
>  };
>
>  &i2c6 {
> --
> 1.8.2.2
>


More information about the openbmc mailing list