Skip to content

hwmon: (pmbus/lm25066) Support SMBus Current Limit configuration

Potin Lai openbmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: pmbus: ti,lm25066: add current limit propertiesDocumentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml+20 -00 replies
2/2hwmon: (pmbus/lm25066) add current limit configuration supportdrivers/hwmon/pmbus/lm25066.c+37 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH linux 6.18 0/2] hwmon: (pmbus/lm25066) Support SMBus Current Limit configuration

This series adds support for configuring the current limit behavior via software override on LM25066-compatible devices (excluding LM25056) using the DEVICE_SETUP (0xD9) register.

When the 'ti,current-range' property is specified in the device tree, the driver configures the DEVICE_SETUP register's Current Limit Configuration bit (bit 2) to activate SMBus/software override and sets the Current Limit

Setting bit (bit 4) to "low" or "high" threshold accordingly. Since LM25056 does not support software override (bit 2 of DEVICE_SETUP is reserved), it is explicitly excluded from this support in both the device tree binding schema and the driver.

LORE Link: https://lore.kernel.org/all/[email protected]/

Potin Lai (2):
dt-bindings: hwmon: pmbus: ti,lm25066: add current limit properties
hwmon: (pmbus/lm25066) add current limit configuration support

 .../bindings/hwmon/pmbus/ti,lm25066.yaml      | 20 ++++++++++
 drivers/hwmon/pmbus/lm25066.c                 | 37 +++++++++++++++++++
 2 files changed, 57 insertions(+)
Signature · 1 line
2.52.0