summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1031.c
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>2022-11-04 11:07:00 -0300
committerGuenter Roeck <linux@roeck-us.net>2022-12-04 16:45:02 -0800
commited264e8a7d18c5fec2587ed750c87b75d5348210 (patch)
tree9b7ac6bcac868b9ce2dbb68355fc062068f0efd4 /drivers/hwmon/adm1031.c
parentd5d896b838222fcd037c91c9e0e8f6ab719db05f (diff)
downloadlinux-ed264e8a7d18c5fec2587ed750c87b75d5348210.tar.bz2
hwmon: add OneXPlayer mini AMD sensors driver
Sensors driver for OXP Handhelds from One-Netbook that expose fan reading and control via hwmon sysfs. As far as I could gather all OXP boards have the same DMI strings and they can be told appart only by the boot cpu vendor (Intel/AMD). Currently only AMD boards are supported since Intel have different EC registers and values to read/write. Fan control is provided via pwm interface in the range [0-255]. AMD boards have [0-100] as range in the EC, the written value is scaled to accommodate for that. Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com> Link: https://lore.kernel.org/r/20221104140659.593608-1-samsagax@gmail.com [groeck: Removed misleading comment about module_platform_driver()] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adm1031.c')
0 files changed, 0 insertions, 0 deletions