From: Sven Peter <sven@kernel.org>
To: michael.reeves077@gmail.com
Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
Hector Martin <marcan@marcan.st>, Lee Jones <lee@kernel.org>,
Neal Gompa <neal@gompa.dev>, Janne Grunau <j@jannau.net>,
Sebastian Reichel <sre@kernel.org>
Subject: Re: [PATCH v3 1/2] power: supply: Add macsmc-power driver for Apple Silicon
Date: Thu, 15 Jan 2026 22:00:33 +0100 [thread overview]
Message-ID: <af3204c0-0492-4555-9a75-3716fa264ecd@kernel.org> (raw)
In-Reply-To: <20260115-b4-macsmc-power-v3-1-c236e09874be@gmail.com>
Hi,
On 1/15/26 08:08, Michael Reeves via B4 Relay wrote:
> From: Michael Reeves <michael.reeves077@gmail.com>
>
> This driver provides battery and AC status monitoring for Apple Silicon
> Macs via the SMC (System Management Controller). It supports
> reporting capacity, voltage, current, and charging status.
>
> Co-developed-by: Hector Martin <marcan@marcan.st>
> Signed-off-by: Hector Martin <marcan@marcan.st>
> Reviewed-by: Neal Gompa <neal@gompa.dev>
> Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
> ---
> MAINTAINERS | 1 +
> drivers/power/supply/Kconfig | 11 +
> drivers/power/supply/Makefile | 1 +
> drivers/power/supply/macsmc-power.c | 834 ++++++++++++++++++++++++++++++++++++
> 4 files changed, 847 insertions(+)
[...]
> +
> +static int macsmc_power_event(struct notifier_block *nb, unsigned long event, void *data)
> +{
> + struct macsmc_power *power = container_of(nb, struct macsmc_power, nb);
> +
> + /*
> + * SMC Event IDs are reverse-engineered.
Any chance you meant something else here? The event IDs aren't special,
everything here is reverse-engineered ;)
No need to change this imho unless there's another reason for a v4 though:
Reviewed-by: Sven Peter <sven@kernel.org>
Sven
next prev parent reply other threads:[~2026-01-15 21:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 7:08 [PATCH v3 0/2] Add Apple Silicon SMC power driver Michael Reeves via B4 Relay
2026-01-15 7:08 ` [PATCH v3 1/2] power: supply: Add macsmc-power driver for Apple Silicon Michael Reeves via B4 Relay
2026-01-15 21:00 ` Sven Peter [this message]
2026-01-18 12:53 ` Michael Reeves
2026-01-17 12:26 ` Janne Grunau
2026-01-18 12:19 ` Nick Chan
2026-01-18 12:49 ` Janne Grunau
2026-01-18 12:59 ` Michael Reeves
2026-01-15 7:08 ` [PATCH v3 2/2] mfd: macsmc: Wire up Apple SMC power driver Michael Reeves via B4 Relay
2026-01-17 12:32 ` Janne Grunau
2026-01-18 13:01 ` Michael Reeves
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=af3204c0-0492-4555-9a75-3716fa264ecd@kernel.org \
--to=sven@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=j@jannau.net \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=marcan@marcan.st \
--cc=michael.reeves077@gmail.com \
--cc=neal@gompa.dev \
--cc=sre@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®