linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: "Andrius Štikonas" <andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH] arm64: dts: rockchip: Add PWM fan for RockPro64
Date: Thu, 25 Jul 2019 22:12:05 +0200	[thread overview]
Message-ID: <6471342.jnQKebxgib@phil> (raw)
In-Reply-To: <20190724191715.7668-1-andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>

Am Mittwoch, 24. Juli 2019, 21:17:15 CEST schrieb Andrius Štikonas:
> RockPro64 has a dedicated circuit for driving a 12V fan from PWM1.
> 
> At the moment this makes fan spin at full speed. fancontrol can be used
> to control fan speed. E.g. the following config file works well:
> 
> INTERVAL=10
> DEVPATH=hwmon0=devices/platform/pwm-fan
> DEVNAME=hwmon0=pwmfan
> FCTEMPS=hwmon0/device/pwm1=../thermal/thermal_zone0/temp
> MINTEMP=hwmon0/device/pwm1=40
> MAXTEMP=hwmon0/device/pwm1=60
> MINSTART=hwmon0/device/pwm1=100
> MINSTOP=hwmon0/device/pwm1=70
> 
> In the future it would be nice to define trip points in dts file,
> so that kernel could adjust fan speed itself.

patches welcome ;-)

> Signed-off-by: Andrius Štikonas <andrius@stikonas.eu>

applied for 5.4

Thanks
Heiko



_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

      parent reply	other threads:[~2019-07-25 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24 19:17 [PATCH] arm64: dts: rockchip: Add PWM fan for RockPro64 Andrius Štikonas
     [not found] ` <20190724191715.7668-1-andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org>
2019-07-25 20:12   ` Heiko Stuebner [this message]

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=6471342.jnQKebxgib@phil \
    --to=heiko-4mtyjxux2i+zqb+pc5nmwq@public.gmane.org \
    --cc=andrius-4ZmsDwijFH7sq35pWSNszA@public.gmane.org \
    --cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    /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).