Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface fan module #144

Merged
merged 2 commits into from
Jan 12, 2024

Commits on Dec 30, 2023

  1. platform/surface: aggregator_registry: add entry for fan speed

    Add an entry for the fan speed function.
    Add this new entry to the Surface Pro 9 group.
    
    Signed-off-by: Ivor Wanders <ivor@iwanders.net>
    Link: linux-surface#144
    Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
    ---
    Changes in v3:
      - No changes in this patch.
    Changes in v2:
      - No changes in this patch.
    iwanders committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    db26ed9 View commit details
    Browse the repository at this point in the history
  2. hwmon: add fan speed monitoring driver for Surface devices

    Adds a driver that provides read only access to the fan speed for Microsoft
    Surface Pro devices. The fan speed is always regulated by the EC and cannot
    be influenced directly.
    
    Signed-off-by: Ivor Wanders <ivor@iwanders.net>
    Link: linux-surface#144
    ---
    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 sysfs attributes except fan1_input. Simplified code
        and updated documentation accordingly.
    iwanders committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    ce58d84 View commit details
    Browse the repository at this point in the history