1 ## SPDX-License-Identifier: GPL-2.0-only
3 config EC_STARLABS_NUVOTON
7 Interface to Nuvoton embedded controller principally in Star Labs notebooks.
13 Interface to ITE embedded controller principally in Star Labs notebooks.
14 Works with closed-source ITE firmware versions:
18 And open-source Merlin firmware version 1.00 or later
20 config EC_STARLABS_NEED_ITE_BIN
22 depends on EC_STARLABS_ITE
24 Select if the mainboard requires EC firmware in the main flash chip.
26 config EC_STARLABS_ADD_ITE_BIN
27 bool "Add Star Labs EC binary file"
29 depends on EC_STARLABS_NEED_ITE_BIN
31 Select to add an EC firmware binary into the coreboot image. EC firmware
32 is necessary, flashing a coreboot image without EC firmware will render
35 config EC_STARLABS_ITE_BIN_PATH
36 string "Star Labs EC binary file path"
37 depends on EC_STARLABS_ADD_ITE_BIN
39 config EC_STARLABS_KBL_LEVELS
42 depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON
44 Select if the mainboard supports multiple levels of brightness for the keyboard.
46 config EC_STARLABS_FAN
49 depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON
51 Select if the mainboard has a fan.
53 config EC_STARLABS_FAST_CHARGE
56 depends on EC_STARLABS_NUVOTON
58 Select if the mainboard supports fast charging.
60 config EC_STARLABS_MAX_CHARGE
63 depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON
65 Select if the mainboard supports limiting the maximum charge of the battery.
67 config EC_STARLABS_CHARGING_SPEED
68 bool "Enable setting the charging speed"
69 depends on EC_STARLABS_MERLIN
71 Select if the mainboard supports configuring the charging speed.
73 config EC_STARLABS_LID_SWITCH
74 bool "Enable disabling the lid switch"
75 depends on EC_STARLABS_ITE
77 Select if the mainboard supports disabling the lid switch
79 config EC_STARLABS_POWER_LED
80 bool "Enable lowering the brightess of the Power LED"
81 depends on EC_STARLABS_ITE
83 Selec the in the mainboard supports reducing the LED brightness
85 config EC_STARLABS_MERLIN
86 bool "Use open-source Merlin EC Firmware"
88 depends on EC_STARLABS_ITE
90 Use open source embedded controller firmware. Both firmwares have the
91 same features but differ in licensing and compilers.
95 default "merlin" if EC_STARLABS_MERLIN
101 config EC_STARLABS_BATTERY_MODEL
105 config EC_STARLABS_BATTERY_TYPE
109 config EC_STARLABS_BATTERY_OEM