Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Surface fan monitoring driver
@ 2024-01-13 18:33 Ivor Wanders
  2024-01-13 18:33 ` [PATCH v3 1/2] platform/surface: aggregator_registry: add entry for fan speed Ivor Wanders
  2024-01-13 18:33 ` [PATCH v3 2/2] hwmon: add fan speed monitoring driver for Surface devices Ivor Wanders
  0 siblings, 2 replies; 6+ messages in thread
From: Ivor Wanders @ 2024-01-13 18:33 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Jonathan Corbet, Maximilian Luz,
	Ivor Wanders, Hans de Goede, Mark Gross
  Cc: linux-hwmon, linux-doc, linux-kernel, platform-driver-x86

Third version of a hwmon driver to monitor the fan's rpm on Microsoft 
Surface devices, originally submitted in [1], v2 at [2]. All changes since
v2 are incorporating feedback, cleaning up and simplifying the module.

Changes in v3:
  - Removed type and attr checks in read and is_visible.
  - Removed assigning sdev to ssam_device drvdata.
  - Propagate return from __ssam_fan_rpm_get.
  - Renamed hwmon chip name from 'fan' to 'surface_fan'.
  - Removed unnecessary platform_device header.
Changes in v2:
  - Removed all unsupported sysfs attributes from the hwmon driver, leaving
    the fan input as the only supported attribute.

[1] https://lore.kernel.org/linux-hwmon/20231220234415.5219-1-ivor@iwanders.net/T/
[2] https://lore.kernel.org/linux-hwmon/20231228003444.5580-1-ivor@iwanders.net/T/

Ivor Wanders (2):
  platform/surface: aggregator_registry: add entry for fan speed
  hwmon: add fan speed monitoring driver for Surface devices

 Documentation/hwmon/index.rst                 |  1 +
 Documentation/hwmon/surface_fan.rst           | 25 +++++
 MAINTAINERS                                   |  8 ++
 drivers/hwmon/Kconfig                         | 13 +++
 drivers/hwmon/Makefile                        |  1 +
 drivers/hwmon/surface_fan.c                   | 93 +++++++++++++++++++
 .../surface/surface_aggregator_registry.c     |  7 ++
 7 files changed, 148 insertions(+)
 create mode 100644 Documentation/hwmon/surface_fan.rst
 create mode 100644 drivers/hwmon/surface_fan.c

-- 
2.17.1


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

end of thread, other threads:[~2024-01-27 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-13 18:33 [PATCH v3 0/2] Surface fan monitoring driver Ivor Wanders
2024-01-13 18:33 ` [PATCH v3 1/2] platform/surface: aggregator_registry: add entry for fan speed Ivor Wanders
2024-01-13 18:33 ` [PATCH v3 2/2] hwmon: add fan speed monitoring driver for Surface devices Ivor Wanders
2024-01-24 18:38   ` Maximilian Luz
2024-01-25 15:19   ` Armin Wolf
2024-01-27 20:28     ` Ivor Wanders

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