Re: [PATCH v2 2/4] hwmon: (pmbus/ltc2978) Add support for LT7175 and LT7176P
From: Guenter Roeck
Date: Tue Nov 17 2026 - 13:42:51 EST
On Tue, Nov 10, 2026 at 06:00:41PM +0800, Christopher de Guzman wrote:
> Add support for the LT7175 and LT7176P PMBus buck regulators. Both
> share the LT7170 family MFR_SPECIAL_ID (0x1C1D, masked to 0x1C10) and
> use the same register layout and configuration as LT7170/LT7171.
>
> Chips in this family are distinguished by their PMBUS_IC_DEVICE_ID
> string. Instead of adding another strncmp() per chip, match the
> returned string against ltc2978_id[], as is already done for the
> PMBUS_MFR_MODEL fallback. Only entries whose name fits within the
> returned data are compared, so the buffer is never read past the
> returned length. Suffixed variants such as LT7175-1 match their base
> entry.
>
> Signed-off-by: Christopher de Guzman <christopher.deguzman@xxxxxxxxxx>
Applied, with the assumption that the ieee754 related bug will be fixed
with a separate patch.
Thanks,
Guenter