1 .. SPDX-License-Identifier: GPL-2.0-or-later 1 .. SPDX-License-Identifier: GPL-2.0-or-later 2 2 3 Kernel driver oxp-sensors 3 Kernel driver oxp-sensors 4 ========================= 4 ========================= 5 5 6 Authors: !! 6 Author: 7 - Derek John Clark <derekjohn.clark@gmail.c << 8 - Joaquín Ignacio Aramendía <samsagax@gma 7 - Joaquín Ignacio Aramendía <samsagax@gmail.com> 9 8 10 Description: 9 Description: 11 ------------ 10 ------------ 12 11 13 Handheld devices from One Netbook and Aya Neo !! 12 One X Player devices from One Netbook provide fan readings and fan control 14 control through their embedded controllers. !! 13 through its Embedded Controller. 15 14 16 Currently only supports AMD boards from One X !! 15 Currently only supports AMD boards from the One X Player and AOK ZOE lineup. 17 Neo devices. One X Player Intel boards could b !! 16 Intel boards could be supported if we could figure out the EC registers and 18 out the EC registers and values to write to si !! 17 values to write to since the EC layout and model is different. 19 different. Aya Neo devices preceding the AIR m << 20 model is different and do not appear to have m << 21 << 22 Some models have a toggle for changing the beh << 23 button of the device. It will change the key e << 24 a flip of the `tt_toggle` attribute. See below << 25 function. << 26 18 27 Supported devices 19 Supported devices 28 ----------------- 20 ----------------- 29 21 30 Currently the driver supports the following ha 22 Currently the driver supports the following handhelds: 31 23 32 - AOK ZOE A1 24 - AOK ZOE A1 33 - AOK ZOE A1 PRO << 34 - Aya Neo 2 << 35 - Aya Neo AIR << 36 - Aya Neo AIR Plus (Mendocino) << 37 - Aya Neo AIR Pro << 38 - Aya Neo Geek << 39 - OneXPlayer AMD 25 - OneXPlayer AMD 40 - OneXPlayer mini AMD 26 - OneXPlayer mini AMD 41 - OneXPlayer mini AMD PRO 27 - OneXPlayer mini AMD PRO 42 28 43 "Turbo/Silent" button behaviour toggle is only << 44 - AOK ZOE A1 << 45 - AOK ZOE A1 PRO << 46 - OneXPlayer mini AMD (only with updated alph << 47 - OneXPlayer mini AMD PRO << 48 << 49 Sysfs entries 29 Sysfs entries 50 ------------- 30 ------------- 51 31 52 The following attributes are supported: 32 The following attributes are supported: 53 33 54 fan1_input 34 fan1_input 55 Read Only. Reads current fan RMP. 35 Read Only. Reads current fan RMP. 56 36 57 pwm1_enable 37 pwm1_enable 58 Read Write. Enable manual fan control. Write 38 Read Write. Enable manual fan control. Write "1" to set to manual, write "0" 59 to let the EC control de fan speed. Read thi 39 to let the EC control de fan speed. Read this attribute to see current status. 60 40 61 pwm1 41 pwm1 62 Read Write. Read this attribute to see curre 42 Read Write. Read this attribute to see current duty cycle in the range [0-255]. 63 When pwm1_enable is set to "1" (manual) writ 43 When pwm1_enable is set to "1" (manual) write any value in the range [0-255] 64 to set fan speed. 44 to set fan speed. 65 << 66 tt_toggle << 67 Read Write. Read this attribute to check the << 68 button behaviour function. Write "1" to acti << 69 deactivate it. The specific keycodes and beh << 70 both with this function on and off. This att << 71 driver and not to the hwmon driver (/sys/dev <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.