All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Lm90 Enhancements
@ 2013-07-10 11:25 ` Wei Ni
  0 siblings, 0 replies; 40+ messages in thread
From: Wei Ni @ 2013-07-10 11:25 UTC (permalink / raw)
  To: khali-PUYAD+kWke1g9hUCZPvPmw, swarren-3lzwWm7+Weoh9ZMKESR00Q,
	linux-0h96xk9xTtrk1uMJSBkQmQ,
	thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
  Cc: lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Wei Ni

This patch set enhance the lm90 driver,
it make the driver more readable and easier to use thermal framework.

This series is v2, previous version patches:
[RFC]: http://thread.gmane.org/gmane.linux.power-management.general/31056
[v1]: http://thread.gmane.org/gmane.linux.ports.tegra/11710/

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) split set&show temp as common codes
  hwmon: (lm90) add support to handle IRQ.
  hwmon: (lm90) use enums for the indexes of temp8 and temp11

 drivers/hwmon/lm90.c |  374 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 253 insertions(+), 121 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 40+ messages in thread
* [PATCH v2 0/3] expose lm90 to thermal fw
@ 2014-03-04 11:31 Wei Ni
       [not found] ` <1393932664-13319-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 40+ messages in thread
From: Wei Ni @ 2014-03-04 11:31 UTC (permalink / raw)
  To: khali-PUYAD+kWke1g9hUCZPvPmw, linux-0h96xk9xTtrk1uMJSBkQmQ,
	swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA, Wei Ni

Expose lm90 to thermal framework via DT nodes.

Changes from v1:
1. remove the unnecessary log messages, per Guenter's request.
2. add thermal zones node for nct1008 on dalmore.

Wei Ni (3):
  hwmon: (lm90) split set&show temp as common codes
  hwmon: lm90: expose to thermal fw via DT nodes
  ARM: tegra: dalmore: add thermal zones for nct1008

 arch/arm/boot/dts/tegra114-dalmore.dts |   20 ++-
 drivers/hwmon/lm90.c                   |  222 ++++++++++++++++++++++++--------
 2 files changed, 186 insertions(+), 56 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2014-03-04 11:31 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 11:25 [PATCH v2 0/3] Lm90 Enhancements Wei Ni
2013-07-10 11:25 ` [lm-sensors] " Wei Ni
2013-07-10 11:25 ` Wei Ni
2013-07-10 11:25 ` [PATCH v2 1/3] hwmon: (lm90) split set&show temp as common codes Wei Ni
2013-07-10 11:25   ` [lm-sensors] " Wei Ni
2013-07-10 11:25   ` Wei Ni
     [not found]   ` <1373455539-2831-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-07-10 18:21     ` Guenter Roeck
2013-07-10 18:21       ` [lm-sensors] " Guenter Roeck
2013-07-10 18:21       ` Guenter Roeck
     [not found]       ` <20130710182154.GC22430-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-07-11  8:42         ` Wei Ni
2013-07-11  8:42           ` [lm-sensors] " Wei Ni
2013-07-11  8:42           ` Wei Ni
     [not found] ` <1373455539-2831-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-07-10 11:25   ` [PATCH v2 2/3] hwmon: (lm90) add support to handle IRQ Wei Ni
2013-07-10 11:25     ` [lm-sensors] " Wei Ni
2013-07-10 11:25     ` Wei Ni
     [not found]     ` <1373455539-2831-3-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-07-10 17:05       ` Thierry Reding
2013-07-10 17:05         ` [lm-sensors] " Thierry Reding
2013-07-10 17:05         ` Thierry Reding
     [not found]         ` <20130710170552.GA15665-RcKxWJ4Cfj3FNiLNb7+IINdj8bHVeoWogfoxzgwHRXE@public.gmane.org>
2013-07-10 18:12           ` Guenter Roeck
2013-07-10 18:12             ` [lm-sensors] " Guenter Roeck
2013-07-10 18:12             ` Guenter Roeck
     [not found]             ` <20130710181248.GA22430-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-07-10 18:49               ` Thierry Reding
2013-07-10 18:49                 ` [lm-sensors] " Thierry Reding
2013-07-10 18:49                 ` Thierry Reding
2013-07-11  8:36               ` Wei Ni
2013-07-11  8:36                 ` [lm-sensors] " Wei Ni
2013-07-11  8:36                 ` Wei Ni
2013-07-10 18:18       ` Guenter Roeck
2013-07-10 18:18         ` [lm-sensors] " Guenter Roeck
2013-07-10 18:18         ` Guenter Roeck
     [not found]         ` <20130710181820.GB22430-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-07-11  8:40           ` Wei Ni
2013-07-11  8:40             ` [lm-sensors] " Wei Ni
2013-07-11  8:40             ` Wei Ni
2013-07-10 11:25 ` [PATCH v2 3/3] hwmon: (lm90) use enums for the indexes of temp8 and temp11 Wei Ni
2013-07-10 11:25   ` [lm-sensors] " Wei Ni
2013-07-10 11:25   ` Wei Ni
2013-07-10 18:25   ` Guenter Roeck
2013-07-10 18:25     ` [lm-sensors] " Guenter Roeck
2014-03-04 11:31 [PATCH v2 0/3] expose lm90 to thermal fw Wei Ni
     [not found] ` <1393932664-13319-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-03-04 11:31   ` [PATCH v2 1/3] hwmon: (lm90) split set&show temp as common codes Wei Ni
2014-03-04 11:31     ` Wei Ni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.