All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "William A. Kennington III" <william@wkennington.com>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH] hwmon: (pmbus/max34440): Do not treat ASCII MFR_REVISION as MAX34451ETNA6+
Date: Sat, 28 Nov 2026 02:55:05 +0000	[thread overview]
Message-ID: <sashiko-outbox-238422@kernel.org> (raw)
In-Reply-To: <20261128025223.2680033-1-william@wkennington.com>

> Per the MAX34451 datasheet, legacy MAX34451 parts return two ISO/IEC
> 8859-1 characters in MFR_REVISION (0x9b). On an NPCM730 BMC, both
> MAX34451 devices (MFR_ID 0x4d, MFR_MODEL 0x59) return 0x3236.
> 
> Comparing rv >= MAX34451ETNA6_MFR_REV (0x0012) and rv >=
> MAX34451ETNA8_MFR_REV (0x0014) without checking the upper byte
> misidentifies these legacy chips as MAX34451ETNA8+. That switches
> PSC_VOLTAGE_OUT from 1 mV/LSB to 8 mV/LSB, reporting every voltage
> rail 8x too high, and exposes unsupported VIN channels reading -8 mV.
> 
> Require rv < 0x0100 before applying the ETNA6+/ETNA8+ quirks. Tested
> on that hardware: the voltage rails read 1x again and the bogus VIN
> channels disappear.
> 
> Fixes: 19932f844f3f ("hwmon: (pmbus/max34440) Fix support for max34451")
> Fixes: 596f410c05b1 ("hwmon: (pmbus/max34440): add support for newer version of max34451")
> Signed-off-by: William A. Kennington III <william@wkennington.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128025223.2680033-1-william@wkennington.com?part=1

  reply	other threads:[~2026-11-28  2:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  2:52 [PATCH] hwmon: (pmbus/max34440): Do not treat ASCII MFR_REVISION as MAX34451ETNA6+ William A. Kennington III
2026-11-28  2:55 ` sashiko-bot [this message]
2026-11-28 10:35 ` Guenter Roeck

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=sashiko-outbox-238422@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=william@wkennington.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.