Skip to content

Commit

Permalink
Dove: Thermal: Add DT node and enable in defconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Lunn authored and Jason Cooper committed Mar 12, 2013
1 parent 590c96b commit c3117ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/dove.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
#clock-cells = <1>;
};

thermal: thermal@d001c {
compatible = "marvell,dove-thermal";
reg = <0xd001c 0x0c>, <0xd005c 0x08>;
};

uart0: serial@12000 {
compatible = "ns16550a";
reg = <0x12000 0x100>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/dove_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3117ed

Please sign in to comment.