1 # SPDX-License-Identifier: GPL-2.0-only
3 config EC_CLEVO_IT5570E
7 IT5570E embedded controller in Clevo notebooks
11 config EC_CLEVO_IT5570E_MEM_BASE
14 Memory address for the EC memory region mapped via LGMR
16 config EC_CLEVO_IT5570E_AC_FAN_ALWAYS_ON
17 bool "Fan always on with AC attached"
20 Never turn the fan fully off when AC is attached.
22 This setting can be overridden by cmos option `ac_fan_always_on`.
24 config EC_CLEVO_IT5570E_KBLED_BOOTEFFECT
25 bool "Keyboard boot effect"
28 Enable the "breathing" boot effect of the LED keyboard.
30 This setting can be overridden by cmos option `kbled_booteffect`.
32 config EC_CLEVO_IT5570E_KBLED_TIMEOUT
33 int "Keyboard backlight timeout"
36 Keyboard backlight timeout in seconds. 0 keeps the backlight
39 This setting can be overridden by cmos option `kbled_timeout`.
41 config EC_CLEVO_IT5570E_FN_WIN_SWAP
42 bool "Swap Fn/Windows keys"
45 Swap the Fn and Windows key.
47 This setting can be overridden by cmos option `fn_win_swap`.
49 config EC_CLEVO_IT5570E_FLEXICHARGER
53 Enable the Flexicharger functionality.
55 This setting can be overridden by cmos option `flexicharger`.
57 if EC_CLEVO_IT5570E_FLEXICHARGER
59 config EC_CLEVO_IT5570E_FLEXICHG_START
60 int "Start charge threshold"
63 Start charge threshold in percent.
65 This setting can be overridden by cmos option `flexicharger_start`.
67 config EC_CLEVO_IT5570E_FLEXICHG_STOP
68 int "Stop charge threshold"
71 Stop charge threshold in percent.
73 This setting can be overridden by cmos option `flexicharger_stop`.
78 prompt "Camera default state"
79 default EC_CLEVO_IT5570E_CAM_BOOT_STATE_KEEP
83 This setting can be overridden by cmos option `camera_boot_state`.
85 config EC_CLEVO_IT5570E_CAM_BOOT_STATE_KEEP
86 bool "Keep previous state"
88 config EC_CLEVO_IT5570E_CAM_BOOT_STATE_DISABLE
91 config EC_CLEVO_IT5570E_CAM_BOOT_STATE_ENABLE
96 config EC_CLEVO_IT5570E_CAM_BOOT_STATE
98 default 0 if EC_CLEVO_IT5570E_CAM_BOOT_STATE_DISABLE
99 default 1 if EC_CLEVO_IT5570E_CAM_BOOT_STATE_ENABLE
103 prompt "Touchpad toggle mode"
104 default EC_CLEVO_IT5570E_TP_TOGGLE_MODE_CTRLALTF9
106 There are two modes for the touchpad toggle (Fn-F1):
107 - Ctrl-Alt-F9 mode sends the windows-native touchpad toggle keyboard shortcut.
108 - Keycode mode sends special key codes f7/f8 which can be configured in udev
109 to be handled as touchpad toggle.
111 This setting can be overridden by cmos option `tp_toggle_mode`.
113 config EC_CLEVO_IT5570E_TP_TOGGLE_MODE_CTRLALTF9
116 config EC_CLEVO_IT5570E_TP_TOGGLE_MODE_KEYOCDE_F7F8
121 config EC_CLEVO_IT5570E_TP_TOGGLE_MODE
123 default 0 if EC_CLEVO_IT5570E_TP_TOGGLE_MODE_CTRLALTF9
124 default 1 if EC_CLEVO_IT5570E_TP_TOGGLE_MODE_KEYOCDE_F7F8