| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some battery model names that differ only beyond the 7th
character, which cannot be differentiated with the current
limitation of 8 characters per battery string. Introduce a
new hostcmd version that allows longer battery strings and
enable it on Cret.
BUG=b:191546149
BRANCH=dedede
TEST=Test "ectool battery", "ectool batterycutoff" in VT2
and "battery" command ec console.
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: I2fca124742ac04e55364cd6603336eb000e412bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3070942
Reviewed-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix build errors for add more modules to support.
BRANCH=none
BUG=b:184793035
TEST=make BOARD=cherry_scp
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.org>
Change-Id: I5949139fbd6ff27bcc9326d4666409f855302541
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3070402
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-by: Yunfei Dong <yunfei.dong@mediatek.corp-partner.google.com>
Tested-by: Yunfei Dong <yunfei.dong@mediatek.corp-partner.google.com>
Commit-Queue: Tzung-Bi Shih <tzungbi@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the initial EC image for the felwinter variant by copying
the brya reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.5.0).
BUG=b:194431541
BRANCH=None
TEST=make BOARD=felwinter
Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
Change-Id: I187084b4749cd0c6660b292aa17e67885ba8903b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068487
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update SPI host interface config option for inclusive language.
BUG=b:163885307
BRANCH=none
TEST=compare_build.sh
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I808d5960fa3e746626465bedc626a95e0f0aaa3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3066271
Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dynamic change sensor not support force mode in board level.
BUG=b:192301309
BRANCH=volteer
TEST=Check force mode/interrupt sensor can both get data.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I4ef54e3e9990fe6f735f13248df49c28ddcc4b98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045860
Reviewed-by: YH Lin <yueherngl@chromium.org>
Commit-Queue: YH Lin <yueherngl@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reverse the enabling signal to active high.
BUG=none
BRANCH=none
TEST=Keyboard backlight works normally.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I07c97d73a9ddd9d30303121d0e4be4afd45a5f07
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068845
Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193945754
BRANCH=none
TEST=Battery Error should be blinking white (0.5 sec on, 0.5 sec off).
C0 and C1 port allocation is indeed.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I52584907fc72fece1661af54def4771968c32b2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068841
Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194146863
BRANCH=none
TEST=make -j BOARD=gimble
TEST=check search key is worked.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I249fbcd0f1c62799c197149c4cb18307bb4c9ce9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068494
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable motion sense and tablet mode by ap_sku_id.
ap_sku_id 1 is for convertible; 0 is for clamshell.
BUG=none
BRANCH=icarus
TEST=Can get sku id 1 while running board_motion_init
and motion function works on convertible DUT.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I22401fa6f184ecf486d9337390d739237cf66f4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067143
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=make BOARD=redrix
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ia87bdc9c42cb271c3f7d51759f625b80d17c9f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067278
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable ADC1 to read TEMP_SENSOR_2 and update thermal table
for theset 2 temp sensors.
BUG=none
BRANCH=none
TEST=none
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I626aab0aabf1f094b97bd72f93afa783553c1d3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038010
Reviewed-by: Jeff Chase <jnchase@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supports vivaldi_keyboard by GPIO40 EC_VIVALDIKEYBOARD_ID
level status as below
Hi level: Support
Low level: Not support
BRANCH=dedede
BUG=b:195070164
TEST=On DUT test, function is PASS
Change-Id: Iec93d4795c485d69befee0a00a82293b6efea1e1
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063870
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable CONFIG_SYSTEM_UNLOCKED for faft_ec_fw_qual test.
BUG=b:191390046
BRANCH=dedede
TEST=make BOARD=cret,and test firmware_ECSystemLocked pass
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: If6d85094e4c044cb0c32583b976d27e7756d9d69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068482
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add config option for the ps8805 to override the TCPCI Device
ID field based on the page 0 register 0x62 bit 7-4.
A2 chip: reg 0x62 bit7-4 = 0x0
A3 chip: reg 0x62 bit7-4 = 0xA
BUG=b:193099851
BRANCH=trogdor
TEST=ectool pdchipinfo can show overridden DID for both A2
and A3 chip on Lazor DUTs
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I99767c92a97c2fcefd3bbe03e3cd2b90de192ff3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3056225
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch update the FW_CONFIG field for Redix.
Remove daughter board configuration.
BUG=none
BRANCH=none
TEST=make BOARD=redrix
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I3e02afc2f2508886e41bb954c0b15657b80033f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3043760
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- We have refresh key on T2.
- Add T8 key for KBBL toggle.
- Add T9 key for MICMUTE.
- Add T10 for play pause key.
BUG=b:194146863
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I04207cb40c2697768a681355738862fe1b1e17c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3065245
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a 2nd base accelerometer icm-40608.
BUG=b:194632295
BRANCH=firmware-octopus-11297.B
TEST=watch ectool motionsense
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I99716c34b8519447db7fe9903904046d216ae7e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067144
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update EC thermal table for throttle and shutdown point.
BUG=b:194967456
BRANCH=dedede
TEST=make BOARD=storo and verify function pass by thermal team.
Signed-off-by: mike <mike5@huaqin.corp-partner.google.com>
Change-Id: Ia5f78111c40aee613bfba5e96ce0af93cb7c81e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062706
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysjump to RW the GPIO init PULL up, will cause
keyboard backlight blinking.
BUG=b:194047863
BRANCH=asurada
TEST=sysjump RO/RW to check, backlight don't blinking.
Change-Id: I27adfb99b2b9c7708302556eb07b87d5130db777
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063877
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193377625
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ie0747b50511261f91b55f97d9f88301c84b577b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3065246
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lid Accel: KX022
BASE Accelgyro: BMI160
BUG=none
BRANCH=icarus
TEST=EC can read sensors' data and lig angle is correct.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I07743c86a3d133dd96e499f23150fd4f20340470
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062062
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bland is the detachable keyboard (Hammer derivative) for MrBland project.
BUG=b:194460146
TEST=make
BRANCH=trogdor
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I6c315cca6856afca175ce864ece025222b1a2d69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062678
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gimble don't have TBT and USB4, EC can enter ALT mode by itself.
BUG=b:195087071
BRANCH=none
TEST=make -j BOARD=gimble
TEST=type-c monitor can display.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I820d5142e277fc6a3794ed90730b634787a2d022
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063110
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use SSFC bits 6-7 to choose which secondary MUX is used.
BUG=b:192523667
BRANCH=zork
TEST=After setting SSFC to 0x80 on the DUT with PS8818,
the typec on DB works fine.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I8a66098d1e9b947acfb26b78f0cec7f835bf4c40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3000894
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor tcs3400_translate_to_xyz(): simplify calculations, reduce code
duplication, avoid integer overflow, and guard against division by zero.
Previously there were several places where integer values could
overflow, such as converting 16-bit unsigned integers to fp_t values and
multiplications with results exceeding the range of fp_t. In practice
operations would overflow when holding a phone flashlight in front of
the light sensor.
BUG=b:179960346
BRANCH=none
TEST=Flashed EC and tested sensor with a phone flashlight.
Logging output values from old/new implementations showed no
changes, except when the old implementation overflowed.
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: I52c37414b5205beaefa2111b1737b0eb22b7235a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3007377
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit simply adds the GPIO_EC_CBI_WP pin for the keeby boards and
also sets CONFIG_EEPROM_CBI_WP.
BUG=b:181769483
BRANCH=None
TEST=`make -j buildall`
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I31694cb748d8b8a197b84634fbd9417d274a79d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3046413
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds the config option, CONFIG_EEPROM_CBI_WP. It is to be
defined when the EC directly controls the CBI EEPROM WP signal. The EC
will set the WP according to the result of `system_is_locked()`. Note
that once the WP is set, the EC must be reset via EC_RST_ODL in order
for the WP to become unset. This is enabled by the accompanying
hardware.
BUG=b:181769483
BRANCH=None
TEST=`make -j buildall`
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: If490594ab4dd24af98119b01299215b997913b66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3046412
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable keyboard factory test. The keyboard pinout is similar to Ezkinil
so this is used as starting point.
BUG=b:178221983
TEST=ectool kbfactorytest passes
BRANCH=None
Change-Id: Ie365d184eb8144c2138e6ae56fe3a401b6035982
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053096
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove base sensor support kx022 due to kx022 not support gyro and base
sensor need gyro.
BUG=b:192301309
BRANCH=volteer
TEST=make buildall -j succeeded.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6ff1bf9488d816be680a395334ea3008b9280890
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3029802
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support accel/gyro sensor: icm40608.
BUG=b:192301309
BRANCH=volteer
TEST=Motion sensors are detected correctly and ectool motionsense
show correct data.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I35cb0fca753768468f07581251234149db5a04b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3020667
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the initial EC image for the pico variant by copying the
icarus reference board EC files into a new directory named for
the variant.
BUG=none
BRANCH=icarus
TEST=make BOARD=pico
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I0eeae3e76b1cfabd0be54d1b29c9af7fac1238c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058159
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:177391887
TEST=verify pd works
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ied4516abef3d544b8b4bdf8355f0f9fc305629a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793783
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a new pin, EC_CBI_WP which will allow the EC to set the
CBI WP accordingly.
BUG=b:194429731
BRANCH=None
TEST=`make -j BOARD= lalala`
Change-Id: I0f4091b9a1fa056bd778c7d3aae3eb48345e94a8
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3046411
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193600290
BRANCH=none
TEST=make -j BOARD=gimble
TEST=check gimble led works
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I0258ab351664b1e30c91e5c706f0fcf172d69001
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053132
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: caveh jalali <caveh@chromium.org>
Tested-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Gimble need to add FIFO support for BMI160.
- Also add CONFIG_LID_ANGLE_UPDATE for disable keyboard when AP unable control the keyboard.
BUG=b:192423158
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I3c8306764fd0a52a3bf08c0a95d9f8eecf849054
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058160
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add keyboard_factory_scan_pins and keyboard_factory_scan_pins_used to
keyboard_scan header so they do not need to be declared as extern by
individual boards. These constants need to be defined if
CONFIG_KEYBOARD_FACTORY_TEST is enabled.
BUG=None
TEST=Build
BRANCH=None
Change-Id: I1a100f626b3cea251ca72703d17b2d27db0f8f28
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053101
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL enables CONFIG_KEYBOARD_STRICT_DEBOUNCE for Blipper.
It also defines keyscan_config to equalize debounce_down_us
and debounce_up_us.
BUG=b:193505909
BRANCH=Dedede
TEST=Drop test and typing test on Blipper.
Change-Id: I1378b8829f14f9d20a08993245ed9d4959e4ddf1
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3046503
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Homestar will only support TCPC PS8805, set the product id to PS8805
directly.
BRANCH=trogdor
BUG=b:194737342
TEST=emerge-strongbad chromeos-ec
Change-Id: Iea9f12ddaa4dffb73d9f40f23b66af826225642e
Signed-off-by: xuxinxiong <xuxinxiong@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3054221
Reviewed-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Reviewed-by: Bob Moragues <moragues@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Commit-Queue: Bob Moragues <moragues@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:190637023
BRANCH=None
TEST=make -j BOARD=primus
Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com>
Change-Id: Ifea88e2da7e5db53d9bb561426432ff74153b88d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2944521
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:192286098
BRANCH=none
TEST=make -j BOARD=gimble
TEST=make sure cold reboot work
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I5f561988e5affd044929af3f2a0ab38edab96f2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053133
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:190459738
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I4a43bebf719b3e48ec6fce1c05267d2fc44a084e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045027
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193377625
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ib1330302154446236c2a1b6052ffa4598f71fcd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045036
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194649741
BRANCH=none
TEST=make -j BOARD=gimble
TEST=check "cutoff" in EC console
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I27bd319d5613ec83ac1e05dccccc1b9c19c7545d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034794
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194223164
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I54857d9e98a56e77d7858c6d746e0a5e2f143da1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3051291
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On dragonclaw, setting GPIO_DIVIDER_HIGHSIDE to 1 is necessary to
enable communication with FP sensor. Until now it was enabled during
fp_sensor_init() which was called from fp_task() only in private build
(when HAVE_FP_PRIVATE_DRIVER is defined). This was causing problems with
fpsensor_hw hardware unittest, which is public build.
The problem was solved by enabling GPIO_DIVIDER_HIGHSIDE in
configure_fp_sensor_spi(). This approach also required to change
get_fp_sensor_type() function to leave GPIO pin enabled.
BUG=b:170432597
BRANCH=none
TEST=./test/run_device_tests.py --board bloonchipper --tests fpsensor_hw
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I9cf50ef1377da2dec57d73f9e1374928da86481d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034857
Reviewed-by: Craig Hesling <hesling@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Munna is clamshell, it doesn't need tablet mode function.
So we should remove the tablet mode function
BUG=b:194515354
BRANCH=kukui
TEST=make sure the DUT doesn't change to tablet mode while the
TABLET_MODE_L is low.
Change-Id: Ic19b0f6d8b6b44baca3b92f85c848839410c7235
Signed-off-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3051293
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mushu is down to 700 bytes of free flash on ToT, so remove some
commands in order to bring it up to almost 2k free.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I17c9863208a1b26568a07f772c9431f6eaf633ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3048516
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193461268
BRANCH=none
TEST=make BOARD=redrix
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: If14e5de907c69fc830167f165c371e1b3e40fb05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045431
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194269214
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I70f93cea02a24876c06d8c2f54169a2290b432d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038422
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are 2 tablet mode triggers:
* Lid: when the lid angle close to 360 degree, either detected by
a GMR sensor or by the angle computed by 2 motion sensors.
* Base: when the detachable base is detached.
These 2 triggers set the tablet mode status, which as a boolean,
resulting a race condition.
This CL fixes the race condition. Each trigger updates its own bit. The
final tablet mode status is the OR of all bits.
BRANCH=Trogdor
BUG=b:193873098
TEST=Attached the base, checked tablet_mode enabled;
detached the base, checked tablet_mode disabled;
flip base to 360 degree, checked tablet_mode disabled;
move the base out of the lid, checked tablet_mode disabled.
Change-Id: Ia9d9d2d66c194796c1039cc8b746c8d1f28a4496
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044414
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|