linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: (lm85) add LM96000 high freqency pwm support
@ 2019-01-29 21:29 Jeremy Gebben
  2019-01-29 23:38 ` Guenter Roeck
  2019-01-30 16:14 ` [PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes Jeremy Gebben
  0 siblings, 2 replies; 7+ messages in thread
From: Jeremy Gebben @ 2019-01-29 21:29 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, linux-hwmon, linux-kernel

Hi,

This patch adds support for the PWM frequencies from 22.5 to 30 kHz
available on the LM96000.

It looks like this chip has been supported for a long time, but wasn't
mentioned in the docs (which I have updated).

Also, it has been using the generic 'lm85' prefix, which I have not
changed to avoid breaking userspace or device tree files. AFAICT,
lm85_detect() will only return 'lm85' for LM96000 chips, so it doesn't
look like you can get a bare 'lm85' prefix with any other chips.

I stumbled on to a 10 year old thread discussing a patch which looks
like an early attempt to add support for this chip, which may be of
interest:
https://lm-sensors.lm-sensors.narkive.com/1SIwaMDT/patch-hwmon-lm96000-support

Thanks for reviewing,

Jeremy


Jeremy Gebben (3):
  hwmon: (lm85) remove freq_map size hardcodes
  hwmon: (lm85) Document the LM96000 as supported
  hwmon: (lm85) add support for LM96000 high frequencies

 Documentation/hwmon/lm85 |  9 ++++++++-
 drivers/hwmon/lm85.c     | 32 ++++++++++++++++++++++----------
 2 files changed, 30 insertions(+), 11 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-01-30 17:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 21:29 [PATCH 0/3] hwmon: (lm85) add LM96000 high freqency pwm support Jeremy Gebben
2019-01-29 23:38 ` Guenter Roeck
2019-01-30 16:19   ` Jeremy Gebben
2019-01-30 16:14 ` [PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes Jeremy Gebben
2019-01-30 16:14   ` [PATCH resend 2/3] hwmon: (lm85) Document the LM96000 as supported Jeremy Gebben
2019-01-30 16:14   ` [PATCH resend 3/3] hwmon: (lm85) add support for LM96000 high frequencies Jeremy Gebben
2019-01-30 17:25   ` [PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes Guenter Roeck

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