| 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.Remove CONFIG_SYSTEM_UNLOCKED
2.Remove CONFIG_BYPASS_CBI_EEPROM_WP_CHECK
BUG=b:182751870
BRANCH=firmware-volteer-13672.B
TEST=make BOARD=drobit
Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Change-Id: Ib86c81af7a4e1af6788abed56fdc4749dd9faf78
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2845196
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set flag and configure GPIOs to enable Fast Role Swap. Clear the GPIOs
passed to the PPC driver for boards which don't support FRS due to older
PPC versions.
BUG=b:148144711
TEST=make buildall
BRANCH=None
Signed-off-by: Eric Herrmann <eherrmann@chromium.org>
Change-Id: I1236d6c4e9e3c66ce7289817f5737186163b7144
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752340
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a reland of 5cc244149f9d2f2502860bb7fc718676001c3d26
Original change's description:
> voxel, drobit: Create EC mode entry builds
>
> Disable AP-driven mode entry to facilitate regression testing. Also
> remove now-unused voxel_apmodeentry build.
>
> BUG=b:181144682
> TEST=make BOARD=voxel_ecmodeentry; make BOARD=drobit_ecmodeentry
> TEST=Inspect .config files
> BRANCH=firmware-volteer-13672.B-main
>
> Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
> Change-Id: I5e52a46013315db4415a3255c12cd0fcd39354bd
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2760804
> Reviewed-by: Keith Short <keithshort@chromium.org>
> Commit-Queue: Keith Short <keithshort@chromium.org>
Bug: b:181144682
Change-Id: Id8b1e0031f917ed38e9adfa1408c6be6392fcd98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2770187
Tested-by: Abe Levkoy <alevkoy@chromium.org>
Auto-Submit: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5cc244149f9d2f2502860bb7fc718676001c3d26.
Reason for revert: This breaks builds outside the EC that still
rely on voxel_apmodeentry (that should also be deleted).
Original change's description:
> voxel, drobit: Create EC mode entry builds
>
> Disable AP-driven mode entry to facilitate regression testing. Also
> remove now-unused voxel_apmodeentry build.
>
> BUG=b:181144682
> TEST=make BOARD=voxel_ecmodeentry; make BOARD=drobit_ecmodeentry
> TEST=Inspect .config files
> BRANCH=firmware-volteer-13672.B-main
>
> Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
> Change-Id: I5e52a46013315db4415a3255c12cd0fcd39354bd
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2760804
> Reviewed-by: Keith Short <keithshort@chromium.org>
> Commit-Queue: Keith Short <keithshort@chromium.org>
Bug: b:181144682
Change-Id: Ie07201658ef47a209b12b63583628a4ed19fe3de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2764974
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable AP-driven mode entry to facilitate regression testing. Also
remove now-unused voxel_apmodeentry build.
BUG=b:181144682
TEST=make BOARD=voxel_ecmodeentry; make BOARD=drobit_ecmodeentry
TEST=Inspect .config files
BRANCH=firmware-volteer-13672.B-main
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I5e52a46013315db4415a3255c12cd0fcd39354bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2760804
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wait for the AP to direct the EC to enter USB PD alternate modes.
BUG=b:150611251,b:181144682
TEST=make buildall; observe alt mode entry
BRANCH=firmware-volteer-13672.B-main
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ia83043e30495861ebd4f0d2c8250d3755b61b851
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2727839
Tested-by: Prashant Malani <pmalani@chromium.org>
Tested-by: Eric Herrmann <eherrmann@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to bypass the cbi eeprom write protection, we add the config
CONFIG_BYPASS_CBI_EEPROM_WP_CHECK to bypass the write protection gpio
check.
BUG=b:169034911
BRANCH=volteer
TEST=`ectool cbi set` is working
Change-Id: Ibd1e8af4eb8f7ead506999c4ce3803fa0e341c10
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2719725
Reviewed-by: Aseda Aboagye <aaboagye@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update LED behavior by Marketing spec.
BUG=b:174924448
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
Verify LED behavior with below items
1. DC mode : S0/S3/S5
2. AC mode : S0/S3/S5
3. battery low : S0/S3/S5
4. Battery Error : S0/S3/S5
Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Change-Id: I288f55f9f47fcb21f38207dd44e4ef7e6811bfa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2577137
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the DPM will be handling source-out decisions for TCPMv2,
remove references to its old configuration options from TCPMv2 boards in
order to avoid any confusion as to what code is running now. Also
remove the charge manager notifications of sink attach/detach since the
policy is being centralized into the DPM.
Note that the previous configuration options only ever allocated one 3.0
A port, and so the default number of 3.0 A ports has been set to 1.
BRANCH=None
BUG=b:168862110,b:141690755
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ie452e3da32b04226503539daa67b6b9f4a58aa58
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597431
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Base on keyboard spec, modify the keyboard related setting.
2. Implement keyboard backlight function.
BUG=b:175851434
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
1. Verify keyboard function behavior.
2. Verify keyboard backlight behavior.
Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Change-Id: I4472f7d73126324df31b4e7c3d58bcf3d6c153dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597127
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Config the EC battery setting depend on battery spec.
BUG=b:173534296
BRANCH=firmware-volteer-13521.B
TEST=manual
1. Check battery found on EC log.
2. Check battery cutoff function on EC console.
3. Check battery charging FET status when battery full.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I4fbdcc18a5d8727ee2d1f2571310b3b7cc4b3c21
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2546720
Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Base on schematic, change CHIP_VARIANT to npcx7m7fc.
BUG=b:173533428
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
1. Check system bring-up.
2. Check EC reset on EC console.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Ic85e102af92921e0685056ffb059d5be7b28ab4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2545914
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Base on schematic, Update TCPC configurations.
1. The TCPC using rt1715 for C0 and C1.
2. Change PPC from sn5s330 to syv682x for C0.
3. Support retimer Intel Burnside Bridge for C0 and C1.
BUG=b:172305295
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
Check TCPC init ready and PPC init'd
Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Change-Id: I0e81ca5077f20104f62dbb80abe1aa347e91b765
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2534430
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To support USB4, source a total of 4.5A on the type-C ports. This
ensures that if the first device requests 3A (15W), the chromebook
continues to source 3A even after a second device is connected.
BUG=none
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Idccb74d5634cb07f0339be603d9b497e3a527fbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533491
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Base on schematic, remove G-sensor/hall-sensor/volume button function.
BUG=b:172309606
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Iafed86fb81a727632c374320681984cf32ea0e3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2517259
Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove ALS function dependent on schematic.
BUG=b:172129778
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=drobit
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: If24cb9fdc6583417f23c3451c668979c09cafeb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2513405
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
Create the initial EC image for the drobit variant by copying the
volteer reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.2.0).
BUG=b:171947885
BRANCH=none
TEST=make BOARD=drobit
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Ica881e616b85ffd15a989e5f38c29ce87dabee31
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2507190
Reviewed-by: Keith Short <keithshort@chromium.org>
|