Dove: Thermal: Add DT node and enable in defconfig
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Feb 2013 06:35:27 +0000 (07:35 +0100)
committerJason Cooper <jason@lakedaemon.net>
Tue, 12 Mar 2013 11:33:22 +0000 (11:33 +0000)
Add a device tree node to instantiate the dove thermal driver.
Enable the driver and the thermal framework in dove_defconfig.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove.dtsi
arch/arm/configs/dove_defconfig

index 67dbe20868a2746638ef2e20c380633a1e6fbcfa..0056214935f4bf15fbc7558e91729b7c6be8a3e4 100644 (file)
                        #clock-cells = <1>;
                };
 
+               thermal: thermal@d001c {
+                       compatible = "marvell,dove-thermal";
+                       reg = <0xd001c 0x0c>, <0xd005c 0x08>;
+               };
+
                uart0: serial@12000 {
                        compatible = "ns16550a";
                        reg = <0x12000 0x100>;
index 3fe8dae8d32df9df58296701c9de71b86d2a3222..4364eff5b01ea79f95f9e31d82ec1ef22678eadf 100644 (file)
@@ -75,6 +75,8 @@ CONFIG_I2C_MV64XXX=y
 CONFIG_SPI=y
 CONFIG_SPI_ORION=y
 # CONFIG_HWMON is not set
+CONFIG_THERMAL=y
+CONFIG_DOVE_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_ROOT_HUB_TT=y