Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / Documentation / hwmon / oxp-sensors.rst
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver oxp-sensors
4 =========================
5
6 Author:
7     - Joaquín Ignacio Aramendía <samsagax@gmail.com>
8
9 Description:
10 ------------
11
12 One X Player devices from One Netbook provide fan readings and fan control
13 through its Embedded Controller.
14
15 Currently only supports AMD boards from the One X Player and AOK ZOE lineup.
16 Intel boards could be supported if we could figure out the EC registers and
17 values to write to since the EC layout and model is different.
18
19 Supported devices
20 -----------------
21
22 Currently the driver supports the following handhelds:
23
24  - AOK ZOE A1
25  - OneXPlayer AMD
26  - OneXPlayer mini AMD
27  - OneXPlayer mini AMD PRO
28
29 Sysfs entries
30 -------------
31
32 The following attributes are supported:
33
34 fan1_input
35   Read Only. Reads current fan RMP.
36
37 pwm1_enable
38   Read Write. Enable manual fan control. Write "1" to set to manual, write "0"
39   to let the EC control de fan speed. Read this attribute to see current status.
40
41 pwm1
42   Read Write. Read this attribute to see current duty cycle in the range [0-255].
43   When pwm1_enable is set to "1" (manual) write any value in the range [0-255]
44   to set fan speed.