linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon:ad7314 port from IIO.
@ 2011-09-28 12:57 Jonathan Cameron
  2011-09-28 12:57 ` [PATCH] hwmon: ad7314 driver (ported from IIO) Jonathan Cameron
  0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Cameron @ 2011-09-28 12:57 UTC (permalink / raw)
  To: lm-sensors; +Cc: linux-iio, Device-drivers-devel, Jonathan Cameron

I've been moaning about this driver along with the
adt7310, adt7410 and adt75 even since they were
submitted to IIO.  They are all simple temperature
sensors directed at hardware monitoring.

This ad7314 is a very simple part so I've simple
done the port without hardware.  The others are
much more complex beasts.

If anyone wants it more fully featured (for example
I've dropped the clunky support that was in the IIO
driver for powering down between samples) then feel
free to add it.

Main changes from IIO driver.

* dropped mode support
* rewrote the sign extension in temperature read function
  (that was 'interesting' before.)

I'll squish the IIO driver if / when this goes into hwmon.

Entirely plausible I've messed the port up completely so
please take a look!

Thanks,

Jonathan

Jonathan Cameron (1):
  hwmon: ad7314 driver (ported from IIO).

 drivers/hwmon/Kconfig  |   10 +++
 drivers/hwmon/Makefile |    1 +
 drivers/hwmon/ad7314.c |  181 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+), 0 deletions(-)
 create mode 100644 drivers/hwmon/ad7314.c

-- 
1.7.3.4

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

end of thread, other threads:[~2011-09-29 20:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 12:57 [PATCH] hwmon:ad7314 port from IIO Jonathan Cameron
2011-09-28 12:57 ` [PATCH] hwmon: ad7314 driver (ported from IIO) Jonathan Cameron
2011-09-28 16:03   ` [lm-sensors] " Guenter Roeck
2011-09-28 16:37     ` Jonathan Cameron
2011-09-29 12:11       ` [PATCH V2] " Jonathan Cameron
2011-09-29 15:36         ` Guenter Roeck
2011-09-29 16:37           ` Jonathan Cameron
2011-09-29 16:50             ` [PATCH V3] " Jonathan Cameron
2011-09-29 17:25               ` Guenter Roeck
2011-09-29 20:08                 ` Jonathan Cameron

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).