|
|
Subscribe / Log in / New account

hwmon: Add NPCM7xx PWM driver support

From:  Tomer Maimon <tmaimon77-AT-gmail.com>
To:  robh+dt-AT-kernel.org, mark.rutland-AT-arm.com, jdelvare-AT-suse.com, linux-AT-roeck-us.net, avifishman70-AT-gmail.com, yuenn-AT-google.com, brendanhiggins-AT-google.com, venture-AT-google.com, joel-AT-jms.id.au
Subject:  [PATCH v1 0/2] hwmon: Add NPCM7xx PWM driver support
Date:  Tue, 29 May 2018 13:02:19 +0300
Message-ID:  <1527588141-18639-1-git-send-email-tmaimon77@gmail.com>
Cc:  devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-hwmon-AT-vger.kernel.org, openbmc-AT-lists.ozlabs.org, Tomer Maimon <tmaimon77-AT-gmail.com>
Archive-link:  Article

This patch set adds Pulse Width Modulation (PWM) support 
for the Nuvoton NPCM7xx Baseboard Management Controller (BMC).

The NPCM7xx PWM controller can support 8 PWM output ports.

The hwmon driver provides sysfs entries through which the user can 
configure and get the duty cycle between 0 (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 ++
 drivers/hwmon/Kconfig                              |   6 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/npcm7xx-pwm.c                        | 363 +++++++++++++++++++++
 4 files changed, 395 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt
 create mode 100644 drivers/hwmon/npcm7xx-pwm.c

-- 
2.14.1



Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds