summaryrefslogtreecommitdiff
path: root/zephyr/program/skyrim/winterhold/project.conf
blob: 84be72ec0e2641b229dc5c844c0336526d6d2863 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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.

# Winterhold reference-board-specific Kconfig settings.
CONFIG_BOARD_WINTERHOLD=y

# TODO(b/215404321): Remove later in board development
CONFIG_PLATFORM_EC_EEPROM_CBI_WP=y
CONFIG_PLATFORM_EC_SYSTEM_UNLOCKED=y

# LED
CONFIG_PLATFORM_EC_LED_DT=y

CONFIG_PLATFORM_EC_USBC_RETIMER_ANX7483=y

# Enable charger chip
CONFIG_PLATFORM_EC_CHARGER_ISL9238=y
CONFIG_PLATFORM_EC_CHARGER_ISL9241=n

# Get the vbus voltage from TCPC
CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_CHARGER=n
CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_TCPC=y

# Remove unused sensor
CONFIG_PLATFORM_EC_ACCEL_BMA4XX=n

# Support LIS2DW12 sensor
CONFIG_PLATFORM_EC_ACCEL_LIS2DW12=y

# Disable lid configuration
CONFIG_PLATFORM_EC_LID_ANGLE=n
CONFIG_PLATFORM_EC_LID_ANGLE_UPDATE=n

# Disable tablet mode configuration
CONFIG_PLATFORM_EC_TABLET_MODE=n
CONFIG_PLATFORM_EC_TABLET_MODE_SWITCH=n
CONFIG_PLATFORM_EC_GMR_TABLET_MODE=n

# Battery
CONFIG_PLATFORM_EC_BATTERY_HW_PRESENT_CUSTOM=y

# Body detection configuration
CONFIG_PLATFORM_EC_BODY_DETECTION=y
CONFIG_PLATFORM_EC_BODY_DETECTION_ALWAYS_ENABLE_IN_S0=y
CONFIG_PLATFORM_EC_BODY_DETECTION_NOTIFY_MODE_CHANGE=y
CONFIG_PLATFORM_EC_GESTURE_HOST_DETECTION=y