Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: (pmbus/tps53679) Add TPS536C7
@ 2026-09-04 22:08 Pradhan, Sanman
  2026-09-04 22:08 ` [PATCH 1/3] hwmon: (pmbus/tps53679) Fix TPS53676 phase page decoding Pradhan, Sanman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pradhan, Sanman @ 2026-09-04 22:08 UTC (permalink / raw)
  To: Guenter Roeck, Jonathan Corbet, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Sanman Pradhan

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-04 22:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 22:08 [PATCH 0/3] hwmon: (pmbus/tps53679) Add TPS536C7 Pradhan, Sanman
2026-09-04 22:08 ` [PATCH 1/3] hwmon: (pmbus/tps53679) Fix TPS53676 phase page decoding Pradhan, Sanman
2026-09-04 22:09 ` [PATCH 2/3] dt-bindings: trivial-devices: Add TI TPS536C7 Pradhan, Sanman
2026-09-04 22:09 ` [PATCH] hwmon: (pmbus/tps53679) Add support for TPS536C7 Pradhan, Sanman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox