linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: (tps23861) add class restrictions and semi-auto mode support
@ 2025-08-11 16:13 Gregory Fuchedgi via B4 Relay
  2025-08-11 16:13 ` [PATCH v2 1/2] " Gregory Fuchedgi via B4 Relay
  2025-08-11 16:13 ` [PATCH v2 2/2] dt-bindings: hwmon: update TI TPS23861 bindings with per-port schema Gregory Fuchedgi via B4 Relay
  0 siblings, 2 replies; 8+ messages in thread
From: Gregory Fuchedgi via B4 Relay @ 2025-08-11 16:13 UTC (permalink / raw)
  To: Robert Marko, Luka Perkov, Jean Delvare, Guenter Roeck,
	Jonathan Corbet, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-hwmon, linux-doc, linux-kernel, devicetree,
	Gregory Fuchedgi

This patch series introduces per-port device tree configuration with poe class
restrictions. Also adds optional reset/shutdown gpios.

Tested with hw poe tester:
 - Auto mode tested with no per-port DT settings as well as explicit port DT
   class=4. Tested that no IRQ is required in this case.
 - Semi-Auto mode with class restricted to 0, 1, 2 or 3. IRQ required.
 - Tested current cut-offs in Semi-Auto mode.
 - On/off by default setting tested for both Auto and Semi-Auto modes.
 - Tested fully disabling the ports in DT.
 - Tested with both reset and shutdown gpios defined, as well as with reset
   only, as well as with neither reset nor shutdown.

V1->V2:
 - code cleanup
 - split bindings into separate patch
 - use patternProperties
 - use labels instead of DT node names
 - add few comments for clarity

Signed-off-by: Gregory Fuchedgi <gfuchedgi@gmail.com>
---
Gregory Fuchedgi (2):
      hwmon: (tps23861) add class restrictions and semi-auto mode support
      dt-bindings: hwmon: update TI TPS23861 bindings with per-port schema

 .../devicetree/bindings/hwmon/ti,tps23861.yaml     |  86 +++++++
 Documentation/hwmon/tps23861.rst                   |   6 +-
 drivers/hwmon/tps23861.c                           | 249 ++++++++++++++++++++-
 3 files changed, 335 insertions(+), 6 deletions(-)
---
base-commit: b1549501188cc9eba732c25b033df7a53ccc341f
change-id: 20250808-hwmon-tps23861-add-class-restrictions-83ce3c02d885

Best regards,
-- 
Gregory Fuchedgi <gfuchedgi@gmail.com>



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

end of thread, other threads:[~2025-08-19 17:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 16:13 [PATCH v2 0/2] hwmon: (tps23861) add class restrictions and semi-auto mode support Gregory Fuchedgi via B4 Relay
2025-08-11 16:13 ` [PATCH v2 1/2] " Gregory Fuchedgi via B4 Relay
2025-08-11 16:13 ` [PATCH v2 2/2] dt-bindings: hwmon: update TI TPS23861 bindings with per-port schema Gregory Fuchedgi via B4 Relay
2025-08-12  7:20   ` Krzysztof Kozlowski
2025-08-13  3:00     ` Gregory Fuchedgi
2025-08-17  7:23       ` Krzysztof Kozlowski
2025-08-18 17:31         ` Rob Herring
2025-08-19 17:50           ` Gregory Fuchedgi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).