Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1615615
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH linux v6 0/2] Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver |
| Date | Tue, 04 Apr 2017 01:40:01 +0200 |
| Message-ID | <tsjJL-5bm-3@gated-at.bofh.it> (permalink) |
| X-Original-To | joel@jms.id.au, jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Vgg8OGmSZVUEDjucUNsidRDPUyyeqi36znIxUfEwqKI=; b=RMjNtMtgdj7Y066I3Ql60/o+oAKxuxLbT5UTGhoi54ybsU7lchkzdTL6G91KM/2O24 hZ1wjg+CnplhLCrAnr6eLYmNAmJMyytJEJwZk9l3XLicw3PocZOxgYiQEPvwU6JcY9wA XqaPgflEjZrXCrnrHvH9X656muxDeiq2AQ+9i+8EeGKOSIENBZpQj55PGliNMVQ0tzhQ Iyh8DhxFXSEKGfY2mABA6OcJW1aadNcGAlQaf5wverjjsPyYwzem4QX4Q0HsD1GOMgEv 2XHdsaQheEP9ReuyDF6CE90kNHIlShmlhL1wiW6HVxkrakRt238WdopbdJwu2sdAYWm8 Qn0w== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Vgg8OGmSZVUEDjucUNsidRDPUyyeqi36znIxUfEwqKI=; b=OhiiaRkkp5B2ib1dwE6EZ0aS9R7GX+M/g5kWX88yrUpbY2OkvGBGriVX27Y7NKlrhu tyVcUcRXpXHcxDdalIYOfxwr6swp/UnZ3vwtncKuPYksGlGKn5KKwej83fb5ikWTRSfQ 3bGKXSgbjD2qUgNr1p6/nOZRwVYgpFb+SA1glkOC1y1aHHJ38bbmPUKkJnZHZpsQy9lU fi/4N2MkQawLxz+ilAUfeCKAHPL4uHNVcD2H99prPbb0RD0JT4ys5ZHYtHQPnqse52gn LwW/1IDyJnkReCnXRjrffMA9+qhLwmTxnTy7xYy+vQhEnZlKo7hkE1H1coDWLOzfE259 Mw1Q== |
| X-Gm-Message-State | AFeK/H1BBy07PpHwQ8HhOB+Z86IG0OeyB8OCl0XFVbkYis0nBQ1bamWupJMw3esHFjiG7yW4 |
| X-Received | by 10.84.194.195 with SMTP id h61mr25196843pld.182.1491262229229; Mon, 03 Apr 2017 16:30:29 -0700 (PDT) |
| X-Mailer | git-send-email 2.12.2.715.g7642488e1d-goog |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> |
| X-Original-Date | Mon, 3 Apr 2017 16:30:23 -0700 |
| X-Original-Message-ID | <20170403233025.26952-1-jaghu@google.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1615615 |
Show key headers only | View raw
Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver.
Patches based on the upstream tag 4.9. Changes made in Version 4 are indicated
in the individual patches.
The AST2400/AST2500 PWM controller can support 8 PWM output ports.
The AST2400/AST2500 Fan Tach controller can support 16 tachometer inputs.
The hwmon driver provides sysfs entries through which the user can configure the
duty cycle for the particular PWM output port and read the fan rpm value for
the particular tachometer input.
Added devicetree binding documentation for AST2400/AST2500 PWM and Fan Tach
support.
Tested on Zaius board (which has AST2500 chip) and observed that when
duty cycle is lowered then the fan speed is lowered and lower fan rpm value(
corresponding to the duty cycle) is reported and when the duty cycle is
increased then the fan speed increases and higher fan rpm value(corresponding
to the duty cycle) is reported.
Jaghathiswari Rankappagounder Natarajan (2):
Documentation: dt-bindings: Document bindings for ASPEED
AST2400/AST2500 PWM and Fan tach controller device driver
drivers: hwmon: Support for ASPEED PWM/Fan tach
.../devicetree/bindings/hwmon/aspeed-pwm-tacho.txt | 68 ++
Documentation/hwmon/aspeed-pwm-tacho | 22 +
drivers/hwmon/Kconfig | 9 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/aspeed-pwm-tacho.c | 846 +++++++++++++++++++++
5 files changed, 946 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt
create mode 100644 Documentation/hwmon/aspeed-pwm-tacho
create mode 100644 drivers/hwmon/aspeed-pwm-tacho.c
--
2.12.2.715.g7642488e1d-goog
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH linux v6 0/2] Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2017-04-04 01:40 +0200
[PATCH linux v6 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach controller device driver Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2017-04-04 01:40 +0200
Re: [PATCH linux v6 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach controller device driver Guenter Roeck <linux@roeck-us.net> - 2017-04-04 15:00 +0200
[PATCH linux v6 2/2] drivers: hwmon: Support for ASPEED PWM/Fan tach Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> - 2017-04-04 01:40 +0200
Re: [PATCH linux v6 2/2] drivers: hwmon: Support for ASPEED PWM/Fan tach Guenter Roeck <linux@roeck-us.net> - 2017-04-04 15:00 +0200
csiph-web