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

Christopher Bostic cbostic at linux.vnet.ibm.com
Fri May 19 06:49:35 AEST 2017



On 5/18/17 2:37 PM, Christopher Bostic wrote:
> Add IR35221 to i2c4 and i2c5 buses.
>
> Signed-off-by: Christopher Bostic <cbostic at linux.vnet.ibm.com>
> ---
>   .../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 f20aaf4..64a6bb9 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -213,6 +213,16 @@
>   		compatible = "ti,tmp423";
>   		reg = <0x4c>;
>   	};
> +
> +	ir35221 at e0 {
> +		compatible = "infineon,ir35221";
> +		reg = <0xe0>;
Address formatting needs to be updated for 7 bit right aligned. Will fix 
in v2.

-Chris.
> +	};
> +
> +	ir35221 at e2 {
> +		compatible = "infineon,ir35221";
> +		reg = <0xe2>;
> +	};
>   };
>
>
> @@ -227,6 +237,16 @@
>   		compatible = "ti,tmp423";
>   		reg = <0x4c>;
>   	};
> +
> +	ir35221 at e0 {
> +		compatible = "infineon,ir35221";
> +		reg = <0xe0>;
> +	};
> +
> +	ir35221 at e2 {
> +		compatible = "infineon,ir35221";
> +		reg = <0xe2>;
> +	};
>   };
>
>   &i2c6 {



More information about the openbmc mailing list