[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190131220617.15223-1-jgebben@sweptlaser.com>
Date: Thu, 31 Jan 2019 15:06:14 -0700
From: Jeremy Gebben <jgebben@...ptlaser.com>
To: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] hwmon: (lm85) add LM96000 high freqency pwm support
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
Changes since v1:
- replace freq_map_mask with freq_map_size
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
Powered by blists - more mailing lists