| 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The order of tasks in the tasklist decides the priority of the tasks.
Splitting tasks between baseboard and board level puts baseboards task
at low priority and board tasks at highest priority. To put motion task
at right priority, patch maintains one list at board level.
BRANCH=none
BUG=b:178400750
TEST=Motion task implementation tested on Guybrush
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Signed-off-by: Latchiamaran Senram <latchiamaran.senram@bosch.corp-partner.google.com>
Change-Id: Ib21e296d7c0af13f3439335f12348eb027b63e35
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3033337
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.Remove CONFIG_SYSTEM_UNLOCKED
BUG=b:192333121
BRANCH=firmware-dedede-13606.B
TEST=BOARD=pirika
Change-Id: I5bd17427abf3ae83ecfd14fe9f3f28a8fc703620
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034784
Reviewed-by: Alex1 Kao <alex1_kao@pegatron.corp-partner.google.com>
Reviewed-by: Kirk Wang <kirk_wang@pegatron.corp-partner.google.com>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Tested-by: Alex1 Kao <alex1_kao@pegatron.corp-partner.google.com>
Commit-Queue: Shou-Chieh Hsu <shouchieh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
S0:
This patch base on charger thermistor sensor
temperature to dynamic changing charge current.
S3/S5:
Follow battery charge current.
BUG=b:193758974
BRANCH=zork
TEST=Verify the S0 status charge current can be changed when
charger thermistor sensor temperature rises and drop.
S3/S5 status follow battery charge current.
Signed-off-by: Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com>
Change-Id: Ia1ebf69a2ae1b8925240e9b3d043a71b445f8f2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3033226
Tested-by: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gyro sensor add 2nd source icm-40608
BUG=b:193752214
BRANCH=asurada
TEST=manual
Using command "watch ectool motionsense lid_angle" and check angle.
Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I741d1ca86642d8949af23167b09867b98a3ad79b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3030601
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FP_RST_ODL pin is only defined in gpio_rw.inc, so this pin won't be
initialized to 1 by RO. Also, RW won't set this pin because sysjump to
RW is a warm reset actually and we are not setting GPIO pins to their
defaults after the warm reset to avoid undesired effects (see
gpio_pre_init() in chip/stm32/gpio.c).
As a result fpsensor_hw hardware unit test was not working, because
FPMCU was keeping sensor in reset.
Build with FP private driver is working because the driver performs
sensor reset during initialization.
BUG=b:170432597
BRANCH=none
TEST=`make BOARD=dartmonkey`
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: Ia62340585da915e7d9f368107d57d3fb74cb831e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017988
Reviewed-by: Craig Hesling <hesling@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FP_RST_ODL pin is only defined in gpio_rw.inc, so this pin won't be
initialized to 1 by RO. Also, RW won't set this pin because sysjump to
RW is a warm reset actually and we are not setting GPIO pins to their
defaults after the warm reset to avoid undesired effects (see
gpio_pre_init() in chip/stm32/gpio.c).
As a result fpsensor_hw hardware unit test was not working, because
FPMCU was keeping sensor in reset.
Build with FP private driver is working because the driver performs
sensor reset during initialization.
BUG=b:170432597
BRANCH=none
TEST=`make BOARD=bloonchipper`
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: Ib88d1965dc1410c08c3e3a51ad4f90d27f8ea1b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017987
Reviewed-by: Craig Hesling <hesling@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update battery pre-charge current to meet battery spec change
BUG=b:190685811
BRANCH=volteer
TEST=make BOARD=chronicler
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Ia6928d69c011fd96a02b15b7099357464399c347
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3026699
Reviewed-by: YH Lin <yueherngl@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=make -j BOARD=primus
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I06406fa18f103a9c4ba02705e0ffd89629eb4d97
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3026702
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sets up override functions for brya to correctly report each port's
thuderbolt compatibility.
BRANCH=none
BUG=b:192639464
TEST=buildall passes
Change-Id: I5d26a087a51e2a6228fd76f7070d4f29960993af
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3029661
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I445701602e1d59e15cd738cb64ca7b4c7ba732f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3026703
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BMI323 and BMA422 support 12500 as the lowest ODR.
BRANCH=none
BUG=b:178400750
TEST=Accel implementation tested on Guybrush
EC commands:
> accelinfo
> acceldata
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Signed-off-by: Latchiamaran Senram <latchiamaran.senram@bosch.corp-partner.google.com>
Change-Id: Ic3cd5c304360b31abc4124e417b42a2262337e3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3029006
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Copy boten board to gooey
2. Follow keeby design and update gpio
2.1 Remove EC_ENTERING_RW2 from boten board profile
2.2 Remove CCD_MODE_ODL gpio
2.3 Remove ECH1_PACKET_MODE gpio
2.4 Replace VARIANT_DEDEDE_EC_IT8320 with VARIANT_KEEBY_EC_IT8320
2.5 Change GPE2 netname as EC_PWR_BTN_ODL
2.6 Change baseboard as keeby
BUG=b:193608405
BRANCH=None
TEST=make -j BOARD=gooey
Signed-off-by: reno.wang <reno.wang@lcfc.corp-partner.google.com>
Change-Id: I7eba65342fe28be2dbd1ac3b826cf02cc65e8104
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3026905
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After testing the LID_ACCEL on chassis the rotation matrix
should be fixed for Y and Z axis.
BRANCH=none
BUG=b:178400750
TEST=Accel implementation tested on Guybrush
EC commands:
> accelinfo
> acceldata
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Signed-off-by: Latchiamaran Senram <latchiamaran.senram@bosch.corp-partner.google.com>
Change-Id: Ieb1d4e654a7417d22bb307a6f1589162ca7625e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3027382
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4cb260ea26a3d6e18320bea2421624fa29b1b53d.
Reason for revert: Next board version can correctly exit from hibernate.
Original change's description:
> Guybrush: Wait a long time to hibernate
>
> Avoid hibernating for now because hardware problems affect our ability
> to wake properly. Leave the hibernate command in place, in case it's
> needed for testing, but don't actually hibernate for an absurdly long
> time.
>
> BRANCH=None
> BUG=b:190056419
> TEST=on guybrush, confirm 'hibdelay' shows selected value
>
> Signed-off-by: Diana Z <dzigterman@chromium.org>
> Change-Id: I477230e9f31cbb5be10fa9c29954e9634f227c41
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3018682
> Reviewed-by: Rob Barnes <robbarnes@google.com>
Bug: b:190056419
Change-Id: I1c66e3fce4dcdfba76f7ab961260dd6e5c7679e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3032202
Auto-Submit: Diana Z <dzigterman@chromium.org>
Tested-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two of the guybrush batteries support a sleep mode, so add that register
information into the battery structures.
BRANCH=None
BUG=b:186774653
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I156bf7878adbce95644cadaf071a37d5df4bf03e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2967038
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|