diff options
author | Wai-Hong Tam <waihong@google.com> | 2021-06-04 11:20:53 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-22 23:55:29 +0000 |
commit | 8a05d3f5ee64803cd946c47a4b7522efeccc7781 (patch) | |
tree | e94e64abde69d4c1022b0a7e5050152cdcd8359e | |
parent | 10a9f3c5264a9b9afd882026219687f416ef665f (diff) | |
download | chrome-ec-8a05d3f5ee64803cd946c47a4b7522efeccc7781.tar.gz |
zephyr: lazor: Enable configs to match the original CrOS EC setting
Enable the following configs:
* keyboard backlight control
* power sequence sleep failure detection
* resume-init and suspend-complete hooks
The following configs are not enabled because not enough code RAM:
* accel sensor spoof mode
* sysrq event emulation
BRANCH=None
BUG=b:190224781, b:183054226
TEST=Checked the following console commands showing up:
kblight, sleeptimeout
Change-Id: I2bd12f27d1688da64917ada978edb65e817aeafa
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2941802
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/projects/trogdor/lazor/prj.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/projects/trogdor/lazor/prj.conf b/zephyr/projects/trogdor/lazor/prj.conf index 7a814f7d7a..c8423e2d9b 100644 --- a/zephyr/projects/trogdor/lazor/prj.conf +++ b/zephyr/projects/trogdor/lazor/prj.conf @@ -21,6 +21,7 @@ CONFIG_PWM=y CONFIG_PWM_SHELL=n CONFIG_PLATFORM_EC_PWM=y CONFIG_PLATFORM_EC_PWM_DISPLIGHT=y +CONFIG_PLATFORM_EC_PWM_KBLIGHT=y # Application Processor is Qualcomm SC7180 CONFIG_AP_ARM_QUALCOMM_SC7180=y @@ -35,7 +36,9 @@ CONFIG_PLATFORM_EC_SWITCHCAP_LN9310=y # Power Sequencing CONFIG_PLATFORM_EC_POWERSEQ=y CONFIG_PLATFORM_EC_POWERSEQ_HOST_SLEEP=y +CONFIG_PLATFORM_EC_POWER_SLEEP_FAILURE_DETECTION=y CONFIG_PLATFORM_EC_CHIPSET_RESET_HOOK=y +CONFIG_PLATFORM_EC_CHIPSET_RESUME_INIT_HOOK=y # Trogdor family does not use EFS2 (toggled by PLATFORM_EC_VBOOT). CONFIG_PLATFORM_EC_VBOOT=n @@ -142,3 +145,7 @@ CONFIG_PLATFORM_EC_TABLET_MODE_SWITCH=y CONFIG_PLATFORM_EC_ACCEL_BMA255=y CONFIG_PLATFORM_EC_ACCELGYRO_BMI160=y CONFIG_PLATFORM_EC_ACCELGYRO_BMI_COMM_I2C=y + +# Features should be enabled. But the code RAM is not enough, disable them. +#CONFIG_PLATFORM_EC_ACCEL_SPOOF_MODE=y +#CONFIG_PLATFORM_EC_EMULATED_SYSRQ=y |