[PATCH v3 2/4] dt-bindings: Add LM96000 as a trivial device

2019-02-04 Thread Jeremy Gebben
The LM96000 is a temperature sensor and fan controller based on the LM85. Signed-off-by: Jeremy Gebben --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation

[PATCH v3 3/4] hwmon: (lm85) support the LM96000

2019-02-04 Thread Jeremy Gebben
It has been supported as a generic lm85 for quite some time. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 6 +- drivers/hwmon/lm85.c | 9 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85 index

[PATCH v3 1/4] hwmon: (lm85) remove freq_map size hardcodes

2019-02-04 Thread Jeremy Gebben
Allow support for chips that support more than 8 frequencies. Signed-off-by: Jeremy Gebben --- drivers/hwmon/lm85.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index 0a325878e8f5..4b15193d195c 100644

[PATCH v3 4/4] hwmon: (lm85) add support for LM96000 high frequencies

2019-02-04 Thread Jeremy Gebben
The LM96000 expands the freqency field from 3 to 4 bits, to add more frequencies in the 22.5 to 30 kHz ranges. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 3 +++ drivers/hwmon/lm85.c | 9 + 2 files changed, 12 insertions(+) diff --git a/Documentation/hwmon/lm85 b

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

2019-02-04 Thread Jeremy Gebben
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

[PATCH v2 2/3] hwmon: (lm85) Document the LM96000 as supported

2019-01-31 Thread Jeremy Gebben
It has been supported as a generic lm85 for quite some time. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85 index 7c49feaa7..9f3a945d1 100644

[PATCH v2 0/3] hwmon: (lm85) add LM96000 high freqency pwm support

2019-01-31 Thread Jeremy Gebben
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

[PATCH v2 1/3] hwmon: (lm85) remove freq_map size hardcodes

2019-01-31 Thread Jeremy Gebben
Allow support for chips that support more than 8 frequencies. Signed-off-by: Jeremy Gebben --- drivers/hwmon/lm85.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index 0a325878e..4b15193d1 100644

[PATCH v2 3/3] hwmon: (lm85) add support for LM96000 high frequencies

2019-01-31 Thread Jeremy Gebben
This chip expands the freqency field from 3 to 4 bits, to add more frequencies in the 22.5 to 30 kHz ranges. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 3 +++ drivers/hwmon/lm85.c | 9 + 2 files changed, 12 insertions(+) diff --git a/Documentation/hwmon/lm85 b

Re: [PATCH 0/3] hwmon: (lm85) add LM96000 high freqency pwm support

2019-01-30 Thread Jeremy Gebben
On Tue, Jan 29, 2019 at 4:38 PM Guenter Roeck wrote: > > On Tue, Jan 29, 2019 at 02:29:17PM -0700, Jeremy Gebben wrote: > > Hi, > > > > This patch adds support for the PWM frequencies from 22.5 to 30 kHz > > available on the LM96000. > > > > It looks li

[PATCH resend 2/3] hwmon: (lm85) Document the LM96000 as supported

2019-01-30 Thread Jeremy Gebben
It has been supported as a generic lm85 for quite some time. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85 index 7c49feaa79d2..9f3a945d1b80 100644

[PATCH resend 3/3] hwmon: (lm85) add support for LM96000 high frequencies

2019-01-30 Thread Jeremy Gebben
This chip expands the freqency field from 3 to 4 bits, to add more frequencies in the 22.5 to 30 kHz ranges. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 3 +++ drivers/hwmon/lm85.c | 9 + 2 files changed, 12 insertions(+) diff --git a/Documentation/hwmon/lm85 b

[PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes

2019-01-30 Thread Jeremy Gebben
Allow support for chips that support more than 8 frequencies. The size still must be a power of two. Signed-off-by: Jeremy Gebben --- drivers/hwmon/lm85.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85

[PATCH 0/3] hwmon: (lm85) add LM96000 high freqency pwm support

2019-01-29 Thread Jeremy Gebben
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

[PATCH v3 0/2] rtc: abx80x: add basic watchdog support

2018-09-11 Thread Jeremy Gebben
unneeded WDOG_HW_RUNNING bit changes * fix abx80x_setup_watchdog() * fix formatting of multiline splits Changes in v2: * split out priv structure into a separate patch * remove new Kconfig option * fix CONFIG_WATCHDOG dependency * fix WDT interrupt message Jeremy Gebben (2): rtc: abx80x: use

[PATCH v3 0/2] rtc: abx80x: add basic watchdog support

2018-09-11 Thread Jeremy Gebben
unneeded WDOG_HW_RUNNING bit changes * fix abx80x_setup_watchdog() * fix formatting of multiline splits Changes in v2: * split out priv structure into a separate patch * remove new Kconfig option * fix CONFIG_WATCHDOG dependency * fix WDT interrupt message Jeremy Gebben (2): rtc: abx80x: use

[PATCH 1/2] rtc: abx80x: use a 'priv' struct for client data

2018-09-11 Thread Jeremy Gebben
This will allow additional data to be tracked, for future improvements. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index

[PATCH 1/2] rtc: abx80x: use a 'priv' struct for client data

2018-09-11 Thread Jeremy Gebben
This will allow additional data to be tracked, for future improvements. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index

[PATCH 2/2] rtc: abx80x: add basic watchdog support

2018-09-11 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/Kconfig | 1 + drivers/rtc/rtc-abx80x.c | 116 +-- 2 files changed, 113 insertions(+), 4 deletions

[PATCH 2/2] rtc: abx80x: add basic watchdog support

2018-09-11 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/Kconfig | 1 + drivers/rtc/rtc-abx80x.c | 116 +-- 2 files changed, 113 insertions(+), 4 deletions

[PATCH v2 0/2] rtc: abx80x: add basic watchdog support

2018-09-10 Thread Jeremy Gebben
This patch series adds watchod support for abracon RTC chips which include basic watchdog functionality. Changes in v2: * split out priv structure into a separate patch * remove new Kconfig option * fix CONFIG_WATCHDOG dependency * fix WDT interrupt message Jeremy Gebben (2): rtc: abx80x: use

[PATCH 2/2] rtc: abx80x: add basic watchdog support

2018-09-10 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 132 +-- 1 file changed, 128 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc

[PATCH 1/2] rtc: abx80x: use a 'priv' struct for client data

2018-09-10 Thread Jeremy Gebben
This will allow additional data to be tracked, for future improvements. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index

[PATCH v2 0/2] rtc: abx80x: add basic watchdog support

2018-09-10 Thread Jeremy Gebben
This patch series adds watchod support for abracon RTC chips which include basic watchdog functionality. Changes in v2: * split out priv structure into a separate patch * remove new Kconfig option * fix CONFIG_WATCHDOG dependency * fix WDT interrupt message Jeremy Gebben (2): rtc: abx80x: use

[PATCH 2/2] rtc: abx80x: add basic watchdog support

2018-09-10 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 132 +-- 1 file changed, 128 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc

[PATCH 1/2] rtc: abx80x: use a 'priv' struct for client data

2018-09-10 Thread Jeremy Gebben
This will allow additional data to be tracked, for future improvements. Signed-off-by: Jeremy Gebben --- drivers/rtc/rtc-abx80x.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index

[PATCH] rtc: abx80x: add basic watchdog support

2018-09-07 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/Kconfig | 11 +++ drivers/rtc/rtc-abx80x.c | 160 --- 2 files changed, 159 insertions(+), 12

[PATCH] rtc: abx80x: add basic watchdog support

2018-09-07 Thread Jeremy Gebben
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: Jeremy Gebben --- drivers/rtc/Kconfig | 11 +++ drivers/rtc/rtc-abx80x.c | 160 --- 2 files changed, 159 insertions(+), 12