1.. SPDX-License-Identifier: GPL-2.0-or-later
2
3Kernel driver oxp-sensors
4=========================
5
6Author:
7    - Joaquín Ignacio Aramendía <samsagax@gmail.com>
8
9Description:
10------------
11
12One X Player devices from One Netbook provide fan readings and fan control
13through its Embedded Controller.
14
15Currently only supports AMD boards from the One X Player and AOK ZOE lineup.
16Intel boards could be supported if we could figure out the EC registers and
17values to write to since the EC layout and model is different.
18
19Supported devices
20-----------------
21
22Currently the driver supports the following handhelds:
23
24 - AOK ZOE A1
25 - OneXPlayer AMD
26 - OneXPlayer mini AMD
27 - OneXPlayer mini AMD PRO
28
29Sysfs entries
30-------------
31
32The following attributes are supported:
33
34fan1_input
35  Read Only. Reads current fan RMP.
36
37pwm1_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
41pwm1
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.
45