| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normalise the name of the tablet mode detection
GPIO so that everyboard does not need to redefine it.
BUG=none
TEST=zmake testall; make buildall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ifb458e755d1e00c0cff66a02c78dfccaba2d070c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397141
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to correctly sequence HPD sets with the AP, allow the HPD set
to wait on an ACK from the AP before proceeding.
BRANCH=None
BUG=b:202137658
TEST=on brya, validate retimer and virtual mux are kept in sync as
expected
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I368c3290b69d627829a70847876d7b47a8c36948
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3232293
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert all instances of i2c_ports[] to use declared initializers. This
allows the fields to be reordered without breaking code.
BUG=none
BRANCH=none
TEST=compare_build.sh
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I326bd6efef5cdfdf8bbd2c68dda268dca543b9d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3300185
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:200098147
BRANCH=icarus
TEST=1. Switch to tablet mode for DUT
2. Reboot the DUT
3. Closing the lid to NB mode
make sure DUT leave tablet mode.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I7f3dfbd5950370dd9615ec4568da3b1ca8512b80
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3162468
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SKU 2 -> convertible + Wifi6
BUG=none
BRANCH=icarus
TEST=none
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I606993a6749d0797e9742fca84a4ec5f27eb7a1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3162464
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we have definitions for HPD IRQ and level in the mux flags, extend
this to the HPD update function in the usb_mux structure as well.
BRANCH=None
BUG=b:172222942
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I19c3a65fc821a341338d73fabd7876339b37fe7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095437
Reviewed-by: Keith Short <keithshort@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For KX022 is recommended I2C CLK timing minimum to 2.5us, set
IT83XX_I2C_CH_B to 400kbps. Fill min and max frequency in
motion_sensors for KX022.
BUG=b:196998259
BRANCH=icarus
TEST=I2C timing meets the spec.
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I74e1bd6e59963dc86fd5f8725a5ee0d5aeda1d59
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3102329
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Commit-Queue: Shou-Chieh Hsu <shouchieh@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|