public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] hwmon: (amc6821) Add cooling device support
@ 2025-05-30 17:46 João Paulo Gonçalves
  2025-05-30 17:46 ` [PATCH 1/3] dt-bindings: hwmon: amc6821: Add cooling levels João Paulo Gonçalves
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: João Paulo Gonçalves @ 2025-05-30 17:46 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Farouk Bouabid, Quentin Schulz
  Cc: linux-hwmon, devicetree, linux-kernel,
	João Paulo Gonçalves

Add support for using the AMC6821 as a cooling device. The AMC6821
registers with the thermal framework only if the `cooling-levels`
property is present in the fan device tree child node. Existing behavior
is unchanged, so the AMC6821 can still be used without the thermal
framework (hwmon only).

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
---
João Paulo Gonçalves (3):
      dt-bindings: hwmon: amc6821: Add cooling levels
      hwmon: (amc6821) Move reading fan data from OF to a function
      hwmon: (amc6821) Add cooling device support

 .../devicetree/bindings/hwmon/ti,amc6821.yaml      |   6 +
 drivers/hwmon/amc6821.c                            | 147 ++++++++++++++++++---
 2 files changed, 131 insertions(+), 22 deletions(-)
---
base-commit: 7e801aa73daa456c4404fde177d3fc397661abf0
change-id: 20250530-b4-v1-amc6821-cooling-device-support-b4-41efee7492d8

Best regards,
-- 
João Paulo Gonçalves <joao.goncalves@toradex.com>


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

end of thread, other threads:[~2025-06-02 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-30 17:46 [PATCH 0/3] hwmon: (amc6821) Add cooling device support João Paulo Gonçalves
2025-05-30 17:46 ` [PATCH 1/3] dt-bindings: hwmon: amc6821: Add cooling levels João Paulo Gonçalves
2025-05-30 17:46 ` [PATCH 2/3] hwmon: (amc6821) Move reading fan data from OF to a function João Paulo Gonçalves
2025-06-02 13:21   ` Quentin Schulz
2025-06-02 14:09     ` Francesco Dolcini
2025-05-30 17:46 ` [PATCH 3/3] hwmon: (amc6821) Add cooling device support João Paulo Gonçalves

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