From 9bb871a0bb4c239239944d28bd4d5cfa19d84f62 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 3 Mar 2018 15:46:47 +0100 Subject: add support for waldux --- target/waldux/config/Config.in.pm | 82 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 target/waldux/config/Config.in.pm (limited to 'target/waldux/config/Config.in.pm') diff --git a/target/waldux/config/Config.in.pm b/target/waldux/config/Config.in.pm new file mode 100644 index 000000000..dfbaf2aec --- /dev/null +++ b/target/waldux/config/Config.in.pm @@ -0,0 +1,82 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +config ADK_WALDUX_KERNEL_PM + bool + default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + default y if ADK_TARGET_BOARD_BCM28XX + +config ADK_WALDUX_KERNEL_PM_RUNTIME + bool + default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + +config ADK_WALDUX_KERNEL_ACPI + bool + +config ADK_WALDUX_KERNEL_ACPI_SYSFS_POWER + bool + +config ADK_WALDUX_KERNEL_ACPI_AC + bool + +config ADK_WALDUX_KERNEL_ACPI_BATTERY + bool + +config ADK_WALDUX_KERNEL_ACPI_BUTTON + bool + +config ADK_WALDUX_KERNEL_ACPI_FAN + bool + +config ADK_WALDUX_KERNEL_ACPI_DOCK + bool + +menu "Power Management support" +depends on ADK_TARGET_WITH_ACPI \ + || ADK_TARGET_SYSTEM_LEMOTE_YEELONG \ + || ADK_TARGET_GENERIC + +config ADK_HARDWARE_ACPI + bool "Enable ACPI support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + select ADK_WALDUX_KERNEL_ACPI + select ADK_WALDUX_KERNEL_ACPI_SYSFS_POWER + select ADK_WALDUX_KERNEL_ACPI_AC + select ADK_WALDUX_KERNEL_ACPI_BATTERY + select ADK_WALDUX_KERNEL_ACPI_BUTTON + select ADK_WALDUX_KERNEL_ACPI_FAN + select ADK_WALDUX_KERNEL_ACPI_DOCK + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX + default y if ADK_TARGET_SYSTEM_PCENGINES_APU + default y if ADK_TARGET_SYSTEM_GENERIC_X86 + default y if ADK_TARGET_SYSTEM_GENERIC_X86_64 + default y if ADK_TARGET_SYSTEM_ASUS_P5BVM + default n + help + Enable ACPI support. + +config ADK_WALDUX_KERNEL_SUSPEND + bool "Enable Suspend-to-RAM support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG + default n + help + Enable Suspend-to-RAM support. + +config ADK_WALDUX_KERNEL_HIBERNATION + bool "Enable Suspend-to-Disk support" + select ADK_WALDUX_KERNEL_PM + select ADK_WALDUX_KERNEL_PM_RUNTIME + select ADK_WALDUX_KERNEL_SWAP + select BUSYBOX_SWAPONOFF + default y if ADK_TARGET_SYSTEM_IBM_X40 + default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG + default n + help + Enable Suspend-to-Disk support. + +endmenu -- cgit v1.2.3