mbox series

[v4,0/1] hwmon: npcm: add Arbel NPCM8XX support

Message ID 20231031075806.400872-1-tmaimon77@gmail.com (mailing list archive)
Headers show
Series hwmon: npcm: add Arbel NPCM8XX support | expand

Message

Tomer Maimon Oct. 31, 2023, 7:58 a.m. UTC
This patch set adds Arbel NPCM8XX Pulse Width Modulation (PWM) and
Fan tachometer (Fan) support to PWM FAN NPCM driver.

The NPCM8XX supports up to 16 Fan tachometer inputs and
up to 12 PWM outputs.

The NPCM PWM FAN driver was tested on the NPCM845 evaluation board.

Addressed comments from:
 - Guenter Roeck : https://www.spinics.net/lists/linux-hwmon/msg21914.html

Changes since version 3:
 - Moving the visible handle to the npcm7xx_pwm_is_visible function.
 - Modify the commit message.

Changes since version 2:
 - dt-binding commit applied and remove from the patchset.
 - Using _is_visible() function to support NPCM8XX.

Changes since version 1:
 - Add Rob Ack to the dt-binding commit. 

Tomer Maimon (1):
  hwmon: npcm750-pwm-fan: Add NPCM8xx support

 drivers/hwmon/npcm750-pwm-fan.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)