diff options
author | Derek J. Clark <derekjohn.clark@gmail.com> | 2024-08-22 21:35:25 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-08-27 18:10:33 +0300 |
commit | b82b38a49926b7d8e17d79db7959586313a99582 (patch) | |
tree | 3c640e62085e4cbf3dd3d927ca807c396ee8afe8 /drivers/comedi/comedi_usb.c | |
parent | 0830d3bbdabc4fb6ee0318142c2e81398e4815d9 (diff) | |
download | linux-b82b38a49926b7d8e17d79db7959586313a99582.tar.xz |
hwmon: (oxp-sensors) Add support for multiple new devices.
Add support for the OrangePi NEO-01. It uses different registers for PWM
manual mode, set PWM, and read fan speed than previous devices. Valid PWM
input and duty cycle is 1-244, we scale this from 1-255 to maintain
compatibility with the existing interface.
Add OneXPlayer 2 series, OneXFly, and X1 series models. The 2/X1 series use
new registers for turbo button takeover and read fan speed. X1 has an Intel
variant so change the CPU detection at init to only check for the affected
devices. While at it, adjust formatting of some constants and reorder all
cases alphabetically for consistency. Rename OXP_OLD constants to OXP_MINI
for disambiguation. Update code comments for clarity.
Add support for AYANEO models 2S, AIR 1S, Flip series, GEEK 1S, and KUN.
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Tested-by: Kevin Greenberg <kdgreenberg234@protonmail.com>
Tested-by: Joshua Tam <csinaction@pm.me>
Tested-by: Parth Menon <parthasarathymenon@gmail.com>
Tested-by: Philip Müller <philm@manjaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408160329.TLNbIwRC-lkp@intel.com/
Message-ID: <20240822183525.27289-2-derekjohn.clark@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/comedi/comedi_usb.c')
0 files changed, 0 insertions, 0 deletions