From: Andreas Kemnade <andreas@kemnade.info>
To: Guenter Roeck <linux@roeck-us.net>
Cc: michielvanbeers@gmail.com, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
Pablo Mazzini <pmazzini@gmail.com>
Subject: Re: [PATCH 3/3] hwmon: Add Maxim MAX17135 temperature sensor driver
Date: Wed, 2 Dec 2026 21:13:54 +0100 [thread overview]
Message-ID: <20261202211354.5ebfd746@kemnade.info> (raw)
In-Reply-To: <6f90353b-5f7b-4279-9d4b-6f900a143be0@roeck-us.net>
On Wed, 2 Dec 2026 11:55:31 -0800
Guenter Roeck <linux@roeck-us.net> wrote:
> On 12/2/26 08:43, Michiel van Beers via B4 Relay wrote:
> > From: Michiel van Beers <michielvanbeers@gmail.com>
> >
> > The MAX17135 E-paper display PMIC has a temperature sensor that measures
> > the die and an external diode. Add a driver for it. The driver binds to
> > the auxiliary device that the regulator driver creates.
> >
> > Reading the external channel fails with -ENODATA while the chip reports
> > the diode as open or shorted.
> >
> > Signed-off-by: Michiel van Beers <michielvanbeers@gmail.com>
> > ---
> ...
> > +
> > +static const struct hwmon_channel_info * const max17135_hwmon_info[] = {
>
> If this driver isn't dropped (there seems to be a request to implement
> it as iio driver), you might want to consider adding
> HWMON_CHANNEL_INFO(chip, HWMON_C_REGISTER_TZ),
> here if there is interest to support thermal zones for this chip.
>
I think the decision is taken: comparable chips (FP9931, TPS65185, SY7636)
provide hwmon interface. It would be a mess with any consumer to deal with
different interfaces. TPS65185 (which the Pinenote has) is also hwmon
in mainline, but they have their independently developed driver.
MAX17135 is also used in some i.MX epaper evalboards, so the same
EPDC as the Kobo readers.
So just the in-kernel interface has to be added. It moves up on my
todo list.
Regards,
Andreas
prev parent reply other threads:[~2026-12-02 20:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 16:43 [PATCH 0/3] regulator: Add Maxim MAX17135 E-paper PMIC driver Michiel van Beers via B4 Relay
2026-12-02 16:43 ` [PATCH 1/3] regulator: dt-bindings: Add Maxim MAX17135 Michiel van Beers via B4 Relay
2026-12-02 16:43 ` [PATCH 2/3] regulator: Add Maxim MAX17135 driver Michiel van Beers via B4 Relay
2026-12-02 16:43 ` [PATCH 3/3] hwmon: Add Maxim MAX17135 temperature sensor driver Michiel van Beers via B4 Relay
2026-12-02 17:36 ` Andreas Kemnade
2026-12-02 19:04 ` Michiel van Beers
2026-12-02 19:55 ` Guenter Roeck
2026-12-02 20:13 ` Andreas Kemnade [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=20261202211354.5ebfd746@kemnade.info \
--to=andreas@kemnade.info \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=michielvanbeers@gmail.com \
--cc=pmazzini@gmail.com \
--cc=rdunlap@infradead.org \
--cc=robh@kernel.org \
--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