Skip to contentSkip to conversation

T4240RBD: add device tree entry for W83793

PATCH In review Florian Larysch 2 participants 4 messages Nov 17, 2016 – Nov 18, 2016 1 message not in the archive

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

v2 cover T4240RBD: add device tree entry for W83793

v2:
- Ordered DT nodes by address
- Added an entry for the chip to the trivial-devices list

Florian Larysch (2):
powerpc/dts: add device tree entry for W83793 on T4240RDB
DT: i2c: W83793 is a trivial device

 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 arch/powerpc/boot/dts/fsl/t4240rdb.dts                    | 4 ++++
 2 files changed, 5 insertions(+)
Signature · 1 line
2.10.2
#1 lore raw

PATCH v2 1/2 powerpc/dts: add device tree entry for W83793 on T4240RDB

The T4240RDB contains a W83793 hardware monitoring chip. Add a device tree entry to make the driver attach to it, as the i2c-mpc bus driver dropped support for class-based instantiation of devices a long time ago.

---
 arch/powerpc/boot/dts/fsl/t4240rdb.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/powerpc/boot/dts/fsl/t4240rdb.dts +4 -0
index cc0a264..8166c66 100644
@@ -125,6 +125,10 @@
 		};
 
 		i2c@118000 {
+			hwmon@2f {
+				compatible = "winbond,w83793";
+				reg = <0x2f>;
+			};
 			eeprom@52 {
 				compatible = "at24,24c256";
 				reg = <0x52>;
Signature · 1 line
2.10.2
#2 lore raw

PATCH v2 2/2 DT: i2c: W83793 is a trivial device

In reply to Florian Larysch
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -0
index fbbad64..c65aff0 100644
@@ -158,4 +158,5 @@ ti,tsc2003		I2C Touch-Screen Controller
 ti,tmp102		Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
 ti,tmp103		Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
 ti,tmp275		Digital Temperature Sensor
+winbond,w83793		Winbond/Nuvoton H/W Monitor
 winbond,wpct301		i2c trusted platform module (TPM)
Signature · 1 line
2.10.2

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#4 lore raw

Re: [PATCH v2 2/2] DT: i2c: W83793 is a trivial device

Quoted 4 lines · Florian Larysch
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html