From: Wei Ni <wni@nvidia.com>
To: <khali@linux-fr.org>
Cc: <linux@roeck-us.net>, <lm-sensors@lm-sensors.org>,
<linux-kernel@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
Wei Ni <wni@nvidia.com>
Subject: [PATCH v4 0/3] Lm90 Enhancements
Date: Wed, 7 Aug 2013 14:18:23 +0800 [thread overview]
Message-ID: <1375856306-14415-1-git-send-email-wni@nvidia.com> (raw)
This patch set enhance the lm90 driver,
it make the driver more readable and easier to use thermal framework.
This series is v4, previous version patches:
[RFC]: http://thread.gmane.org/gmane.linux.power-management.general/31056
[v1]: http://thread.gmane.org/gmane.linux.ports.tegra/11710/
[v2]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg465555.html
[v3]: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg466772.html
Changes from v3:
1. remove the patch "hwmon: (lm90) split set&show temp as common codes",
and sent it as a separated one.
2. fix the bug of second read on STATUS register.
3. fix some code style issue according to Jean's comments.
Changes from v2:
1. update the defines for status bit, and go into a separate patch.
2. introduce the new lm90_is_tripped() for lm90_irq_thread and lm90_alert.
Changes from v1:
1. change the string "irq" to "IRQ"
2. add macro defines for the alarm status
3. consider the shared IRQ.
Changes from RFC:
1. change _show_temp() to read_temp(), _set_temp() to write_temp().
2. simply return value for the read_temp(), not use pointer.
3. use devm_request_threaded_irq() to request irq and set flag IRQF_ONESHOT.
Wei Ni (3):
hwmon: (lm90) Define status bits
hwmon: (lm90) add support to handle IRQ
hwmon: (lm90) use enums for the indexes of temp8 and temp11
drivers/hwmon/lm90.c | 252 ++++++++++++++++++++++++++++++++------------------
1 file changed, 163 insertions(+), 89 deletions(-)
--
1.7.9.5
next reply other threads:[~2013-08-07 6:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 6:18 Wei Ni [this message]
2013-08-07 6:18 ` [PATCH v4 1/3] hwmon: (lm90) Define status bits Wei Ni
2013-10-30 15:41 ` Jean Delvare
2013-10-30 17:03 ` Guenter Roeck
2013-10-31 2:47 ` Wei Ni
2013-10-31 3:09 ` Wei Ni
2013-08-07 6:18 ` [PATCH v4 2/3] hwmon: (lm90) add support to handle IRQ Wei Ni
2013-10-30 15:53 ` Jean Delvare
2013-11-04 9:34 ` Jean Delvare
2013-11-04 10:05 ` Wei Ni
2013-08-07 6:18 ` [PATCH v4 3/3] hwmon: (lm90) use enums for the indexes of temp8 and temp11 Wei Ni
2013-10-30 16:21 ` Jean Delvare
2013-09-09 6:16 ` [PATCH v4 0/3] Lm90 Enhancements Wei Ni
2013-09-09 7:42 ` Jean Delvare
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=1375856306-14415-1-git-send-email-wni@nvidia.com \
--to=wni@nvidia.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.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).