linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Barker <pbarker@konsulko.com>
To: Kamil Debski <kamil@wypas.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH 0/2] pwm-fan: Support multiple tach inputs & fix RPM calc
Date: Sun, 4 Oct 2020 09:49:23 +0100	[thread overview]
Message-ID: <CAM9ZRVs=33NJGEn783BMEhZxKwuhSSuaTW1QtX3E7wz0mLGiaw@mail.gmail.com> (raw)
In-Reply-To: <20200920180943.352526-3-pbarker@konsulko.com>

On Sun, 20 Sep 2020 at 19:09, Paul Barker <pbarker@konsulko.com> wrote:
>
> These changes were made to support a custom board where one PWM output
> is routed to two fans, each of which has a tachometer signal routed to a
> GPIO input on the SoC. While debugging on this board it was found that
> the RPM readings were being overestimated due to a bug in the
> calculation code so I've included a fix for that.
>
> As the custom board doesn't currently support the latest mainline kernel
> I've tested these changes on a SanCloud BeagleBone Enhanced using an
> oscilloscope to check the PWM output and a signal generator to simulate
> the fan tachometer signals. I've tested variants of the device tree with
> 0, 1 and 2 fan tachometer inputs configured to ensure the logic in the
> probe function is correct.
>
> The device tree bindings changes have been submitted in a separate
> patch.
>
> These changes can also be pulled from:
>
>   https://gitlab.com/pbarker.dev/staging/linux.git
>   tag: for-hwmon/pwm-fan_2020-09-20
>
> Paul Barker (2):
>   hwmon: pwm-fan: Support multiple tachometer inputs
>   hwmon: pwm-fan: Fix RPM calculation
>
>  drivers/hwmon/pwm-fan.c | 164 ++++++++++++++++++++++++----------------
>  1 file changed, 100 insertions(+), 64 deletions(-)
>
>
> base-commit: 2835d860d3fcc3e4829e96987544e811d35dee48

Ping on these, I've not had any feedback for 2 weeks.

Thanks,

-- 
Paul Barker
Konsulko Group

  reply	other threads:[~2020-10-04  8:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 18:09 [PATCH 0/1] Document multiple fan tach support in pwm-fan driver Paul Barker
2020-09-20 18:09 ` [PATCH 1/1] dt-bindings: hwmon: pwm-fan: Support multiple fan tachometer inputs Paul Barker
2020-09-29 17:21   ` Rob Herring
2020-11-22 15:29   ` Guenter Roeck
2020-09-20 18:09 ` [PATCH 0/2] pwm-fan: Support multiple tach inputs & fix RPM calc Paul Barker
2020-10-04  8:49   ` Paul Barker [this message]
2020-10-04 15:38     ` Guenter Roeck
2020-10-04 22:13       ` Paul Barker
2020-09-20 18:09 ` [PATCH 1/2] hwmon: pwm-fan: Support multiple tachometer inputs Paul Barker
2020-09-20 18:09 ` [PATCH 2/2] hwmon: pwm-fan: Fix RPM calculation Paul Barker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM9ZRVs=33NJGEn783BMEhZxKwuhSSuaTW1QtX3E7wz0mLGiaw@mail.gmail.com' \
    --to=pbarker@konsulko.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=jdelvare@suse.com \
    --cc=kamil@wypas.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).