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 lineup. Intel boards 16could be supported if we could figure out the EC registers and values to write 17to since the EC layout and model is different. 18 19Sysfs entries 20------------- 21 22The following attributes are supported: 23 24fan1_input 25 Read Only. Reads current fan RMP. 26 27pwm1_enable 28 Read Write. Enable manual fan control. Write "1" to set to manual, write "0" 29 to let the EC control de fan speed. Read this attribute to see current status. 30 31pwm1 32 Read Write. Read this attribute to see current duty cycle in the range [0-255]. 33 When pwm1_enable is set to "1" (manual) write any value in the range [0-255] 34 to set fan speed. 35