From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/4] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283
Date: Sat, 2 Feb 2013 15:35:47 +0100 [thread overview]
Message-ID: <1359815749-27705-3-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1359815749-27705-1-git-send-email-andrew@lunn.ch>
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
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>
---
arch/arm/boot/dts/kirkwood-6282.dtsi | 6 ++++++
arch/arm/configs/kirkwood_defconfig | 2 ++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood-6282.dtsi b/arch/arm/boot/dts/kirkwood-6282.dtsi
index 4ccea21..bd168b6 100644
--- a/arch/arm/boot/dts/kirkwood-6282.dtsi
+++ b/arch/arm/boot/dts/kirkwood-6282.dtsi
@@ -32,6 +32,12 @@
};
};
+ thermal at 10078 {
+ compatible = "marvell,kirkwood-thermal";
+ reg = <0x10078 0x4>;
+ status = "okay";
+ };
+
i2c at 11100 {
compatible = "marvell,mv64xxx-i2c";
reg = <0x11100 0x20>;
diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig
index 93f3794..3d8667f 100644
--- a/arch/arm/configs/kirkwood_defconfig
+++ b/arch/arm/configs/kirkwood_defconfig
@@ -118,6 +118,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
--
1.7.10.4
next prev parent reply other threads:[~2013-02-02 14:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-02 14:35 [PATCH v3 0/4] Kirkwood and Dove Thermal drivers Andrew Lunn
2013-02-02 14:35 ` [PATCH v3 1/4] thermal: Add support for the thermal sensor on Kirkwood SoCs Andrew Lunn
2013-02-04 2:49 ` Zhang Rui
2013-02-04 19:19 ` [PATCH v4 0/4] Kirkwood and Dove Thermal drivers Andrew Lunn
2013-02-04 19:19 ` [PATCH v4 1/4] thermal: Add support for the thermal sensor on Kirkwood SoCs Andrew Lunn
2013-02-05 17:10 ` Ezequiel Garcia
2013-02-04 19:19 ` [PATCH v4 2/4] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283 Andrew Lunn
2013-02-04 19:19 ` [PATCH v4 3/4] Thermal: Dove: Add Themal sensor support for Dove Andrew Lunn
2013-02-05 17:09 ` Ezequiel Garcia
2013-02-05 17:32 ` Andrew Lunn
2013-02-04 19:19 ` [PATCH v4 4/4] Dove: Thermal: Add DT node and enable in defconfig Andrew Lunn
2013-02-02 14:35 ` Andrew Lunn [this message]
2013-02-04 3:14 ` [PATCH v3 2/4] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283 Zhang Rui
2013-02-04 14:19 ` Jason Cooper
2013-02-08 7:31 ` Zhang Rui
2013-02-08 14:33 ` Jason Cooper
2013-02-02 14:35 ` [PATCH v3 3/4] Thermal: Dove: Add Themal sensor support for Dove Andrew Lunn
2013-02-02 14:35 ` [PATCH v3 4/4] Dove: Thermal: Add DT node and enable in defconfig Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359815749-27705-3-git-send-email-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).