[PATCH] T4240RBD: add device tree entry for W83793
Florian Larysch
fl at n621.de
Mon Nov 14 23:28:05 AEDT 2016
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.
Signed-off-by: Florian Larysch <fl at n621.de>
---
arch/powerpc/boot/dts/fsl/t4240rdb.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/powerpc/boot/dts/fsl/t4240rdb.dts b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
index cc0a264..b35eea1 100644
--- a/arch/powerpc/boot/dts/fsl/t4240rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
@@ -142,6 +142,10 @@
reg = <0x68>;
interrupts = <0x1 0x1 0 0>;
};
+ hwmon at 2f {
+ compatible = "winbond,w83793";
+ reg = <0x2f>;
+ };
};
sdhc at 114000 {
--
2.10.2
More information about the Linuxppc-dev
mailing list