Skip to content

Support ROHM BD127x0 hot-swap controllers

Matti Vaittinen linux-devicetree linux-doc linux-hwmon lkml sashiko-reviews 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 13 repliesApplied
  2. v17 patches 15 repliesSuperseded

Changes in v2 from the cover letter

dt-bindings:
- Fix compatible list as suggested by Krzysztof
adm1275:
- Add patches to fix issues pointed by Sashiko.
- Add of_device_ids for all supported devices.
- Add own switch 'case's for the new ICs instead of overloading existing ones
- Drop i2c_device_id for bd12780a
- Don't use IC-wildcard in macro name.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9dt-bindings: adm1275: ROHM BD12780 hot-swap controllerDocumentation/devicetree/bindings/hwmon/adi,adm1275.yaml+27 -112 replies
2/9hwmon: adm1275: Prevent reading uninitialized stackdrivers/hwmon/pmbus/adm1275.c+1 -11 reply
3/9hwmon: adm1275: Detect coefficient overflowdrivers/hwmon/pmbus/adm1275.c+14 -41 reply
4/9hwmon: adm1275: Support module auto-loadingdrivers/hwmon/pmbus/adm1275.c+16 -01 reply
5/9doc: Add ROHM BD12780 and BD12780ADocumentation/hwmon/adm1275.rst+16 -01 reply
6/9hwmon: adm1275: Support ROHM BD12780drivers/hwmon/pmbus/Kconfig drivers/hwmon/pmbus/adm1275.c+48 -91 reply
7/9dt-bindings: adm1275: ROHM BD12790 hot-swap controllerDocumentation/devicetree/bindings/hwmon/adi,adm1275.yaml+5 -01 reply
8/9doc: adm1275: Add ROHM BD12790Documentation/hwmon/adm1275.rst+8 -01 reply
9/9hwmon: adm1275: Support ROHM BD12790drivers/hwmon/pmbus/Kconfig drivers/hwmon/pmbus/adm1275.c+78 -54 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9A-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] Support ROHM BD127x0 hot-swap controllers

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.

Additionally, this series contains couple of fixes, which can be applied independently from the bd127x0 support patches. Fixes are:

Patch 2/9: Prevent read from uninitialized stack (found by Sashiko) Patch 3/9: Prevent coefficient overflow with larget shunt resistor (found
by Sashiko)
Patch 4/9: Support module auto-loading when DT is used.

Revision history:
v1 => v2:
dt-bindings:
- Fix compatible list as suggested by Krzysztof
adm1275:
- Add patches to fix issues pointed by Sashiko.
- Add of_device_ids for all supported devices.
- Add own switch 'case's for the new ICs instead of overloading existing ones
- Drop i2c_device_id for bd12780a
- Don't use IC-wildcard in macro name.

---

Matti Vaittinen (9):
dt-bindings: adm1275: ROHM BD12780 hot-swap controller
hwmon: adm1275: Prevent reading uninitialized stack
hwmon: adm1275: Detect coefficient overflow
hwmon: adm1275: Support module auto-loading
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

 .../bindings/hwmon/adi,adm1275.yaml           |  43 +++--
 Documentation/hwmon/adm1275.rst               |  24 +++
 drivers/hwmon/pmbus/Kconfig                   |   4 +-
 drivers/hwmon/pmbus/adm1275.c                 | 162 ++++++++++++++++--
 4 files changed, 208 insertions(+), 25 deletions(-)

base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731

Signature · 1 line
2.54.0