mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: 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>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
	Andreas Kemnade <andreas@kemnade.info>,
	Pablo Mazzini <pmazzini@gmail.com>
Subject: Re: [PATCH 3/3] hwmon: Add Maxim MAX17135 temperature sensor driver
Date: Wed, 2 Dec 2026 11:55:31 -0800	[thread overview]
Message-ID: <6f90353b-5f7b-4279-9d4b-6f900a143be0@roeck-us.net> (raw)
In-Reply-To: <20261202-max17135-v1-3-beae6b70d575@gmail.com>

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.

No preference from my side, so

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

from my side.

Thanks,
Guenter

> +	HWMON_CHANNEL_INFO(temp,
> +			   HWMON_T_INPUT,
> +			   HWMON_T_INPUT | HWMON_T_FAULT),
> +	NULL
> +};

  parent reply	other threads:[~2026-12-02 19:55 UTC|newest]

Thread overview: 9+ 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
     [not found]   ` <sashiko-outbox-246267@kernel.org>
2026-12-03 19:36     ` Michiel van Beers
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 [this message]
2026-12-02 20:13     ` Andreas Kemnade

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=6f90353b-5f7b-4279-9d4b-6f900a143be0@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=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=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

all inboxes | Powered by JetHome®