summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.detachable_base
blob: 08aed98affa6109e20b07f0b64873031ca7cba9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

config PLATFORM_EC_DETACHABLE_BASE
	bool "Detachable base support"
	help
		Enable base state related helpers.

		If enabled, the board should implement a base_force_state()
		function and board-specific base attach detection algorithm.

		Enable this if the board has a detachable base.

config PLATFORM_EC_BASE_ATTACHED_SWITCH
	bool "Base attached switch"
	depends on PLATFORM_EC_DETACHABLE_BASE
	help
		Add a virtual switch to indicate when detachable device has
		base attached.