summaryrefslogtreecommitdiff
path: root/zephyr/subsys/emul/ap_pwrseq/Kconfig
blob: 309ee08eae02f852cad415358adabaced5a2a1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if ZTEST

config EMUL_POWER_SIGNALS
	bool "Enable Power Signals Emulator"
	help
	  Power signals emulator imitates the behavior of power signals
	  that interact with the EC within a given platform. It enables testing
	  AP Power Sequence execution in a virtual environment.

if EMUL_POWER_SIGNALS

module = EMUL_POWER_SIGNALS
module-str = Power Signals Emulator
source "subsys/logging/Kconfig.template.log_config"

config EMUL_POWER_SIGNALS_WORK_QUEUE_STACK_SIZE
	int "Power Signals Emulator internal work queue stack size"
	default 1024
	help
	  Power Signal Emulator has its own dedicated work queue, this defines
	  work queue thread stack size.

config EMUL_POWER_SIGNALS_WORK_QUEUE_PRIO
	int "Power Signals Emulator internal work queue thread priority"
	default 0
	help
	  Defines work queue thread thread priority.

endif # EMUL_POWER_SIGNALS
endif # ZTEST