[PATCH] dt-bindings: hwmon: pmbus: mps,mpq8785: add #thermal-sensor-cells

From: Vincent Jardin via B4 Relay

Date: Wed Sep 30 2026 - 10:16:15 EST


From: Vincent Jardin <vjardin@xxxxxxx>

Since commit
3aa74796cfd0 ("hwmon: (pmbus) Register with thermal for PSC_TEMPERATURE")
the PMBus core calls devm_thermal_of_zone_register() for every
temperature input, so the devices of this binding can be referenced as
thermal sensors.

By code review, it should work for the MPQ and MPM device bindings.
They register a single page with PMBUS_HAVE_TEMP through
pmbus_do_probe(), it means that one device has one
temperature input, temp1.

The sensor id is the hwmon index of the input (temp1 is 1), so one cell
is needed.

Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
---
Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
index d7a32fb3b7af..36760d89f665 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
@@ -34,6 +34,9 @@ properties:
maximum: 4095
default: 706

+ "#thermal-sensor-cells":
+ const: 1
+
required:
- compatible
- reg

---
base-commit: 4781ca52761e666cf18b591e6bb0478396c90320
change-id: 20260930-for-upstream-dt-mpq8785-thermal-sensor-cells-c77fa6da5406

Best regards,
--
Vincent Jardin <vjardin@xxxxxxx>