]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: system76_acpi: Report temperature and fan speed
authorJeremy Soller <jeremy@system76.com>
Wed, 6 Oct 2021 20:21:59 +0000 (14:21 -0600)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 Oct 2021 14:30:55 +0000 (16:30 +0200)
commit1031dc88fafc0bf7b3d0383564e6ac0b7301812c
treec4a6ea4ae979c8b412144dd657085ac7354404ec
parent36472ce625d8351524fa9b5a4d3df288cacf31e6
platform/x86: system76_acpi: Report temperature and fan speed

Add a hwmon interface to report CPU/GPU temperature and fan speed.
sensors now reports an ACPI interface with the entries:

system76_acpi-acpi-0
Adapter: ACPI interface
CPU fan:        0 RPM
GPU fan:        0 RPM
CPU temp:     +47.0°C
GPU temp:      +0.0°C

Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Link: https://lore.kernel.org/r/20211006202202.7479-2-tcrawford@system76.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/system76_acpi.c