mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Sander Speetjens <sander.speetjens@gmail.com>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
	Peter Robinson <pbrobinson@gmail.com>
Subject: Re: [PATCH v4 1/2] hwmon: add Raspberry Pi PMIC driver
Date: Sun, 22 Nov 2026 12:51:28 -0800	[thread overview]
Message-ID: <93ffac09-f995-4ea7-8aa7-4fb7ed3ff4d6@roeck-us.net> (raw)
In-Reply-To: <20261119-hwmon-da9091-v4-1-0d6e345c3666@gmail.com>

On 11/19/26 11:55, Sander Speetjens wrote:
> Add a hwmon driver for the PMIC found on the Raspberry Pi 5.
> The PMIC exposes voltages, currents and temperatures exclusively
> through the VideoCore firmware mailbox interface (property
> 0x0003009f).
> 
> Requires a sufficiently recent Raspberry Pi firmware that
> implements the structured PMIC ADC property.
> 
> The driver:
> - is instantiated at runtime by the raspberrypi-firmware driver
>    (same pattern as the Pi 5 RTC driver)
> - reads all channels in a single batch mailbox call
> - uses a short refresh-on-read cache
> - exposes the sensors via the standard hwmon sysfs interface
> 
> Signed-off-by: Sander Speetjens <sander.speetjens@gmail.com>
> ---
>   Documentation/hwmon/index.rst                  |   1 +
>   Documentation/hwmon/raspberrypi-pmic-hwmon.rst |  49 ++++
>   drivers/hwmon/Kconfig                          |  11 +
>   drivers/hwmon/Makefile                         |   1 +
>   drivers/hwmon/raspberrypi-pmic-hwmon.c         | 296 +++++++++++++++++++++++++
>   include/soc/bcm2835/raspberrypi-firmware.h     |   1 +

This patch is making changes in a non-hwmon include file, so I can
not apply it, or at least not without an Acked-by: from a maintainer.

Assuming it will be applied through some other tree,

Acked-by: Guenter Roeck <linux@roeck-us.net>

Guenter


  reply	other threads:[~2026-11-22 20:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 19:55 [PATCH v4 0/2] hwmon: add Raspberry Pi 5 " Sander Speetjens
2026-11-19 19:55 ` [PATCH v4 1/2] hwmon: add Raspberry Pi " Sander Speetjens
2026-11-22 20:51   ` Guenter Roeck [this message]
2026-11-19 19:55 ` [PATCH v4 2/2] firmware: raspberrypi: Register PMIC hwmon driver on Pi 5 Sander Speetjens

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=93ffac09-f995-4ea7-8aa7-4fb7ed3ff4d6@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=corbet@lwn.net \
    --cc=florian.fainelli@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=pbrobinson@gmail.com \
    --cc=rdunlap@infradead.org \
    --cc=rjui@broadcom.com \
    --cc=sander.speetjens@gmail.com \
    --cc=sbranden@broadcom.com \
    --cc=skhan@linuxfoundation.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®