Re: [PATCH] hwmon: (cros_ec): Hide unconfigured temperature thresholds

Daniel Schaefer <[email protected]> Wed, 29 Jul 2026 00:55:25 +0800
Newsgroups dev.linux.lists.chrome-platform,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel
Message-ID <CAAjcXz641LW9JCrz_kNDBCw7kZPt0H5wyvk_qRoFgT-9xe0b+A@mail.gmail.com>
> Is the limit just not configured or indeed unsupported ?
>
> If it is indeed unsupported, this is ok. If it is supported but not set
> (and it is configurable), this is not ok and will require a better solution.

This driver only supports reading thresholds, not setting them.
So I would say not configured and not supported are equivalent.

In our case if there is nothing useful for the EC to do with a
specific threshold (e.g. warn), then we don't set it.
I think chromebooks send a notification to a userspace daemon on warn threshold,
but we don't have that, so we don't do anything and don't set a threshold.