[PATCH v1 0/2] hwmon: Add NPCM7xx PWM driver support

2018-05-29 Thread Tomer Maimon
(disable the specific PWM) to 255 of particular PWM output port. The NPCM7xx PWM driver tested on NPCM750 evaluation board. Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM documentation hwmon: npcm-pwm: add NPCM7xx PWM driver .../devicetree/bindings/hwmon/npcm7xx-pwm.txt | 25

[PATCH v1 2/2] hwmon: npcm-pwm: add NPCM7xx PWM driver

2018-05-29 Thread Tomer Maimon
Add Nuvoton BMC NPCM7xx Pulse Width Modulation (PWM) driver. The Nuvoton BMC NPCM7xx has two identical PWM controller modules, each module has four PWM controller outputs. Signed-off-by: Tomer Maimon --- drivers/hwmon/Kconfig | 6 + drivers/hwmon/Makefile | 1 + drivers/hwmon

[PATCH v1 1/2] dt-binding: hwmon: Add NPCM7xx PWM documentation

2018-05-29 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM7xx Pulse Width Modulation (PWM) controller. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/hwmon/npcm7xx-pwm.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree

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

2018-06-19 Thread Tomer Maimon
- Modifying dt-binding documentation for Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7xx PWM and Fan driver .../devicetree/bindings/hwmon/npcm750-pwm-fan.txt | 84 ++ drivers/hwmon/Kconfig

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

2018-06-19 Thread Tomer Maimon
sysfs entries through which the user can configure the duty-cycle value (ranging from 0 to 100 percent) and read the fan tacho rpm value. The driver support cooling device creation, that could be bound to a thermal zone for the thermal control. Signed-off-by: Tomer Maimon --- drivers/hwmon/Kconfig

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

2018-06-19 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 --- .../devicetree/bindings

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

2018-06-21 Thread Tomer Maimon
sysfs entries through which the user can configure the duty-cycle value from 0(off) and 255(full speed) and read the fan tacho rpm value. The driver support cooling device creation, that could be bound to a thermal zone for the thermal control. Signed-off-by: Tomer Maimon --- Documentation/hwmon

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

2018-06-21 Thread Tomer Maimon
dding cooling device support - Modifying dt-binding documentation for Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7xx PWM and Fan driver .../devicetree/bindings/hwmon/npcm750-pwm-fan.txt |

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

2018-06-21 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 --- .../devicetree/bindings

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

2018-06-24 Thread Tomer Maimon
. The driver provides a sysfs entries through which the user can configure the duty-cycle value from 0(off) and 255(full speed) and read the fan tacho rpm value. The driver support cooling device creation, that could be bound to a thermal zone for the thermal control. Signed-off-by: Tomer Maimon

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

2018-06-24 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 --- .../devicetree/bindings

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

2018-06-24 Thread Tomer Maimon
tation for Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7xx PWM and Fan driver .../devicetree/bindings/hwmon/npcm750-pwm-fan.txt | 84 ++ Documentation/hwmon/npcm750-pwm-fan| 22

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

2018-06-25 Thread Tomer Maimon
since version 1: - Rename driver name - Adding Fan Controller support - Adding cooling device support - Modifying dt-binding documentation for Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7xx PWM

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

2018-06-25 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 --- .../devicetree/bindings

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

2018-06-25 Thread Tomer Maimon
. The driver provides a sysfs entries through which the user can configure the duty-cycle value from 0(off) and 255(full speed) and read the fan tacho rpm value. The driver support cooling device creation, that could be bound to a thermal zone for the thermal control. Signed-off-by: Tomer Maimon

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

2018-06-28 Thread Tomer Maimon
Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7xx PWM and Fan driver .../devicetree/bindings/hwmon/npcm750-pwm-fan.txt | 87 ++ Documentation/hwmon/npcm750-pwm-fan| 22 + driver

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

2018-06-28 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 --- .../devicetree/bindings

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

2018-06-28 Thread Tomer Maimon
. The driver provides a sysfs entries through which the user can configure the duty-cycle value from 0(off) and 255(full speed) and read the fan tacho rpm value. The driver support cooling device creation, that could be bound to a thermal zone for the thermal control. Signed-off-by: Tomer Maimon

[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 --- .../devicetree/bindings

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

2018-07-03 Thread Tomer Maimon
255(full speed) and read the fan tacho rpm value. Signed-off-by: Tomer Maimon --- Documentation/hwmon/npcm750-pwm-fan | 22 + drivers/hwmon/Kconfig |7 + drivers/hwmon/Makefile |1 + drivers/hwmon/npcm750-pwm-fan.c | 1057

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

2018-07-03 Thread Tomer Maimon
nged Changes since version 1: - Rename driver name - Adding Fan Controller support - Adding cooling device support - Modifying dt-binding documentation for Fan and cooling binding Tomer Maimon (2): dt-binding: hwmon: Add NPCM7xx PWM and Fan controller documentation hwmon: npcm750: add NPCM7x

[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 --- .../devicetree/bindings/hwmon/npcm750-pwm

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

2018-07-03 Thread Tomer Maimon
- Removing all typecast - Removing unused definitions - Adding () in macros parameters. - dt-binding documentation haven't changed Changes since version 1: - Rename driver name - Adding Fan Controller support - Adding cooling device support - Modifying dt-binding documentation for Fan and co

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

2018-07-03 Thread Tomer Maimon
255(full speed) and read the fan tacho rpm value. Signed-off-by: Tomer Maimon --- Documentation/hwmon/npcm750-pwm-fan | 22 + drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile |1 + drivers/hwmon/npcm750-pwm-fan.c | 1057

[PATCH v1 2/2] misc: npcm7xx: add NPCM7xx LPC BPC driver

2018-07-04 Thread Tomer Maimon
Add Nuvoton BMC NPCM7xx BIOS post code (BPC) driver. The NPCM7xx BPC monitoring two I/O address written by the host on the Low Pin Count (LPC) bus, the capure data stored in 128-word FIFO. Signed-off-by: Tomer Maimon --- drivers/misc/Kconfig | 8 + drivers/misc/Makefile

[PATCH v1 0/2] misc: Add NPCM7xx LPC BPC driver support

2018-07-04 Thread Tomer Maimon
BPC can support capture double words. I have created new folder (bmc) in the documentation/devicetree/binding for BMC miscellaneous modules that are not represented in the binding folder. The NPCM7xx BPC driver tested on NPCM750 evaluation board. Tomer Maimon (2): dt-binding: bmc: Add NPCM7xx

[PATCH v1 1/2] dt-binding: bmc: Add NPCM7xx LPC BPC documentation

2018-07-04 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM7xx BIOS Post Code (BPC). The NPCM7xx BPC monitoring two configurable I/O addresses written by the host on Low Pin Count (LPC) bus. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/bmc/npcm7xx-lpc-bpc.txt| 26

[PATCH v1 0/2] misc: Add NPCM LPC BPC driver support

2019-04-15 Thread Tomer Maimon
/binding folder that named BMC as been done in the last lpc-snoop patchset because I am not sure is something that should be done for only one module for now. https://patchwork.kernel.org/patch/10506269/ The NPCM7xx BPC driver tested on NPCM750 evaluation board. Tomer Maimon (2): dt-binding: misc

[PATCH v1 1/2] dt-binding: misc: Add common LPC snoop documentation

2019-04-15 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post Code (BPC) and Apeed AST2500 LPC snoop. The LPC snoop monitoring two configurable I/O addresses written by the host on Low Pin Count (LPC) bus. Signed-off-by: Tomer Maimon --- .../devicetree/bindings/misc/lpc-snoop.txt

[PATCH v1 2/2] misc: npcm: add NPCM LPC BPC driver

2019-04-15 Thread Tomer Maimon
Add Nuvoton BMC NPCM BIOS post code (BPC) driver. The NPCM BPC monitoring two I/O address written by the host on the Low Pin Count (LPC) bus, the capure data stored in 128-word FIFO. Signed-off-by: Tomer Maimon --- drivers/misc/Kconfig | 8 + drivers/misc/Makefile

[PATCH v2 1/2] dt-binding: misc: Add common LPC snoop documentation

2019-04-16 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post Code (BPC) and Apeed AST2500 LPC snoop. The LPC snoop monitoring two configurable I/O addresses written by the host on Low Pin Count (LPC) bus. Signed-off-by: Tomer Maimon Reviewed-by: Andrew Jeffery --- .../devicetree

[PATCH v2 0/2] misc: Add NPCM LPC BPC driver support

2019-04-16 Thread Tomer Maimon
Roeck: https://lkml.org/lkml/2019/4/15/450 - Andrew Jeffery: https://lkml.org/lkml/2019/4/15/1385 Changes since version 1: - Using devm_platform_ioremap_resource function. - Add new line at the end of dt-binding documentation. Tomer Maimon (2): dt-binding: misc

[PATCH v2 2/2] misc: npcm: add NPCM LPC BPC driver

2019-04-16 Thread Tomer Maimon
Add Nuvoton BMC NPCM BIOS post code (BPC) driver. The NPCM BPC monitoring two I/O address written by the host on the Low Pin Count (LPC) bus, the capure data stored in 128-word FIFO. Signed-off-by: Tomer Maimon --- drivers/misc/Kconfig | 8 + drivers/misc/Makefile