diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2021-11-28 23:53:55 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2022-11-11 22:43:14 +0000 |
commit | dc3e7def5f1d0ef05cc26e75a91603dd6889068e (patch) | |
tree | c2d2102d43c766fb0cc735504dc03e1d935ad731 /src/mainboard/clevo/cml-u/fadt.c | |
parent | d6ac7a9a3a774eb5a70385660c072bbaa248a355 (diff) |
mb/clevo/l140cu: make use of the new clevo/it5570e ec driver
Hook up the new EC driver.
Tested:
- Fn hotkeys work (brightness, display, volume, tp toggle, ...)
- Display lid
- Sleep/wake
- Camera (including Fn toggle)
- Bluetooth (both CNVi and PCIe card)
- Wi-Fi (both CNVi and PCIe card)
- CMOS options
Known issues:
- Touchpad toggle needs OS setup; see CB:68791
- UCSI is not implemented; see CB:68791
Change-Id: I28ac401ada2945bb58fe862895458b10fed505fe
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68795
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/clevo/cml-u/fadt.c')
-rw-r--r-- | src/mainboard/clevo/cml-u/fadt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/clevo/cml-u/fadt.c b/src/mainboard/clevo/cml-u/fadt.c new file mode 100644 index 0000000000..28ed7e97c3 --- /dev/null +++ b/src/mainboard/clevo/cml-u/fadt.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <acpi/acpi.h> +#include <intelblocks/acpi.h> + +void mainboard_fill_fadt(acpi_fadt_t *fadt) +{ + /* Control method power button (EC) */ + fadt->flags |= ACPI_FADT_POWER_BUTTON; +} |