From: "Matti Vaittinen" <matti.vaittinen@linux.dev>
To: "Guenter Roeck" <linux@roeck-us.net>
Cc: "Matti Vaittinen" <matti.vaittinen@fi.rohmeurope.com>,
"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>,
"Wensheng Wang" <wenswang@yeah.net>,
"Ashish Yadav" <ashish.yadav@infineon.com>,
"Vasileios Amoiridis" <vasileios.amoiridis@cern.ch>,
"Kim Seer Paller" <kimseer.paller@analog.com>,
"ChiShih Tsai" <tomtsai764@gmail.com>,
"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
"Robert Coulson" <robert.coulson@ericsson.com>,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 9/9] hwmon: adm1275: Support ROHM BD12790
Date: Tue, 30 Jun 2026 05:04:24 +0000 [thread overview]
Message-ID: <de7f3cf69c1fcea85dbb1ab58dd75b2a90191aca@linux.dev> (raw)
In-Reply-To: <2cf72420-8513-4856-a3cb-fe2629588d1b@roeck-us.net>
June 30, 2026 at 12:08 AM, "Guenter Roeck" <linux@roeck-us.net mailto:linux@roeck-us.net?to=%22Guenter%20Roeck%22%20%3Clinux%40roeck-us.net%3E > wrote:
>
> On Fri, Jun 26, 2026 at 10:26:02AM +0300, Matti Vaittinen wrote:
>
> >
> > From: Matti Vaittinen <mazziesaccount@gmail.com>
> >
> > Add support for ROHM BD12790 hot-swap controller which is largely
> > similar to Analog Devices adm1272.
> >
> > The BD12790 uses the same selectable 60V/100V voltage ranges and
> > 15mV/30mV current-sense ranges as the ADM1272, and the same VRANGE
> > (bit 5) and IRANGE (bit 0) layout in PMON_CONFIG. It therefore uses
> > a dedicated coefficient table that mirrors adm1272_coefficients, with
> > the following differences derived from BD12790 datasheet Table 1 (p.18):
> > - power 60V/30mV: m=17560 (vs. 17561)
> > - power 100V/30mV: m=10536 (vs. 10535)
> > - temperature: b=31880 (vs. 31871, reflecting T[11:0] = 4.2*T + 3188)
> >
> > Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
> > Assisted-by: GitHub Copilot:claude-sonnet-4.6
> >
> Applied, after fixing the comment about BD12790 coefficients as suggested.
Thanks for going the extra mile and fixing while applying. I am glad I didn't need to re-spin for this! :)
And it seems gmail is getting more and more useless :( This (and couple of other replies) never emerged in my gmail inbox. So, just as a heads-up - gmail may silently drop some messages when reveiving. :(
Yours,
-- Matti
next prev parent reply other threads:[~2026-06-30 5:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 7:21 [PATCH v2 0/9] Support ROHM BD127x0 hot-swap controllers Matti Vaittinen
2026-06-26 7:21 ` [PATCH v2 1/9] dt-bindings: adm1275: ROHM BD12780 hot-swap controller Matti Vaittinen
2026-06-26 15:58 ` Conor Dooley
2026-06-29 20:44 ` Guenter Roeck
2026-06-26 7:22 ` [PATCH v2 2/9] hwmon: adm1275: Prevent reading uninitialized stack Matti Vaittinen
2026-06-29 20:45 ` Guenter Roeck
2026-06-26 7:23 ` [PATCH v2 3/9] hwmon: adm1275: Detect coefficient overflow Matti Vaittinen
2026-06-29 20:46 ` Guenter Roeck
2026-06-26 7:24 ` [PATCH v2 4/9] hwmon: adm1275: Support module auto-loading Matti Vaittinen
2026-06-29 20:49 ` Guenter Roeck
2026-06-26 7:24 ` [PATCH v2 5/9] doc: Add ROHM BD12780 and BD12780A Matti Vaittinen
2026-06-29 20:50 ` Guenter Roeck
2026-06-26 7:24 ` [PATCH v2 6/9] hwmon: adm1275: Support ROHM BD12780 Matti Vaittinen
2026-06-29 20:55 ` Guenter Roeck
2026-06-26 7:25 ` [PATCH v2 7/9] dt-bindings: adm1275: ROHM BD12790 hot-swap controller Matti Vaittinen
2026-06-29 20:56 ` Guenter Roeck
2026-06-26 7:25 ` [PATCH v2 8/9] doc: adm1275: Add ROHM BD12790 Matti Vaittinen
2026-06-29 20:56 ` Guenter Roeck
2026-06-26 7:26 ` [PATCH v2 9/9] hwmon: adm1275: Support " Matti Vaittinen
2026-06-29 21:08 ` Guenter Roeck
2026-06-30 5:04 ` Matti Vaittinen [this message]
2026-06-30 15:00 ` 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=de7f3cf69c1fcea85dbb1ab58dd75b2a90191aca@linux.dev \
--to=matti.vaittinen@linux.dev \
--cc=ashish.yadav@infineon.com \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=kimseer.paller@analog.com \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=robert.coulson@ericsson.com \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=tomtsai764@gmail.com \
--cc=vasileios.amoiridis@cern.ch \
--cc=wenswang@yeah.net \
/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