From: Guenter Roeck <linux@roeck-us.net>
To: Christopher de Guzman <christopher.deguzman@analog.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 2/4] hwmon: (pmbus/ltc2978) Add support for LT7175 and LT7176P
Date: Tue, 17 Nov 2026 10:42:42 -0800 [thread overview]
Message-ID: <175a2d96-3716-4fbe-886f-42040c8d54f7@roeck-us.net> (raw)
In-Reply-To: <20261110-upstream-lt7175-lt7176p-v2-2-dd60d28383bf@analog.com>
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@analog.com>
Applied, with the assumption that the ieee754 related bug will be fixed
with a separate patch.
Thanks,
Guenter
next prev parent reply other threads:[~2026-11-17 18:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 10:00 [PATCH v2 0/4] " Christopher de Guzman
2026-11-10 10:00 ` [PATCH v2 1/4] dt-bindings: hwmon: ltc2978: " Christopher de Guzman
2026-11-11 12:05 ` Krzysztof Kozlowski
2026-11-17 18:41 ` Guenter Roeck
2026-11-10 10:00 ` [PATCH v2 2/4] hwmon: (pmbus/ltc2978) " Christopher de Guzman
2026-11-17 18:42 ` Guenter Roeck [this message]
2026-11-10 10:00 ` [PATCH v2 3/4] hwmon: ltc2978: Document LT7175 and LT7176P support Christopher de Guzman
2026-11-17 18:43 ` Guenter Roeck
2026-11-10 10:00 ` [PATCH v2 4/4] hwmon: ltc2978: Remove LT7170 and LT7171 from curr1 iin documentation Christopher de Guzman
2026-11-17 18:44 ` 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=175a2d96-3716-4fbe-886f-42040c8d54f7@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Frank.Li@nxp.com \
--cc=christopher.deguzman@analog.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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®