]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
powerpc/dts: add device tree entry for W83793 on T4240RDB
authorFlorian Larysch <fl@n621.de>
Thu, 17 Nov 2016 10:23:23 +0000 (11:23 +0100)
committerScott Wood <oss@buserror.net>
Tue, 22 Nov 2016 07:26:48 +0000 (01:26 -0600)
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@n621.de>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/boot/dts/fsl/t4240rdb.dts

index cc0a264b8acb3bb234d2a4e73ed5477d2d55c948..8166c660712a42c721403cd98262b9c74309dd82 100644 (file)
                };
 
                i2c@118000 {
+                       hwmon@2f {
+                               compatible = "winbond,w83793";
+                               reg = <0x2f>;
+                       };
                        eeprom@52 {
                                compatible = "at24,24c256";
                                reg = <0x52>;