| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove optional feature to generate locked image for production.
BUG=none
BRANCH=volteer
TEST=make -j buildall
Change-Id: Idde136596a0ba5a45bc70926296bb382c1f2fb3b
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3020666
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set CONFIG_SYV682X_HV_ILIM to 5.5A on voema.
BUG=b:179217436
BRANCH=volteer
TEST=Use i2cxfer check syv682x setting.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ibea60b97014850d7dda5e195dd433f0522ea236e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2965805
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
connector-to-GPIO map:
{-1,-1}, { 0, 5}, { 1, 1}, { 1, 0}, { 0, 6},
{ 0, 7}, {-1,-1}, {-1,-1}, { 1, 4}, { 1, 3},
{-1,-1}, { 1, 6}, { 1, 7}, { 3, 1}, { 2, 0},
{ 1, 5}, { 2, 6}, { 2, 7}, { 2, 1}, { 2, 4},
{ 2, 5}, { 1, 2}, { 2, 3}, { 2, 2}, { 3, 0},
{-1,-1}, { 0, 4}, {-1 -1}, { 8, 2}, {-1,-1},
{-1,-1},
BUG=b:185095078
BRANCH=volteer
TEST=`ectool kbfactorytest` PASS.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Id134930d78a0f33afcc2e87ad09367036883f49a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2944273
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supports npcx796fc build target to switch npce796fc/797fc chip
select.
BUG=b:187096310
BRANCH=none
TEST=make buildall, workable on the re-worked Board.
Change-Id: I0c6eff0a4ba11ff7dc07333f8230d3df34f21d64
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2870885
Reviewed-by: YH Lin <yueherngl@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
config kx022 or bma255 motion sensor by ssfc bits map,
and rename volteer ssfc bits map.
BUG=b:178447173
BRANCH=main
TEST=Using ectool 'motionsense' verified lid angle now goes
from 0 to 360 and swtiches to tablet mode after crossing 200
threshold on re-work kx022/bma255 DUT.
Change-Id: I2901b0cc980e50324eb4f20d073c5f3a4c3f80e3
Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825719
Reviewed-by: Keith Short <keithshort@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set flag and configure GPIOs to enable Fast Role Swap.
BUG=b:148144711
TEST=make buildall
BRANCH=None
Signed-off-by: Eric Herrmann <eherrmann@chromium.org>
Change-Id: Ia3586858c89f37e42284c5e585adf1aca36c67a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752271
Reviewed-by: Abe Levkoy <alevkoy@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the x-axis of voema matrix.
BUG=b:179001192
BRANCH=main
TEST=Check lid angle correct when DUT turn 90/180/270 degrees.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6c1f009651dff2227480d21a44894f250f4aaeb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2702996
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Need support 65w adapter, modify max power and max current.
BUG=b:179217436
BRANCH=volteer
TEST=Insert 65W adapter and check current limit set to 3250mA.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I3eee8440dd635bb5312baf2621eaf0f3fe013ee8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2672992
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change base accel sensor to BMA253.
BUG=b:169356807
BRANCH=main
TEST=Check "ectool motionsense" get sensor data.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I2edd83c316ab3aed1d6f89fed077d0bdc54d7b8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2649289
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new battery AP15O5L
BUG=b:176860886
BRANCH=main
TEST=1) See "[found batt:PANASONIC KT00305013]" on EC console
2) battery readings looks reasonable.
3) cutoff workable.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ie2522ab2a782def304ae2588b7f34d7422e97345
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639418
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize the vivaldi keyboard.
BUG=b:177274193
BRANCH=main
TEST=manual
1. Scan all key.
2. Check action key function.
3. Check ALT + Volup + H.
4. Check ALT + Volup + R.
5. Check Refresh (F2) + powerbutton (EC reboot).
6. Check ESC + Refresh + powerbutton.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ib949e96910130971b41c3dd6017ac9b6f7e08ff8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2637155
Reviewed-by: Keith Short <keithshort@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unused configuration and gpio pin and reconfig tcpc/ppc config for voema typec port.
BUG=b:169356808
BRANCH=master
TEST=Check C0/C1 port workable.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I0ff2322b1cf19e24f66745c1509b811eeff69161
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550118
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use EC_KB_BL_EN to enable/disable keyboard backlight when enter/leave
S0.
BUG=b:169356808
BRANCH=master
TEST=Check keyboard backlight status in S0/S3.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6f9288963cec676a155e6d5a47604d3a08a30818
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537527
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove fan function.
BUG=b:169356808
BRANCH=master
TEST=make buildall succeed.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Id3c0f4f638d09bd10afd1de523c0e458a7413936
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537526
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change LED control from pwm to gpio.
BUG=none
BRANCH=master
TEST=Check LED status in each state.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Ic638b23dc0cd0eff0b8d252836f83b76503b192b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537525
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove usused pin and add FRS_EN pin.
BUG=b:169356808
BRANCH=master
TEST=make buildall succeed.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I3481cd0f729881c4356d3bcfd6af2ef7c8cef022
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537524
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: 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: I86cf35fd46d8188636da65ade3894f3d0bbe9ae0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533517
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Board ID 0 checks were only used on the volteer reference board.
BUG=b:149858568
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Id55e4ca49aa584afe0ba74aec65cba0ef5c51ec9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2519964
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
|
|
Create the initial EC image for the voema 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:171755775
BRANCH=none
TEST=make BOARD=voema
Signed-off-by: YH Lin <yueherngl@google.com>
Change-Id: I5dacb311463af5572619d1cdd55b1920a46e18b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2508315
Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Tested-by: David Wu <david_wu@quanta.corp-partner.google.com>
Commit-Queue: YH Lin <yueherngl@chromium.org>
|