summaryrefslogtreecommitdiff
path: root/zephyr/program/nissa/yavilla/project.conf
diff options
context:
space:
mode:
authorTommy Chung <tommy.chung@quanta.corp-partner.google.com>2023-03-30 17:22:50 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-31 02:08:15 +0000
commitb275cd0c6111332ebd9baf147796575d99088e98 (patch)
tree21ba22971c7b0948b4178a10c36a5774147afe6f /zephyr/program/nissa/yavilla/project.conf
parent45bdcbd13cd622e021049f2846d59716b44aa1ce (diff)
downloadchrome-ec-b275cd0c6111332ebd9baf147796575d99088e98.tar.gz
yavilla: Init EC image
Clone from yaviks, rename to yavilla BUG=b:273791621 BRANCH=none TEST=zmake build yavilla Change-Id: I98521e9ffcd94c74a10e2205b9b5e0c6d541e5e1 Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4384188 Reviewed-by: Devin Lu <devin.lu@quantatw.com> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'zephyr/program/nissa/yavilla/project.conf')
-rw-r--r--zephyr/program/nissa/yavilla/project.conf47
1 files changed, 47 insertions, 0 deletions
diff --git a/zephyr/program/nissa/yavilla/project.conf b/zephyr/program/nissa/yavilla/project.conf
new file mode 100644
index 0000000000..ac4fd6a3d2
--- /dev/null
+++ b/zephyr/program/nissa/yavilla/project.conf
@@ -0,0 +1,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.
+
+CONFIG_BOARD_YAVILLA=y
+
+# FW image
+# TODO: Once this configuration is configured with binman's size property
+# by default, it can be removed.
+CONFIG_CROS_EC_RW_SIZE=0x50000
+
+# Ensure recovery key combination (esc+refresh+power) is reliable: b/236580049
+CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI3=y
+CONFIG_PLATFORM_EC_KEYBOARD_REFRESH_ROW3=y
+
+# Sensors: disabled; yavilla is clamshell-only
+CONFIG_PLATFORM_EC_LID_ANGLE=n
+CONFIG_PLATFORM_EC_LID_ANGLE_UPDATE=n
+CONFIG_PLATFORM_EC_CONSOLE_CMD_ACCELS=n
+CONFIG_PLATFORM_EC_CONSOLE_CMD_ACCEL_INFO=n
+CONFIG_PLATFORM_EC_ACCEL_FIFO=n
+CONFIG_PLATFORM_EC_SENSOR_TIGHT_TIMESTAMPS=n
+CONFIG_PLATFORM_EC_GMR_TABLET_MODE=n
+CONFIG_PLATFORM_EC_TABLET_MODE=n
+CONFIG_PLATFORM_EC_TABLET_MODE_SWITCH=n
+CONFIG_PLATFORM_EC_VOLUME_BUTTONS=n
+CONFIG_PLATFORM_EC_MAX_SENSOR_FREQ_MILLIHZ=100000
+
+# Keyboard
+CONFIG_PLATFORM_EC_KEYBOARD_KEYPAD=y
+CONFIG_PLATFORM_EC_KBLIGHT_ENABLE_PIN=n
+CONFIG_PLATFORM_EC_KEYBOARD_FACTORY_TEST=y
+
+# Fan
+CONFIG_PLATFORM_EC_CUSTOM_FAN_CONTROL=y
+
+# LED
+CONFIG_PLATFORM_EC_LED_PWM=n
+
+CONFIG_NISSA_SUB_BOARD=n
+
+# Both ports use a SLGC55545 smart switch with CTL1..3 fixed high,
+# for SDP2 or CDP only.
+CONFIG_PLATFORM_EC_USB_PORT_POWER_SMART=y
+CONFIG_PLATFORM_EC_USB_PORT_POWER_SMART_CDP_SDP_ONLY=y
+CONFIG_PLATFORM_EC_USB_PORT_POWER_SMART_DEFAULT_CDP=y
+CONFIG_PLATFORM_EC_USB_PORT_POWER_SMART_INVERTED=y