Skip to contentSkip to conversation

PowerPC: MPC85xx: TQM85xx: add i2c device nodes for LM75

PATCH Applied Wolfgang Grandegger 2 participants 2 messages Jan 29, 2009 – Feb 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PowerPC: MPC85xx: TQM85xx: add i2c device nodes for LM75

Automatic I2C device probing is not done any more. Therefore we need proper DTS device node definitions for the I2C LM75 thermal sensor on the TQM85xx modules.

---
 arch/powerpc/boot/dts/tqm8540.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8541.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    5 +++++
 arch/powerpc/boot/dts/tqm8548.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8555.dts          |    5 +++++
 arch/powerpc/boot/dts/tqm8560.dts          |    5 +++++
 6 files changed, 30 insertions(+)
arch/powerpc/boot/dts/tqm8548.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8548.dts
===================================================================
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
arch/powerpc/boot/dts/tqm8540.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8540.dts
===================================================================
@@ -84,6 +84,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
arch/powerpc/boot/dts/tqm8541.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8541.dts
===================================================================
@@ -83,6 +83,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
arch/powerpc/boot/dts/tqm8548-bigflash.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8548-bigflash.dts
===================================================================
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
arch/powerpc/boot/dts/tqm8555.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8555.dts
===================================================================
@@ -83,6 +83,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
arch/powerpc/boot/dts/tqm8560.dts +5 -0
Index: linux-2.6/arch/powerpc/boot/dts/tqm8560.dts
===================================================================
@@ -85,6 +85,11 @@
 			interrupt-parent = <&mpic>;
 			dfsrr;
 
+			dtt@50 {
+				compatible = "national,lm75";
+				reg = <0x50>;
+			};
+
 			rtc@68 {
 				compatible = "dallas,ds1337";
 				reg = <0x68>;
Applied
#1 lore raw
Quoted 5 lines · Wolfgang Grandegger

Automatic I2C device probing is not done any more. Therefore we need proper DTS device node definitions for the I2C LM75 thermal sensor on the TQM85xx modules.

Quoted 8 lines

---

arch/powerpc/boot/dts/tqm8540.dts          |    5 +++++
arch/powerpc/boot/dts/tqm8541.dts          |    5 +++++
arch/powerpc/boot/dts/tqm8548-bigflash.dts |    5 +++++
arch/powerpc/boot/dts/tqm8548.dts          |    5 +++++
arch/powerpc/boot/dts/tqm8555.dts          |    5 +++++
arch/powerpc/boot/dts/tqm8560.dts          |    5 +++++
6 files changed, 30 insertions(+)

applied to next

- k