[PATCH 0/3] hwmon: (pmbus/tps53679) Add TPS536C7
From: Pradhan, Sanman <hidden>
Date: 2026-09-04 22:09:21
Also in:
linux-doc, linux-hwmon, lkml
From: Sanman Pradhan <psanman@juniper.net> TPS536C7 is a TI dual-channel D-CAP+ step-down controller. Its two channels are distributed across a configurable number of phases (N+M, up to 12 total), and whether channel B (PMBus page 1) exists depends on the phase configuration, so the page count is derived at probe time. Patch 1 fixes a pre-existing TPS53676 bug in the phase-configuration parser (it tested the firing-order bit instead of the PAGE bit), which miscounts channel-B phases on dual-channel parts; it is also a prerequisite for reusing that parser for TPS536C7. Patch 2 adds the compatible string. Patch 3 adds the driver support via a shared helper, exposing aggregate per-channel telemetry only (TPS536C7 can exceed PMBUS_PHASES, so per-phase telemetry is not reported). Tested on a TPS536C7 in a QFX5230 using a Linux 5.15 backport of this driver; the part was configured for channel A only. CAPABILITY read back 0xd0; block reads of IC_DEVICE_ID and USER_DATA_03 failed with -EBADMSG when PEC was enabled, while the same reads without PEC returned the expected 6- and 24-byte payloads, and byte/word telemetry kept working with PEC. The series itself is built and checked against hwmon-next. The dual-channel (page 1) path is exercised by inspection only, as no such part was available. Note: Senthil Muniyappan, credited in patch 3, has left the company. Sanman Pradhan (3): hwmon: (pmbus/tps53679) Fix TPS53676 phase page decoding dt-bindings: trivial-devices: Add TI TPS536C7 hwmon: (pmbus/tps53679) Add support for TPS536C7 .../devicetree/bindings/trivial-devices.yaml | 2 + Documentation/hwmon/tps53679.rst | 23 +++- drivers/hwmon/pmbus/Kconfig | 2 +- drivers/hwmon/pmbus/tps53679.c | 128 ++++++++++++++++-- 4 files changed, 136 insertions(+), 19 deletions(-) base-commit: ba08432bda66a7889d8f3d1581dabf10f59b25eb -- 2.34.1