Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=nuvoton.com (client-ip=212.199.177.27; helo=herzl.nuvoton.co.il; envelope-from=tomer.maimon@nuvoton.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Received: from herzl.nuvoton.co.il (212.199.177.27.static.012.net.il [212.199.177.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40w9jX3T7BzDqGD for ; Tue, 29 May 2018 20:59:59 +1000 (AEST) Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w4TAxjCv000307; Tue, 29 May 2018 13:59:46 +0300 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id 0898E5A966; Tue, 29 May 2018 13:59:45 +0300 (IDT) From: Tomer Maimon To: openbmc@lists.ozlabs.org Cc: Joel Stanley , Andrew Jeffery , Tomer Maimon Subject: [PATCH linux dev-4.13 v1 0/2] hwmon: Add NPCM7xx PWM driver support Date: Tue, 29 May 2018 13:59:41 +0300 Message-Id: <1527591583-28623-1-git-send-email-tmaimon77@gmail.com> X-Mailer: git-send-email 1.8.3.4 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 11:00:01 -0000 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