[PATCH v8 2/2] hwmon: npcm750: add NPCM7xx PWM and Fan driver

2018-07-03 Thread Tomer Maimon
Add Nuvoton BMC NPCM750/730/715/705 Pulse Width Modulation (PWM) and Fan tacho driver. The Nuvoton BMC NPCM750/730/715/705 supports 8 PWM controller outputs and 16 Fan controller inputs. The driver provides a sysfs entries through which the user can configure the duty-cycle value from 0(off) and

[PATCH v8 1/2] dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation

2018-07-03 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM7xx Pulse Width Modulation (PWM) and Fan tach controller. The Nuvoton BMC NPCM7XX supports 8 PWM controller outputs and 16 Fan tachometer controller inputs. Signed-off-by: Tomer Maimon ---

[PATCH v2] hwmon (pmbus/max34440): Add support for MAX34451.

2018-07-03 Thread Kun Yi
MAX34451 is a 16-Channel Voltage/Current Monitor and 12-Channel Sequencer. Signed-off-by: Kun Yi --- Changes in v2: - Dynamically set MAX34451 page 0-15 functions based on channel config register value. Documentation/hwmon/max34440 | 16 -- drivers/hwmon/pmbus/Kconfig| 2 +-

Re: [PATCH] hwmon (pmbus/max34440): Add support for MAX34451.

2018-07-03 Thread Kun Yi
On Wed, Jun 27, 2018 at 7:39 AM Kun Yi wrote: > > Thanks for your comments. > > On Mon, Jun 25, 2018 at 9:54 AM Guenter Roeck wrote: > > > > On Thu, Jun 21, 2018 at 04:37:27PM -0700, Kun Yi wrote: > > > MAX34451 is a 16-Channel Voltage/Current Monitor and 12-Channel > > > Sequencer. > > > > > >

RE: [v5,1/1] hwmon: (mlxreg-fan) Add support for Mellanox FAN driver

2018-07-03 Thread Vadim Pasternak
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Tuesday, July 03, 2018 7:16 PM > To: Vadim Pasternak > Cc: linux-hwmon@vger.kernel.org; j...@resnulli.us; Michael Shych > > Subject: Re: [v5,1/1] hwmon: (mlxreg-fan) Add support for Mellanox FAN driver > >

Re: [v5,1/1] hwmon: (mlxreg-fan) Add support for Mellanox FAN driver

2018-07-03 Thread Guenter Roeck
On Tue, Jul 03, 2018 at 07:00:09AM +, Vadim Pasternak wrote: > Driver obtains PWM and tachometers registers location according to the > system configuration and creates FAN/PWM hwmon objects and a cooling > device. PWM and tachometers are controlled through the on-board > programmable device,

[PATCH v7 2/2] hwmon: npcm750: add NPCM7xx PWM and Fan driver

2018-07-03 Thread Tomer Maimon
Add Nuvoton BMC NPCM750/730/715/705 Pulse Width Modulation (PWM) and Fan tacho driver. The Nuvoton BMC NPCM750/730/715/705 supports 8 PWM controller outputs and 16 Fan controller inputs. The driver provides a sysfs entries through which the user can configure the duty-cycle value from 0(off) and

[PATCH v7 0/2] hwmon: Add NPCM7xx PWM and Fan driver support

2018-07-03 Thread Tomer Maimon
This patch set adds Pulse Width Modulation (PWM) and Fan tacho support for the Nuvoton NPCM750/730/715/705 Baseboard Management Controller (BMC). The Nuvoton BMC NPCM750/730/715/705 has two identical PWM controller modules, each module has four PWM controller outputs and eight identical Fan

[PATCH v7 1/2] dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation

2018-07-03 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM7xx Pulse Width Modulation (PWM) and Fan tach controller. The PWM controller can support upto 8 PWM output ports. The Fan tach controller can support upto 16 tachometer inputs. Signed-off-by: Tomer Maimon ---

Re: [PATCH] hwmon: Mark expected switch fall-throughs

2018-07-03 Thread Jean Delvare
Hi Gustavo, On Mon, 2 Jul 2018 16:30:17 -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. That's a great initiative, thanks for doing that. > Signed-off-by: Gustavo A. R. Silva > --- >