Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3211526imm; Tue, 29 May 2018 03:14:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJUFq+I8EQIL+1fJqXkTK7NX8aDtKgxRG/JRRamLwEKxPMnTfBBmKe2SlhOmW6UqDyuQBxx X-Received: by 2002:a17:902:7898:: with SMTP id q24-v6mr5758739pll.254.1527588895221; Tue, 29 May 2018 03:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527588895; cv=none; d=google.com; s=arc-20160816; b=DPXh7FgKuFlsAqylAXPfImX2n1Lv4gvrCuedcpINq/I9tk4i3bVQk1iWK3yabQA36D ZHISSKf0wegkzmf1sCtK6fsz6hGa+1iBKOcSIBU3z8HuiOhlFOHO+xDjPaSGO1TEhwnw MSOwi4/A6QuAiwUy1498ZO4VJtvflCbyfcqO+3lbwxFsQBG7YQWQpRje+Pgd5P+sdqEq TNf69/OqIn+HGBG4op8zvcZoSnD+jzI0UvpNka+d75NOkNhGh2C373iIPJi/rXLpUls9 hU1w1V6J4mww+nTj1PSvsEj7EBCmdIMNLw3V8TdCo0JTHWqzWNNOhgBIWUW99K8lS64o xZ7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=tnoErxEj/sfQe2c0IEsYTYM7ecwp9gX2WkCWxx/Zhhw=; b=eBOAToqnZotK9iecQ1ZUJKq2P81BO/scubUxioPwYZ4FMnxop0BtbCpr/+YQJuAkXd zDgUByX/Zu0oUHG9efLJAOkj3abfxUyEEpsNih98TrVncYKm1QOOHaTFF6kYqQ/mi7Ed NBFUX42+Fy6zk0dn/1ECeoSGKM+w8FSmHOTlI1FchCD1KtP5+4i8jQMJ/TQ+g+helDhF v9xJjfIbmL18uNPPZ8ipO5aFIUDS9mSKKn33ck+l/H+oZ5NKvDc5yF1gzfMwjCFEgPAd 3B9V96qy6/ihHZNIHZSrdE0FPmau6dOzfXhknP/l4uidalhx+KIq6XRlSG24v6/HSv4h ru/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay5-v6si31153986plb.459.2018.05.29.03.14.40; Tue, 29 May 2018 03:14:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932921AbeE2KOI (ORCPT + 99 others); Tue, 29 May 2018 06:14:08 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:32946 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932866AbeE2KOF (ORCPT ); Tue, 29 May 2018 06:14:05 -0400 X-Greylist: delayed 645 seconds by postgrey-1.27 at vger.kernel.org; Tue, 29 May 2018 06:14:03 EDT 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 w4TA2OlR031893; Tue, 29 May 2018 13:02:24 +0300 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id D59A35AA0B; Tue, 29 May 2018 13:02:23 +0300 (IDT) From: Tomer Maimon To: robh+dt@kernel.org, mark.rutland@arm.com, jdelvare@suse.com, linux@roeck-us.net, avifishman70@gmail.com, yuenn@google.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon 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> X-Mailer: git-send-email 1.8.3.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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