Skip to contentSkip to conversation

arm: dts: aspeed: Add IR35221 instances to dev tree

PATCH Superseded Christopher Bostic 1 participant 2 messages May 18, 2017

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: aspeed: Add IR35221 instances to dev tree

Add IR35221 to i2c4 and i2c5 buses.

---
 .../devicetree/bindings/i2c/trivial-devices.txt      |  1 +
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts     | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -0
index cdd7b48..d504271 100644
@@ -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
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +20 -0
index f20aaf4..64a6bb9 100644
@@ -213,6 +213,16 @@
 		compatible = "ti,tmp423";
 		reg = <0x4c>;
 	};
+
+	ir35221@e0 {
+		compatible = "infineon,ir35221";
+		reg = <0xe0>;
+	};
+
+	ir35221@e2 {
+		compatible = "infineon,ir35221";
+		reg = <0xe2>;
+	};
 };
 
 
@@ -227,6 +237,16 @@
 		compatible = "ti,tmp423";
 		reg = <0x4c>;
 	};
+
+	ir35221@e0 {
+		compatible = "infineon,ir35221";
+		reg = <0xe0>;
+	};
+
+	ir35221@e2 {
+		compatible = "infineon,ir35221";
+		reg = <0xe2>;
+	};
 };
 
 &i2c6 {
Signature · 1 line
1.8.2.2
#1 lore raw
Quoted 25 lines · Christopher Bostic

Add IR35221 to i2c4 and i2c5 buses.

---
  .../devicetree/bindings/i2c/trivial-devices.txt      |  1 +
  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts     | 20 ++++++++++++++++++++
  2 files changed, 21 insertions(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -0
index cdd7b48..d504271 100644
@@ -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
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +0 -0
index f20aaf4..64a6bb9 100644

arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts line 219

Quoted 7 lines
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +4 -0
@@ -213,6 +213,16 @@
  		compatible = "ti,tmp423";
  		reg = <0x4c>;
  	};
+
+	ir35221@e0 {
+		compatible = "infineon,ir35221";
+		reg = <0xe0>;

Address formatting needs to be updated for 7 bit right aligned. Will fix in v2.

-Chris.

Quoted 26 lines
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +16 -0
+	};
+
+	ir35221@e2 {
+		compatible = "infineon,ir35221";
+		reg = <0xe2>;
+	};
  };
 
 
@@ -227,6 +237,16 @@
  		compatible = "ti,tmp423";
  		reg = <0x4c>;
  	};
+
+	ir35221@e0 {
+		compatible = "infineon,ir35221";
+		reg = <0xe0>;
+	};
+
+	ir35221@e2 {
+		compatible = "infineon,ir35221";
+		reg = <0xe2>;
+	};
  };
 
  &i2c6 {