| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the interest of making long-term branch maintenance incur as little
technical debt on us as possible, we should not maintain any files on
the branch we are not actually using.
This has the added effect of making it extremely clear when merging CLs
from the main branch when changes have the possibility to affect us.
The follow-on CL adds a convenience script to actually pull updates from
the main branch and generate a CL for the update.
BUG=b:204206272
BRANCH=ish
TEST=make BOARD=arcada_ish && make BOARD=drallion_ish
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the use of adc_chip.h where adc.h is also used. In this
case, adc_chip.h is redundant.
BRANCH=none
BUG=b:181271666
TEST=buildall passes
Change-Id: Id7baf9aef949447a4d47934242f9bae97c971262
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3120317
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ultrasonic Module(USM) is used for noise cancelling the buzzing
sound while charging. The sound is louder if we have
USB peripheral connected. We only enable this function in S0,
and disable it in S3 because the power consumption is significant.
BUG=b:185978753
TEST=make buildall
BRANCH=asurada
Change-Id: Ic2bfbf5a1364f5da6d776a1be56abb66934f9496
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105905
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supports skin temperature thermal policy from charge current
setting via charger temperature threshols hit/release.
setting input max current to 3.1A.
The charging limitation is listed below:
While NB in OS, sample temperature as chager task
Tsens < 48 degree C , No limitation
Tesen > 48 degree C , Limit charge current at 3.1A
Tsens > 52 degree C , Limit charge current at 2.2A
BUG=b:183174897
BRANCH=asurada
TEST=The thermal test report PASS, make builadall PASS.
Change-Id: I1d66fb133324e186c58a716b9c61e07b3edbdd7e
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2962200
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modify max power and max current to support 65w adapter,
SYV682X_HV_ILIM to 5.5A
BUG=b:183174897
BRANCH=asurada
TEST=make buildall PASS
Change-Id: I704ad3a647a2007b808d55928298fd38c34387fe
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793851
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some Sandisk stickers would enter fault status (down-train
to USB2 or not detected) if Vbus is applied before xhci
initialization.
To fix this, copy usb_port_power_dumb.c to baseboard folder
to implement board-specific enable mechanic.
BUG=b:187149602
TEST=manually
BRANCH=asurada
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I80536b640b4f67a4c17a3da7b193c92ab2f7b3eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909972
Tested-by: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify HS detector threshold setting (0x3C) to 0x60 for USB-C C1 port
signal quality.
BUG=b:177980418
BRANCH=asurada
TEST=manual
Run command "ectool i2cread 8 4 0x20 0x3c" to check register value.
Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I97b6bb16e7c5298ff42e35d936e0f9e60ec3b730
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2845564
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=make buildall
BRANCH=asurada
Change-Id: Ice2b4f5bf95fe88bd075fda892731ba0d6c96d0e
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853086
Tested-by: Eric Yilun Lin <yllin@google.com>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=make buildall -j
BRANCH=asurada
Change-Id: I03bc55c3d55927866355b457ec4b17f75d32f60f
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2852359
Tested-by: Eric Yilun Lin <yllin@google.com>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL implements F2 refresh key to ROW3
BUG=b:181102461
BRANCH=asurada
TEST=none
Change-Id: I49a05c6ea3b2fcce8c2d914f3d9390903e49c617
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825716
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, all boards using the LED On/Off module have battery LEDs.
However, if we'd like to expand support to Chromeboxes then the battery
LED must become optional.
BRANCH=None
BUG=b:185508707
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ieae098829ebe6c8b103f23d5abdbf70e7bcbdf2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832692
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Undefine CONFIG_LOW_POWER_S0, don't enter power saving
in S0 state.
BUG=b:185438302
BRANCH=asurada
TEST=make buildall PASS, the kb light function is PASS.
Change-Id: Ife9796c0ada5213cd8d9e9cf9fbb086603b76d1d
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2830667
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The power sequence status is stable now.
BUG=none
TEST=make buildall
BRANCH=asurada
Change-Id: Ibdf644336f1aaefd185d983cd36efde67614d951
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2835257
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove CONFIG_SYSTEM_UNLOCKED for asurada, hayato and spherion to avoid
unnecessary sysjump when flashing EC with write protect enabled.
BUG=b:160229421, b:185433646
TEST=emerge-asurada chromeos-ec
TEST=firmware_WriteProtectFunc passed on Hayato
BRANCH=asurada
Change-Id: I76c9f381a1dd3b4f0e4e3e990ceb7a8c3c0e4128
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2834754
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
config adc temp senosr enable, re-config KB_BL_EN
to gpioG3 from GPIOI7
BUG=b:184885443
BRANCH=asurada
TEST=make buildall PASS
Change-Id: Ia0d12724ca33295f2817ee2a9a32dbff09aba87a
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2816939
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dual VBUS ADC are supported since board revision >= 4.
This is to address the inaccurate VBUS present detection on SYV682x.
SYV682X assumes can only recognize VBUS equals Vsafe5V or Vsafe0V.
If the VBUS is not falling at the both range, it assume the VBUS >
vSafe5V and thus VBUS is presented. But if the votlage is fallint
between Vsafe5V and Vsafe0V, it still thinks VBUS presented, and this
is a false positive.
BUG=b:181203590
TEST=ensure VBUS ADC reports reasonable value
BRANCH=asurada
Change-Id: I1b57395216f1d6788bcd09306b503bdd3b49ddc8
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793853
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not supports tablet mode, disable motion sensor function.
BUG=b:183064682
BRANCH=asurada
TEST=check ec console don't initialize motion sensors.
Change-Id: Ibeadb05849bb7e4bdd8bb780be805ef1d057e945
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2794201
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use board-specific override files when generating VIFs for boards.
BUG=b:172276715
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I197365018ceb8197c22d631cebf4cbce1c0119f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785506
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Default implement GPIO_EN_SLP_Z at hibernate process
BUG=b:183574877
BRANCH=asurada
TEST=make buildall PASS
Change-Id: I58c26fa8505c4f528507e5eae4d48d4751fceda5
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2784325
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new battery AP15O5L
BUG=b:183159433, b:183140396
BRANCH=asurada
TEST=1) See "[found batt:PANASONIC KT00305013]" on EC console
2) battery readings looks reasonable.
3) cutoff workable.
Change-Id: I5d27a25fd0bc3211545cb9220384671be21aea6e
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2772409
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move asurada baseboard PWM channels definition to board control.
Config gpio keyboard backlight en pin, and enable/disable
in power on/off sequence
BUG=b:181799718
BRANCH=none
TEST=make buildall
TEST=run 'kblight' EC console command to verify keyboard backight
TEST=run 'ectool verify pwmsetkblight' to verify keyboard backlight
Change-Id: If7afbd4f21dd6b0500525d08ec7786071c3523c1
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2738494
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Yilin Yang (kerker) <kerker@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CONFIG GPIOA0, GPIOA1, GPIOA2 to INPUT type
Supports the LED control Behavior as below
Charge: Amber on (S0/S3/S5)
Full: Blue on (S0/S3/S5)
Discharge in s0: Blue on
Discharge in s3: Amber on 1 sec off 3 sec
Discharge in s5: off
Error: Amber on 1 sec off 1 sec
Factory mode: Blue on 2 sec Amber on 2 sec
BUG=b:181799732
BRANCH=none
TEST=make buildall PASS
Change-Id: Ia54bc078cd26b80d8ca44517d72663b1482d0378
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2734062
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
Copy asurada board with some minor fix to build successfully.
BUG=b:178440482
TEST=make BOARD=spherion
BRANCH=none
Change-Id: Ia679a542460ace781eae0f9d60ad65a25d96eb3c
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2677608
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|