| 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the drivers are now taking a mux_state_t set of flags to update,
go ahead and unify the usb_mux API this way as well. It makes the
parameters more apparent than the 1/0 inputs, and aligns the stack to
use the same parameters.
BRANCH=None
BUG=b:172222942
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ie943dbdf03818d8497c0e328adf2b9794585d96e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095438
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
eldrid_npcx796 variant is only used for EVT and hence deprecated.
BRANCH=firmware-volteer-13672.B
BUG=b:196059702
TEST=make BOARD=eldrid
Signed-off-by: YH Lin <yueherngl@chromium.org>
Change-Id: I6b593b8b412674fa4330fa4fe30d0c522fea3a69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088585
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the PD PRL debug strings in order to free up space on this board.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Id8deceaf28ffbecbe6ce1d9accdf66726d7af9d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078408
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each board defines its own callback lid_angle_peripheral_enable().
The implementation is very similar. Create a common implementation
and reduce the duplicated code.
This CL removes the board callbacks which are identifical to the
common callback. If it is slightly different, keep it and add
the __override tag.
The check of TEST_BUILD is unnecessary as the board callback is not
linked in the test build.
BRANCH=None
BUG=b:194922043
TEST=Build all the images.
Change-Id: I73d381730f35b80eff69399cdfc5fb54f839aee0
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3069175
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently keyboard_scan_config is defined by each board using
CONFIG_KEYBOARD_BOARD_CONFIG. This patch makes it defined as
__override hence removes CONFIG_KEYBOARD_BOARD_CONFIG.
BUG=None
BRANCH=None
TEST=buildall
Change-Id: I53a356741ba4d00e829ca59b74ee6dc704188728
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044403
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the LED on/off module towards using a more flexible LED support
approach. Define a weak power LED table and setter for boards to
override when needed. Note that during run-time these functions will
not get called since led_auto_control_is_enabled() will return false for
nonexistent LEDs.
This consumes an average of 165 additional bytes of flash space on
boards which do not use a power LED.
BRANCH=None
BUG=b:185508707
TEST=make -j buildall, load on guybrush (battery LED only) and confirm
no errors are seen. Load on Boten (both LEDs) and confirm behavior
appears normal
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Iaa1e22a7f5d8be39eb8792ee13d358087d7f7482
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832691
Reviewed-by: Aseda Aboagye <aaboagye@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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:181695381
BRANCH=firmware-volteer-13672.B-master
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Id16c9cef804a5d14ab35500e5fa18172c474710f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2731167
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enlarge ACProchot# to prevent prochot keep triggering fan spin max rpm.
And set the same current limit when S0 and S5.
BUG=b:178869017
BRANCH=firmware-volteer-13672.B-master
TEST=make buildall
TEST=test pass by power team
Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com>
Change-Id: I739b42453e796c3cc04657adbf84e96dc26abeb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2671261
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update thermal table for settings provided by thermal team on 2021-01-29.
BUG=b:178768749
BRANCH=firmware-volteer-13672.B-master
TEST=make buildall
TEST=test pass by thermal team
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I60c3211b80ede4877c3469820519b2d62f2efbe0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2620719
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Going to qualify the firmware, so undef CONFIG_SYSTEM_UNLOCKED.
BUG=b:178993288
BRANCH=firmware-volteer-13672.B-master
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I5be23936e47970a3534026fc12befbaaf3507d95
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2662856
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Almost every relevant board copy-pastes 5000 us. Make that the default
and get rid of the redundant definitions. This is the approximate result
of this command:
find . -type f -name *.h | xargs sed -i -E \
'/#define CONFIG_USBC_VCONN_SWAP_DELAY_US[[:space:]]+5000[[:space:]]/d'
BUG=b:144165680
TEST=make buildall
BRANCH=none
Change-Id: Ife86f9752971abcd7ab5ad5a5e607eb2ccbde2ba
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628132
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace PD_VCONN_SWAP_DELAY with CONFIG_USBC_VCONN_SWAP_DELAY_US. This
is the approximate result of the following command, run from
platform/ec:
find . -type f -\( -name '*.c' -o -name '*.h' -\) | \
xargs sed -iE 's/PD_VCONN_SWAP_DELAY/CONFIG_USBC_VCONN_SWAP_DELAY/g'
Fix some latent formatting errors in usb_pd_protocol.c, because they
were preventing pre-upload hooks from passing.
BUG=b:144165680
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Icaf3b309c08fdcd162e960cf5dc88185016b5d2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2628131
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'ectool' command was not able to set the
battery LED color.
When no AC adapter is connected, that battery
LED code temporarily turns of all LEDs until
the next HOST_TICK.
Bypass this check if the host has disabled LED
auto control.
BUG=b:177493741
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I82f78bfecbb7f1b8343cf864ad0fd0d9bfc8fdaf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2627539
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix fan rpm won't change when DUT cool down.
Because current_level will equal to num_fan_levels when temperature reach to the highest level.
BUG=b:176875592
BRANCH=firmware-volteer-13672.B-main
TEST=make buildall
TEST=make sure fan will speed down when DUT cool down.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I2e4c55e103674a35690ce2f9360a976afe624a2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2612242
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eldrid support PD 3.0, so remove undef to support related commend.
BUG=b:175519100
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ie0121e213a071ed1346c34486911ecb41baa9805
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2594728
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change eldrid_npcx796fc to eldrid_npcx796 to meet config.star.
BUG=b:173754312
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
TEST=Boot up on Eldrid
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: If8025ce4e512c00722a269eeb57643218723915b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2592530
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extend power led off time to 6sec in s0ix to save more power consumption.
BUG=b:170842004
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Will <Will_Tsai@wistron.com>
Change-Id: I6676ed8f152b0b199c222bb92efab0261acfa7e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2581123
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:166728543
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com>
Change-Id: I1a918326a625f294fe6cd9a2ec8e2c5b2af43569
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2534231
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:173754312
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I7ce77a6813a977612b5c804cb335add419ac80b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550117
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:173476755
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
TEST=Plug out ac on left port, right port won't turn on
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I8b562d02354758e90cb99d99084d4b1c95f1ce18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2547605
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:172133632
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
TEST=
ectool cbi get = 0x14902
ectool cbi set 0x114902 4
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I0decd978bf6c21dddd315857bb1a29ac20dbf276
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2528732
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The TCSS port mapping is not used by the EC and the higher layers no
longer query the EC for this mapping. We can remove this feature and
disable CONFIG_INTEL_VIRTUAL_MUX which was added to enable it.
BRANCH=none
BUG=b:153941950
TEST=buildall passes
Change-Id: I2d7f51212f3e64d74827d7f82654eb93534b8db4
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2427632
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When battery low(RSOC<10%), battery led should flick.
BUG=b:165875385
BRANCH=volteer
TEST=make -j BOARD=eldrid
TEST=make buildall
TEST=test on eldrid when battery low.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I1efa9157cd7313ff4c13ff066dbf217a9b305640
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2519237
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename CONFIG_I2C_CONTROLLER and related comments.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ied6a1829bf54a5c9a32e6772982a4b8aa31aaf23
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518659
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable Vivaldi keyboard since Vivaldi currently does not
allow for side volume buttons to be distinguished from
keyboard volume F9/F10 keys. This is necessary so that Chrome
can ignore F9/F10 in tablet mode, but side volume buttons still work.
BUG=b:171815391
BRANCH=volteer
TEST=make -j BOARD=eldrid
TEST=make buildall
TEST=test on eldrid, side-buttons work in clamshell/tablet mode
and that F9/F10 only work in clamshell.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I168521d80e1ff1e4103485a8c25c440cb5b08ce9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2503749
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the ADC alternate function to reduce power usage.
BUG=b:155882590
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ia5a980247182a6eb076a477b8f99111cc6c89ce6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2493404
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The volteer_tpcmv1 AP image has been removed, so the EC build based on
the TCPMv1 stack is no longer needed.
BUG=b:170658751
BRANCH=none
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I8c5c3ffc95a588d4f24846eac3558184add9a444
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2481224
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:170934476
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
TEST=Already test by EE.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I7ec487476e41819905c16ef223482be918961da7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2474513
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Casper Chang <casper_chang@wistron.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:170143672
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
TEST=verify by thermal team
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: If5d97126d156f45ff36315179733d9e7abb423c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2465606
Reviewed-by: Casper Chang <casper_chang@wistron.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since each variant may have different thermal sensor placement.
Move thermal params and configs from baseboard to variant.
BUG=b:170143672
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ie12f4cecad5f93c491e51a5fadfe856829f5b2e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2449510
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable CONFIG_CHARGE_RAMP_SW because hardware based charge ramping
doesn't work on the ISL9241.
BUG=b:169350714, b:168960587
BRANCH=none
TEST=make buildall
TEST=Connect 1.5A CDP device to Volteer and verify charge ramp from 0.5A
to 1.5A over about 7 seconds.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I81e8a3913bd776d0d3fda6d294fdeabbde5df62a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2438912
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow volteer(https://crrev.com/c/2397933).
Encode the keyboard backlight and numeric pad feature
to the fw_config.
BUG=b:168426960
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ie2282c2eb61b4c65e36cdf65654e74de1cde7b37
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2428344
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 6ed9b65ae38977118f0d5f02d6f5c61da23c5f24.
Reason for revert: Historically, Octopus variants used the baseboard
VID and PID.
Original change's description:
> volteer: Move USB PID to board files
>
> Add TODOs to update variants boards.
>
> BUG=none
> TEST=make buildall
> BRANCH=none
>
> Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
> Change-Id: If0d8d0dd544c06114f355dcf281b2841a8397aee
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2417348
> Reviewed-by: Keith Short <keithshort@chromium.org>
BUG=b:168826898,b:168827570,b:168827133,b:168827128,b:168827420
BUG=b:168827418,b:168826886,b:168826868,b:168827029,b:168826914
Change-Id: I5b9b1cee25e34a4b922fd604b49deabc9591b4e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2431687
Tested-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Protect adapter provide overcurrent.
And follow OEM charger policy to set 90% input current limit when S0.
BUG=b:169025944
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Idc5aa532aaf5f4c7db45d9db2e1ce66032611a53
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2413810
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have base BMI160 and lid BMA253 sensor.
And we don't have light TCS3400 sensor.
BUG=b:168730131, b:168730132, b:168728793, b:168728795, b:168886898
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
TEST=check ectool motionsense and check i2cscan.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I7d4a6e63015234dae79bfe7be0111ed9c66614fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2416470
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't support USB4 and bb retimer.
BUG=b:168862153
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ifc0b1b239812b1cf690691f4c90eb96f05e370a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2417786
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eldrid's battery need to apply charging voltage input>3V
and aleast 2 sec to let C/D FET will turn on.
So add board_battery_is_initialized to check battery initialization.
And try to provide pre-charge current to battery
when battery have no response.
BUG=b:165780074
BRANCH=none
TEST=make -j BOARD=eldrid
TEST=make buildall
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I4265538b5a789b76a85d21a1459d19142a86106e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2409712
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add TODOs to update variants boards.
BUG=none
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: If0d8d0dd544c06114f355dcf281b2841a8397aee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2417348
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an initial version. Also disable fan when enter S0ix.
BUG=b:167931578
BRANCH=none
TEST=make -j BOARD=volteer
TEST=make buildall
TEST=verify by thermal team
Change-Id: I146caf056486709763d2793e9c43b6e713bf87e0
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2393408
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify LED behavior to meet LED specification
1.Power led:
System is S0: White
System is suspend/S0ix: blinking white (1 sec on/off)
System is S5: Off
2.charger led:
Charging: amber on
Full charged: white on
Discharging: led Off
Blinking white (0.4 sec on/off): battery error
Blinking white (1 sec on/off): Fuel < 10%, blinking on right side port
Blinking amber (1 sec on/off): Force idle for factory
BUG=b:165875385
BRANCH=none
TEST=Check behavior to meet LED specification
TEST=make -j BOARD=eldrid
TEST=make buildall
Change-Id: I693137e5512e4c8a2f8cac39389bd23e0ca2f2c7
Signed-off-by: lennon chen <lennon_chen@wistron.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2385023
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Commit-Queue: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separate keyboard_scan_config keyscan_config
from volteer baseboard to each project board.
To meet different configurations on each board.
BUG=b:149536282
BRANCH=none
TEST=make buildall
Change-Id: I9070953c02ff7d3eb4950191db6505b635371792
Signed-off-by: Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2383359
Tested-by: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GPIO32 is N/C pin for Eldrid.
When board ID=0, that will cause USB-C1 TCPC(PS8815) initialize failed.
This change also sets the default daughter board type to USB3 active.
BUG=None
BRANCH=None
TEST=make buildall -j, check USB-C1 TCPC init ready
Signed-off-by: lennon chen <lennon_chen@wistron.corp-partner.google.com>
Change-Id: Ifb3377cdd98e2ae51aa44945845851b8e6b5dc90
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2378405
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separate tcpc_config from volteer baseboard to each
project board.
To meet different configurations on each board.
BUG=b:153705222
BRANCH=none
TEST=make buildall
Change-Id: Iea59518123a542ebe38be195eaf71b4a8f796550
Signed-off-by: Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2342183
Tested-by: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separate CONFIG_CHARGER_SENSE_RESISTOR and
CONFIG_CHARGER_SENSE_RESISTOR_AC from volteer baseboard
to each project board.
To meet different configurations on each board.
BUG=b:158257062
BRANCH=none
TEST=make buildall
Change-Id: Ib8290bd54d45054b82d7849e84119d419cbc8586
Signed-off-by: Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2346088
Tested-by: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add batteries:
1.SIMPLO HIGHPOWER battery
2.COSMX battery
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: Iac959e5e3f0199f616b9ebbeda3aabced82d3ea2
Signed-off-by: lennon chen <lennon_chen@wistron.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2371789
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Increases Volteer RO and RW flash spaces by 7088 bytes each. This is the
net gain after including the init_rom layer.
BUG=b:160330682
BRANCH=none
TEST=make buildall
TEST=On volteer run "ectool motionsense" and "ectool motionsense
lid_angle". Verify both RO and RW images.
TEST=Program RO image with predecessor CL:2311268. Program this CL into
AP firmware image and verify EC software sync updates to RW image.
TEST=Verify BMI260 operation with CONFIG_CHIP_INIT_ROM_REGION disabled
using volteer_tcpmv1 board.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I6849b6c9e96756266528b39ab5e53268dce2a13c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311756
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FORCE_PWR GPIO is used for keeping the BB retimer in active state during
f/w updating. On TGLRVP, control to enable the FORCE_PWR GPIO was given
to EC to support the I2C based F/W updating. I2C based f/w updating is
deprecated and the LSx interface is POR hence the FORCE_PWR GPIO control
is given to AP now. Thus, removing the FORCE_PWR GPIO from EC driver.
BUG=b:165214747
BRANCH=none
TEST=make buildall -j
Change-Id: If9bb7199a68c93f704f698552e5594a58bd68f7c
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2363334
Reviewed-by: Ayushee Shah <ayushee.shah@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|