| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:190637023
BRANCH=None
TEST=make -j BOARD=primus
Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com>
Change-Id: Ifea88e2da7e5db53d9bb561426432ff74153b88d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2944521
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:192286098
BRANCH=none
TEST=make -j BOARD=gimble
TEST=make sure cold reboot work
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I5f561988e5affd044929af3f2a0ab38edab96f2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053133
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:190459738
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I4a43bebf719b3e48ec6fce1c05267d2fc44a084e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045027
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193377625
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ib1330302154446236c2a1b6052ffa4598f71fcd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045036
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194649741
BRANCH=none
TEST=make -j BOARD=gimble
TEST=check "cutoff" in EC console
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I27bd319d5613ec83ac1e05dccccc1b9c19c7545d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034794
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194223164
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I54857d9e98a56e77d7858c6d746e0a5e2f143da1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3051291
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On dragonclaw, setting GPIO_DIVIDER_HIGHSIDE to 1 is necessary to
enable communication with FP sensor. Until now it was enabled during
fp_sensor_init() which was called from fp_task() only in private build
(when HAVE_FP_PRIVATE_DRIVER is defined). This was causing problems with
fpsensor_hw hardware unittest, which is public build.
The problem was solved by enabling GPIO_DIVIDER_HIGHSIDE in
configure_fp_sensor_spi(). This approach also required to change
get_fp_sensor_type() function to leave GPIO pin enabled.
BUG=b:170432597
BRANCH=none
TEST=./test/run_device_tests.py --board bloonchipper --tests fpsensor_hw
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I9cf50ef1377da2dec57d73f9e1374928da86481d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034857
Reviewed-by: Craig Hesling <hesling@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Munna is clamshell, it doesn't need tablet mode function.
So we should remove the tablet mode function
BUG=b:194515354
BRANCH=kukui
TEST=make sure the DUT doesn't change to tablet mode while the
TABLET_MODE_L is low.
Change-Id: Ic19b0f6d8b6b44baca3b92f85c848839410c7235
Signed-off-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3051293
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mushu is down to 700 bytes of free flash on ToT, so remove some
commands in order to bring it up to almost 2k free.
BRANCH=None
BUG=None
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I17c9863208a1b26568a07f772c9431f6eaf633ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3048516
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193461268
BRANCH=none
TEST=make BOARD=redrix
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: If14e5de907c69fc830167f165c371e1b3e40fb05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045431
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194269214
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I70f93cea02a24876c06d8c2f54169a2290b432d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038422
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are 2 tablet mode triggers:
* Lid: when the lid angle close to 360 degree, either detected by
a GMR sensor or by the angle computed by 2 motion sensors.
* Base: when the detachable base is detached.
These 2 triggers set the tablet mode status, which as a boolean,
resulting a race condition.
This CL fixes the race condition. Each trigger updates its own bit. The
final tablet mode status is the OR of all bits.
BRANCH=Trogdor
BUG=b:193873098
TEST=Attached the base, checked tablet_mode enabled;
detached the base, checked tablet_mode disabled;
flip base to 360 degree, checked tablet_mode disabled;
move the base out of the lid, checked tablet_mode disabled.
Change-Id: Ia9d9d2d66c194796c1039cc8b746c8d1f28a4496
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044414
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mushu is nearly out of flash on ToT, 40 bytes, so remove the PRL
strings from the build. Set the default debug level to 2, so RX
messages will show up in logs automatically if they are needed.
BRANCH=None
BUG=None
TEST=Build on ToT, observe mushu has over ~700 bytes free flash.
Change-Id: I79b428ea24c443f428d888f4ad890483e5a9f9fd
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3048524
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d7d8a72b24ba3f1b5845ac2d1fa61b032a2f5075.
Reason for revert:
CONFIG_LED_ONOFF_STATES accidentally delete last letter S.
Original change's description:
> dirinboz: remove imu sensors
>
> Dirinboz is a clamshell only device, not use imu sensors.
>
> BUG=b:174240357
> BRANCH=zork
> TEST=can power on DUT normally.
>
> Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
> Change-Id: I56202d92da86b5da2919d3e285ce953f568aad5f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017902
> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
> Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Bug: b:174240357
Change-Id: I4f2cbcc0c7931f22492c25a4ceb654da882b96cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045864
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Zick Wei <zick.wei@quanta.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bosh notice that BMI160 are going EOL,
so we intend to import ICM42607 for Fennel
BUG=b:194251601
BRANCH=kukui
TEST=1.make BOARD=fennel
2.ectool motionsense can get the sensor data
3.rotate the DUT and check the direction of the frame
Change-Id: I87e8b78078c2fe74246e2ce03d67315df7e9cab8
Signed-off-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045032
Reviewed-by: Ting Shen <phoenixshen@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because of the oled panel poweron timing, BL_DISABLE does
not need to be controlled by ec.
BUG=b:194197448
TEST=make -j BOARD=homestar
Verify build on SIT board
BRANCH=Trogdo
Signed-off-by: tongjian <tongjian@huaqin.corp-partner.google.com>
Change-Id: I1723f7def2c9358b137cfe813094b54a1a3974e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045418
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dirinboz is a clamshell only device, not use imu sensors.
BUG=b:174240357
BRANCH=zork
TEST=can power on DUT normally.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I56202d92da86b5da2919d3e285ce953f568aad5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017902
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Genesis only has three USB-A ports so update GPIOs and power handling.
Also remove unused thermal table.
BRANCH=puff
BUG=b:192008266
TEST=boot; charge phone on each USB port, monitor GPIOs
Change-Id: Ie3e5991f41caffa0b0a55adfd293e03befa80ce5
Signed-off-by: Jeff Chase <jnchase@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045536
Reviewed-by: Joe Tessler <jrt@chromium.org>
Commit-Queue: Joe Tessler <jrt@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194269211
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I8182d04cf283753dbf388a4fb30a3983fc0fe557
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038421
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194260437
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I35b8261aa486548f20a9d991f94008656c0c006b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034795
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:192286098
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ibcd487331e70644da2b0aeb635acc05098dd8a69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038081
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193377622
BRANCH=main
TEST=make BOARD=taeko
Signed-off-by: amber.chen <amber.chen@lcfc.corp-partner.google.com>
Change-Id: Ic0fd57ed60ca6872adda3d626b2ca4012d840444
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3040938
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create Cappy2
BUG=b:191718716
BRANCH=Keeby
TEST=make BOARD=cappy2 pass
Signed-off-by: wangganxiang <wangganxiang@huaqin.corp-partner.google.com>
Change-Id: Id374b76eb020d429c5281ed6e9b7d1d7050c62d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3020642
Reviewed-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:187539586
TEST=make -j BOARD=homestar
Verify build on DVT board
BRANCH=Trogdor
Signed-off-by: tongjian <tongjian@huaqin.corp-partner.google.com>
Change-Id: I3063ca561726c9a33a1ecd1b5f69d96d94576f52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3043762
Reviewed-by: Wenchao Han <hanwenchao@huaqin.corp-partner.google.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194260437
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I6e5c34a5c2bc14316fa55c80c8c3de5140aa692e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034793
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194260437
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Idfb2ae1391de15e20a8731d13a6f79a3da8c3e18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034792
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes a bug where ADC_TEMP_SENSOR_SOC index was used in for
the TMP112 SOC instead of TMP112_SOC
BUG=b:176994331
BRANCH=None
TEST=Check output of temps
Change-Id: Ic27e38f5d4dfee3b270fe8490787575cf4cc7568
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3002883
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add 2nd lid accel source KX022
BUG=b:188373186
BRANCH=dedede
TEST=make BOARD=storo
1. Set CBI SSFC 0x11 and use command "ectool motionsense" for
sensor kx022
2. test factory test pass
Signed-off-by: mike <mike5@huaqin.corp-partner.google.com>
Change-Id: Ibba58d53cf6fbfa35ba0c8e7fe73d4ebfdb9e7c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3037288
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
according to OEM request, we will remove base sensor
for clamshell baord in DVT2 state.
BUG=b:193314277
BRANCH=dedede
TEST=make BOARD=storo pass, and test rework board OK.
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: Iefc965f468529e48c521c600f3edd98fabb1cdff
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3016494
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch the base accel/gyro sensor from BMI160 to BMI260.
BRANCH=None
BUG=b:194194887
TEST=Built the herobrine_npcx9 image successfully.
Change-Id: I45b5ba072a787ae53f5f5158701dd61cb0c0410f
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042984
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The naming string should be DYNAPACK.
BUG=none
BRANCH=none
TEST=make buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I32f2498d4e51a83bd323d313a862622b6e69967d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038017
Reviewed-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regarding the lid accelerometer, change to Bosch BMA253 and remove
the interrupt pin.
And the base accelerometer changed to LSM6DSLU.
BUG=b:193744971
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I2db5f981e86217ce1cf8e207c40040493071f5d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3037286
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193487913
BRANCH=none
TEST=make BOARD=redrix
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I213e7f05783d784a138e908493fd1262e9b4fc3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023744
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Simply copy from: https://crrev.com/c/1971511]
Add Dynapack CosMX battery configuration. The battery was the same as
Jinlon.
BUG=b:190797341
BRANCH=none
TEST=make buildall -j
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I6aedb010c2d3300ee12ebe0b4be5d99c874aac9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023512
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simply copy from: https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/board/jinlon/led.c
|1. Add some macro changes and change C0 charging led to left side.|
|2. Add a LED task to replace the hook task.|
1. Redrix has the same design as Jinlon, there are two set
charging leds on system (right side and left side), each side has two
colors amber and white.
2. Redrix has a power led to indicate power state suspend/off.
The led behavior define as following:
1. Charging led: led on with charging port active, other port is off.
Charging: Amber.
Discharging: Off.
Battery Error: Blinking white (0.5 sec on, 0.5 sec off)
Fuel < 10%: Blinking white on right side port (1 sec on, 1 sec off)
Force idle for factory: Blinking amber (1 sec on, 1 sec off)
2. Power led:
System is S0: White
System is suspend/S0ix: Blinking white (1 sec on, 1 sec off)
System is S5: Off
BUG=b:193945754
BRANCH=none
TEST=Cherry-picked this patch to Jinlon and Verified as following:
make sure led behavior intended.
make sure ectool led power white/off/auto work correctly.
make sure ectool led left white/amber/off/auto work correctly.
make sure ectool led right white/amber/off/auto work correctly.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: If05c9e2750ca3afcbcfaf51ce495d0f03d1fa756
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023511
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BMI160 is going to EOL,
so we intend to import ICM42607 to make 2 sources compatible
for Homestar.
BUG=b:189057043
BRANCH=trogdor
TEST=1.make BOARD=homestar
2.ectool motionsense can get the sensor data
Change-Id: I87faabf813b9ec1a5c21092b6796542dfbe2d06f
Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3029801
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Need cut-in 2nd source to secure that can keep production for
shipment.
BUG=b:193209502
BRANCH=trogdor
TEST=Both BMA253 and LIS2DWL sensor can work
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Change-Id: Iaf860ea4158cb2e09ad1aed1c7baaf904579cde0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3020126
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When import the second source sensor ICM42607,
the on-body detection and gesture host detection functions will course
proccess going to null pointer. Homestar does not require these features
according to OEM, so just remove the related macro.
BUG=b:194023320
BRANCH=trogdor
TEST=make BOARD=homestar
Change-Id: I7672fcc090d52e5a030a32ce86c19ff1cf6a0d54
Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034508
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
update gpio assignment for upcoming build.
BUG=b:193602585
TEST=boot tomato
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ic828eeb76c07e79451964c4c3e5f124056d15cc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3025873
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Parker Lin <parkerlin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193499785
TEST=manually
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I1bda9b40bb8795837d25022f6f71661f7699d1cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023017
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:194117108
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I446364816a90867f53ccfc251ad22dc742e28ad0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034791
Tested-by: Will Tsai <will_tsai@wistron.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
munna board initialization.
BRANCH=main
BUG=b:188117811
TEST=make BOARD=munna; make buidall
Signed-off-by: Bossen WU <bossen.wu@stmicro.corp-partner.google.com>
Change-Id: I7de980f61d00f1b050924812265b7068d937a112
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909958
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The thermistor: TEMP_SENSOR_SOC and TEMP_SENSOR_5V_REGULATOR
are powerd by S5 power rail,
EC will get abnormal temperature: 100C when DUT get from G3 to S5,
we ignore thermistor temperature in S5.
BUG=none
BRANCH=zork
TEST=verify there's no shutdown/prochot message during EC power on.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: Id686375aa50cbbe01384b629b1098a574b3c35fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3015909
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The base g-sensor provides 2 functions: accelerometer and gyro.
EC need to assign 2 different addresses to store each calibration data.
BRANCH=none
BUG=none
TEST=make BOARD
Signed-off-by: elmo_lan <elmo_lan@compal.corp-partner.google.com>
Change-Id: I90f5c4daa51b63788f102c0689c59e566255ffc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023757
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
Tested-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:186264627, b:193807794
TEST=build herobrine_npcx7 and herobrine_npcx9
Signed-off-by: Philip Chen <philipchen@google.com>
Change-Id: If8870e33643f96658f4902d0fe26081712eb6cf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035787
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SSFC bit definition started diverging between coreboot and EC. To
avoid conflicts move the definitions of SSFC bits within EC to per
board instead of at a baseboard level.
Base sensor and Lid sensor components are common across all boards
Base Sensor - bits 0-2
Lid Sensor - bits 3-5
In addition, Sasuke uses bits 6-8 for usb superspeed mux
Cret board uses bits 9-11 in coreboot for audio codec
BRANCH=firmware-dedede-13606.B
BUG=b:187694527
TEST=make buildall
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: Ib0f732e5d41668135ff180c545ff4bb6a1cb1427
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3021932
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update new thermal table
BUG=b:191187610
BRANCH=endeavour
TEST=Thermal team verified thermal policy is expected.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: Icc0a6e49bb2d74559c7a75a981fb69ba5a39ab0f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034799
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements lid_angle_peripheral_enable function.
BRANCH=none
BUG=b:178400750
TEST=Accel implementation tested on Guybrush
$ ectool motionsense lid_angle
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Signed-off-by: Latchiamaran Senram <latchiamaran.senram@bosch.corp-partner.google.com>
Change-Id: I0ece0c23350fd870c5fa696ae77dc221ef60dc4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3029667
Commit-Queue: Bhanu Prakash Maiya <bhanumaiya@google.com>
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193600290
BRANCH=None
TEST=make -j BOARD=gimble
Signed-off-by: Will Tsai <will_tsai@wistron.corp-partner.google.com>
Change-Id: Id27c6f0fb0bcf4ba58be2a253ea6b823f3aa1590
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023565
Tested-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: caveh jalali <caveh@chromium.org>
Commit-Queue: Scott Chao <scott_chao@wistron.corp-partner.google.com>
|