Skip to content

Commit

Permalink
ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283
Browse files Browse the repository at this point in the history
Kirkwood 88F6282 and 88F6283 have a thermal sensor.
This patch adds a DT node and enables the driver in the kernel config.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Nobuhiro Iwamatsu authored and Jason Cooper committed Mar 12, 2013
1 parent 66bcb58 commit 590c96b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/kirkwood-6282.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
};
};

thermal@10078 {
compatible = "marvell,kirkwood-thermal";
reg = <0x10078 0x4>;
status = "okay";
};

i2c@11100 {
compatible = "marvell,mv64xxx-i2c";
reg = <0x11100 0x20>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/kirkwood_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ CONFIG_SPI=y
CONFIG_SPI_ORION=y
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_THERMAL=y
CONFIG_KIRKWOOD_THERMAL=y
CONFIG_WATCHDOG=y
CONFIG_ORION_WATCHDOG=y
CONFIG_HID_DRAGONRISE=y
Expand Down

0 comments on commit 590c96b

Please sign in to comment.