Linux-Hwmon Archive on lore.kernel.org
 help / Atom feed
* [PATCH v3 0/4] hwmon: (lm85) add LM96000 high freqency pwm support
@ 2019-02-04 20:19 Jeremy Gebben
  2019-02-04 20:19 ` [PATCH v3 1/4] hwmon: (lm85) remove freq_map size hardcodes Jeremy Gebben
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jeremy Gebben @ 2019-02-04 20:19 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, linux-hwmon, linux-kernel

Hi,

This patch set 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).

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

Changes since v1:
 - replace freq_map_mask with freq_map_size

Changes since v2:
 - add lm96000 type instead of continuing to use lm85

Jeremy Gebben (4):
  hwmon: (lm85) remove freq_map size hardcodes
  dt-bindings: Add LM96000 as a trivial device
  hwmon: (lm85) support the LM96000
  hwmon: (lm85) add support for LM96000 high frequencies

 .../devicetree/bindings/trivial-devices.yaml  |  2 +
 Documentation/hwmon/lm85                      |  9 +++-
 drivers/hwmon/lm85.c                          | 43 +++++++++++++------
 3 files changed, 41 insertions(+), 13 deletions(-)

-- 
2.17.1


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

end of thread, back to index

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 20:19 [PATCH v3 0/4] hwmon: (lm85) add LM96000 high freqency pwm support Jeremy Gebben
2019-02-04 20:19 ` [PATCH v3 1/4] hwmon: (lm85) remove freq_map size hardcodes Jeremy Gebben
2019-02-04 20:19 ` [PATCH v3 2/4] dt-bindings: Add LM96000 as a trivial device Jeremy Gebben
2019-02-04 20:27   ` Rob Herring
2019-02-04 20:19 ` [PATCH v3 3/4] hwmon: (lm85) support the LM96000 Jeremy Gebben
2019-02-04 20:19 ` [PATCH v3 4/4] hwmon: (lm85) add support for LM96000 high frequencies Jeremy Gebben
2019-02-04 22:45 ` [PATCH v3 0/4] hwmon: (lm85) add LM96000 high freqency pwm support Guenter Roeck

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org linux-hwmon@archiver.kernel.org
	public-inbox-index linux-hwmon


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/ public-inbox