linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Add OF support for Microchip emc2305 fan controller
@ 2025-03-18  8:54 florin.leotescu
  2025-03-18  8:54 ` [PATCH v5 1/3] dt-bindings: hwmon: Add Microchip emc2305 support florin.leotescu
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: florin.leotescu @ 2025-03-18  8:54 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Shych, linux-hwmon, devicetree,
	linux-kernel
  Cc: viorel.suman, carlos.song, linux-arm-kernel, imx, festevam,
	Florin Leotescu

From: Florin Leotescu <florin.leotescu@nxp.com>

This patch series add initial OF support for Microchip emc2305 fan controller.

Changes since v4:
- Corrected quotes to have a consistent definition.
- Corrected DTS coding style as recommended by Krzysztof Kozlowski.
- Updated pwms phandle to include pwm frequency, pwm polarity and pwm output,
  as recommended by Guenter Roeck and skipped the pwm channel as recommended by Krzysztof Kozlowski.
- Documented the pwms args in #pwm-cells description.
- Updated pwms phandle in dt-binding example to include pwm frequency and 
  use PWM_POLARITY_INVERTED macro to inverse the PWM polarity. 

Changes since v3:
- Removed thermal_cooling_device_register_fail label since is no longer needed
  and replaced goto with imediate return, as recommended by Guenter Roeck. 
- Redefined compatible property in dt-binding, as recommended by Frank Li.
- Updated driver of compatible list.
- Renamed node name in the dt-binding example, as recommended by Connor Dooley.
- Corrected dt-binding commit subject.
- Added dt-binding fan descriptions and $ref to fan schema, 
  as Connor Dooley & Krzysztof Kozlowski recommended.
  Used similar as on maxim,max6639 and nuvoton,nct7363. 
- Updated dt-binding example.

Changes since v2:
- Removed the introduction of new properties for now and we only 
  enable basic OF support.
- Link to previous version: 
  https://lore.kernel.org/linux-arm-kernel/20250219133221.2641041-3-florin.leotescu@oss.nxp.com/T/

Florin Leotescu (3):
  dt-bindings: hwmon: Add Microchip emc2305 support
  hwmon: emc2305: Add OF support
  hwmon: emc2305: Use devm_thermal_of_cooling_device_register

 .../bindings/hwmon/microchip,emc2305.yaml     | 113 ++++++++++++++++++
 drivers/hwmon/emc2305.c                       |  38 ++----
 2 files changed, 123 insertions(+), 28 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml

-- 
2.34.1



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

end of thread, other threads:[~2025-03-21  8:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18  8:54 [PATCH v5 0/3] Add OF support for Microchip emc2305 fan controller florin.leotescu
2025-03-18  8:54 ` [PATCH v5 1/3] dt-bindings: hwmon: Add Microchip emc2305 support florin.leotescu
2025-03-18 15:22   ` Guenter Roeck
2025-03-18 15:33     ` Daniel Baluta
2025-03-18 16:37       ` Guenter Roeck
2025-03-19  7:06         ` Daniel Baluta
2025-03-19  8:33         ` Krzysztof Kozlowski
2025-03-19  8:31   ` Krzysztof Kozlowski
2025-03-19 11:54     ` Florin Leotescu (OSS)
2025-03-21  7:59       ` Krzysztof Kozlowski
2025-03-18  8:54 ` [PATCH v5 2/3] hwmon: emc2305: Add OF support florin.leotescu
2025-03-18  8:54 ` [PATCH v5 3/3] hwmon: emc2305: Use devm_thermal_of_cooling_device_register florin.leotescu

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).