Skip to content

Lm90 Enhancements

Wei Ni linux-tegra lkml lm-sensors 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 3/33 patches 10 repliesIn review
  2. v4 posting 2/31 patch 4 repliesSuperseded
  3. v4 posting 1/31 patch 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v34 patches37 repliesSuperseded
v23 patches9 repliesSuperseded

Changes in v4 from the cover letter

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.

Patches in v4 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (lm90) Define status bitsdrivers/hwmon/lm90.c+50 -254 replies
2/3hwmon: (lm90) add support to handle IRQdrivers/hwmon/lm90.c+23 -03 replies
3/3hwmon: (lm90) use enums for the indexes of temp8 and temp11drivers/hwmon/lm90.c+90 -641 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] Lm90 Enhancements

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/[email protected]/msg465555.html
[v3]: http://www.mail-archive.com/[email protected]/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(-)
Signature · 1 line
1.7.9.5