From 78342989c48619accf2d3f1a175876fa91cb15ac Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 9 Mar 2022 08:23:29 +0000 Subject: ec/starlabs/merlin: Add support for Nuvoton EC's Support was created for the NPCE9m5x series, using version 1.1 of the datasheet. The specific model tested was the NPCE985P/G, on the StarLite Mk IV with version 1.00 of the EC firmware. Signed-off-by: Sean Rhodes Change-Id: Ib66baf1e88f5d548ce955dffa00c9b88255b2f95 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62702 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Paul Menzel --- src/ec/starlabs/merlin/Kconfig | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/ec/starlabs/merlin/Kconfig') diff --git a/src/ec/starlabs/merlin/Kconfig b/src/ec/starlabs/merlin/Kconfig index 93101b74ec..ff6077a806 100644 --- a/src/ec/starlabs/merlin/Kconfig +++ b/src/ec/starlabs/merlin/Kconfig @@ -1,5 +1,11 @@ ## SPDX-License-Identifier: GPL-2.0-only +config EC_STARLABS_NUVOTON + bool + select EC_ACPI + help + Interface to Nuvoton embedded controller principally in Star Labs notebooks. + config EC_STARLABS_ITE bool select EC_ACPI @@ -33,21 +39,21 @@ config EC_STARLABS_ITE_BIN_PATH config EC_STARLABS_KBL_LEVELS bool default n - depends on EC_STARLABS_ITE + depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON help Select if the mainboard supports multiple levels of brightness for the keyboard. config EC_STARLABS_FAN bool default n - depends on EC_STARLABS_ITE + depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON help Select if the mainboard has a fan. config EC_STARLABS_MAX_CHARGE bool default n - depends on EC_STARLABS_ITE + depends on EC_STARLABS_ITE || EC_STARLABS_NUVOTON help Select if the mainboard supports limiting the maximum charge of the battery. -- cgit v1.2.3