|
|
Log in / Subscribe / Register

Support ROHM BD127x0 hot-swap controllers

From:  Matti Vaittinen <matti.vaittinen-AT-linux.dev>
To:  Matti Vaittinen <mazziesaccount-AT-gmail.com>, Matti Vaittinen <matti.vaittinen-AT-fi.rohmeurope.com>, Matti Vaittinen <matti.vaittinen-AT-linux.dev>
Subject:  [PATCH 0/7] Support ROHM BD127x0 hot-swap controllers
Date:  Tue, 16 Jun 2026 09:33:45 +0300
Message-ID:  <cover.1781591132.git.mazziesaccount@gmail.com>
Cc:  Guenter Roeck <linux-AT-roeck-us.net>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Jonathan Corbet <corbet-AT-lwn.net>, Shuah Khan <skhan-AT-linuxfoundation.org>, Wensheng Wang <wenswang-AT-yeah.net>, Ashish Yadav <ashish.yadav-AT-infineon.com>, Matti Vaittinen <mazziesaccount-AT-gmail.com>, Kim Seer Paller <kimseer.paller-AT-analog.com>, Cedric Encarnacion <cedricjustine.encarnacion-AT-analog.com>, Chris Packham <chris.packham-AT-alliedtelesis.co.nz>, Yuxi Wang <Yuxi.Wang-AT-monolithicpower.com>, Charles Hsu <hsu.yungteng-AT-gmail.com>, ChiShih Tsai <tomtsai764-AT-gmail.com>, linux-hwmon-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org
Archive-link:  Article

Support ROHM BD12780(A) and BD12790

The BD12780 and BD12780A hot-swap controllers are very similar to Analog
Devices ADM1278. There are only some minor differences in the registers.

The BD12790 is largely similar to the ADM1272, with slightly different
coefficients and minor register changes.

This series adds basic support for these ROHM ICs.

The last patch adds of_device_id table with entries for the newly added
controllers. This fixes the module auto-load on the test board with old
Debian user-space.

I have no idea if adding the of_device_id -entries for other ICs could
cause problems in some existing systems. Hence only new ICs were added
to the of_device_id tables.

---

Matti Vaittinen (7):
  dt-bindings: adm1275: ROHM BD12780 hot-swap controller
  doc: Add ROHM BD12780 and BD12780A
  hwmon: adm1275: Support ROHM BD12780
  dt-bindings: adm1275: ROHM BD12790 hot-swap controller
  doc: adm1275: Add ROHM BD12790
  hwmon: adm1275: Support ROHM BD12790
  hwmon: adm1275: Support module auto-loading

 .../bindings/hwmon/adi,adm1275.yaml           | 44 ++++++---
 Documentation/hwmon/adm1275.rst               | 24 +++++
 drivers/hwmon/pmbus/Kconfig                   |  4 +-
 drivers/hwmon/pmbus/adm1275.c                 | 91 +++++++++++++++++--
 4 files changed, 142 insertions(+), 21 deletions(-)


base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
-- 
2.54.0


Attachment: signature.asc (type=application/pgp-signature)

-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmow7kMACgkQeFA3/03a ocUurQf/Y6ToL3puFTfQ5XFWY8r+8z6LuUkwhZ5WsnEquFI0aC1GSR7zXZCfuEfJ GbXwLmpQqWZD1e0Xceq15i7sJXz3SkwZmq2/e3yRyO0ZxnxqvMA7Q5xi9cNBz0Sj ZBkb4hZzQj4DobBricsfk0lFsSw2VuSeZvPBjJodjeTuq6u/LvxdV1qlkPmZmpXh 1TCm1csL8DH+uXgcrP8onoLEcnlbROzJmrYs4SFMiufY11htxzhES9ygJz9nAeJW VNiCOOd7xWqmYMwMHVlt5UkOuvxoOjEZFiZ/bMJYS2RBpXTn82nDl/q7y5uh8LyA 30LQgggpDcV3GCrOSR+2o+j4b9WtkQ== =0MCT -----END PGP SIGNATURE-----


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds