From: Guenter Roeck <linux@roeck-us.net>
To: Andrea della Porta <andrea.porta@suse.com>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
"Jonathan Corbet" <corbet@lwn.net>,
"Shuah Khan" <skhan@linuxfoundation.org>,
"Randy Dunlap" <rdunlap@infradead.org>,
linux-doc@vger.kernel.org,
"Uwe Kleine-König" <ukleinek@kernel.org>,
linux-pwm@vger.kernel.org, "Gary Guo" <gary@garyguo.net>
Subject: Re: [PATCH v2 1/1] hwmon: Add driver for Raspberry Pi RP1 fan tachometer
Date: Sat, 28 Nov 2026 09:42:44 -0800 [thread overview]
Message-ID: <0d047acc-7921-4482-a130-9c630cf3f1eb@roeck-us.net> (raw)
In-Reply-To: <20261124173900.31266-2-andrea.porta@suse.com>
On Tue, Nov 24, 2026 at 06:39:00PM +0100, Andrea della Porta wrote:
> Add a hardware monitoring driver to support the fan tachometer on the
> Raspberry Pi RP1 southbridge, found on the Raspberry Pi 5.
>
> The RP1 PWM controller block contains an MMIO register that holds the
> current fan speed in RPM. This register is periodically updated by the
> RP1 internal firmware based on the tachometer pulses.
>
> The RP1 PWM driver registers a "fan" auxiliary device for the
> tachometer. This driver binds to it as an auxiliary driver and reads
> the RPM value through rp1_pwm_read_tachometer(), exported by the PWM
> driver in the 'RP1_PWM' symbol namespace. Since the auxiliary device is
> a child of the PWM controller, no Device Tree node is needed and the
> lifetime of this driver is bound to the one of the PWM controller.
>
> Provides the standard hwmon sysfs attribute 'fan1_input'.
>
> Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
I assume that the driver will be applied together with the changes introducing
rp1_pwm_read_tachometer().
Guenter
next prev parent reply other threads:[~2026-11-28 17:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:38 [PATCH v2 0/1] hwmon: Add fan tachometer support for Raspberry Pi RP1 Andrea della Porta
2026-11-24 17:39 ` [PATCH v2 1/1] hwmon: Add driver for Raspberry Pi RP1 fan tachometer Andrea della Porta
2026-11-28 17:42 ` Guenter Roeck [this message]
2026-12-01 21:26 ` Gary Guo
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=0d047acc-7921-4482-a130-9c630cf3f1eb@roeck-us.net \
--to=linux@roeck-us.net \
--cc=andrea.porta@suse.com \
--cc=corbet@lwn.net \
--cc=gary@garyguo.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=ukleinek@kernel.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
all inboxes | Powered by JetHome®