Skip to content

hwmon: (lm85) add LM96000 high freqency pwm support

Jeremy Gebben linux-devicetree linux-doc linux-hwmon lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- add lm96000 type instead of continuing to use lm85

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwmon: (lm85) remove freq_map size hardcodesdrivers/hwmon/lm85.c+15 -100 replies
2/4dt-bindings: Add LM96000 as a trivial deviceDocumentation/devicetree/bindings/trivial-devices.yaml+2 -01 reply
3/4hwmon: (lm85) support the LM96000Documentation/hwmon/lm85 drivers/hwmon/lm85.c+12 -30 replies
4/4hwmon: (lm85) add support for LM96000 high frequenciesDocumentation/hwmon/lm85 drivers/hwmon/lm85.c+12 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] hwmon: (lm85) add LM96000 high freqency pwm support

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(-)
Signature · 1 line
2.17.1