From: Andrew Lunn <andrew@lunn.ch>
To: Jason Cooper <jason@lakedaemon.net>, rui.zhang@intel.com
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@googlemail.com>,
linux ARM <linux-arm-kernel@lists.infradead.org>,
linux-pm@vger.kernel.org,
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,
Andrew Lunn <andrew@lunn.ch>
Subject: [PATCH v5 2/4] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283
Date: Wed, 6 Feb 2013 07:35:25 +0100 [thread overview]
Message-ID: <1360132527-22860-3-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1360132527-22860-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@10078 {
+ compatible = "marvell,kirkwood-thermal";
+ reg = <0x10078 0x4>;
+ status = "okay";
+ };
+
i2c@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-06 6:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 6:35 [PATCH v5 0/4] Kirkwood and Dove Thermal drivers Andrew Lunn
2013-02-06 6:35 ` [PATCH v5 1/4] thermal: Add support for the thermal sensor on Kirkwood SoCs Andrew Lunn
2013-02-08 7:24 ` Zhang Rui
2013-02-06 6:35 ` Andrew Lunn [this message]
2013-02-16 19:10 ` [PATCH v5 2/4] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283 Jason Cooper
2013-02-06 6:35 ` [PATCH v5 3/4] Thermal: Dove: Add Themal sensor support for Dove Andrew Lunn
2013-02-08 7:25 ` Zhang Rui
2013-02-06 6:35 ` [PATCH v5 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=1360132527-22860-3-git-send-email-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=iwamatsu@nigauri.org \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=sebastian.hesselbarth@googlemail.com \
/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).