| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This initializes the Device Control Register (0x0b) to its power-on
reset value. This chip is not connected to the system reset signal, so
we need to explicitly set registers to their power-on reset value so we
start from the same configuration when we reboot as we do on system
power on.
BRANCH=none
BUG=b:193211352
TEST=charging from another chromebook is reliable now
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: I82ce3fd624091b89668a682cb8748af171552d72
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044412
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This explicitly disables VBUS discharge when entering sink
mode. According to the vendor, keeping VBUS discharge enabled can cause
some noise and that explains some of the instability we had observed
when charging from another chromebook and 5V3A charger.
BRANCH=none
BUG=b:193211352
TEST=charging from another chromebook is reliable now
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: I117dd3f7f9efddce00f903c2b290fa85c6052c5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044411
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List relevant commits when constructing volteer branch merge commit
messages.
BUG=none
TEST=none
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Ibac403353a40055798323b20a9333c757ec305c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044138
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
Tested-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nocturne and Nami are legacy kernel v4.4 devices.
The spidev char device naming changed between their v4.4 and newer v5.4.
Since these devices have a kernelnext build+tests, we need an alternative
configuration that uses the new spidev name.
This is achieved by allowing for specific alt configs that match
the full platform name, like "nami-kernelnext". If a config is not
provided for the full platform name, it will fallback to using the
normal base config name, like "nami".
BRANCH=none
BUG=b:194004525
TEST=# Run the following commands on a nocturne, nocturne-kernelnext,
# nami, nami-kernelnext, and hatch setups.
#
# Note, you get a kernelnext setup by flashing the base platform
# device with an xbuddy line similar to
# xbuddy://remote/nami-kernelnext/latest-dev/test
scp util/flash_fp_mcu ${DUT_HOSTNAME}:/usr/local/bin/flash_fp_mcu
ssh ${DUT_HOSTNAME} flash_fp_mcu --hello
# Check that full platform name and base name was identified
# correctly.
# Check that it succeeded.
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: Ib2ad991291639ef33799abb4bc3379c1659f754d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035686
Reviewed-by: Jora Jacobi <jora@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Guybrush has the GPIO set up for backlight disable, but doesn't have the
config set and so we're not compiling in the code to actually disable
backlight on lid close.
BRANCH=None
BUG=b:194326578
TEST=on guybrush, open and boot to confirm backlight is on. Close with
the system in S0 and confirm it goes off
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: If707525d9f4bb98a577f75e7017beae03638726c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044410
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add this signal as it is present on more recent board versions. This
should be fine on older board versions since it was a TP pin previously.
BRANCH=None
BUG=b:194320972
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I839027fecaac8d47992ae262f334c88c8a7311a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044406
Reviewed-by: Rob Barnes <robbarnes@google.com>
Reviewed-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Commit-Queue: Rob Barnes <robbarnes@google.com>
Commit-Queue: Karthikeyan Ramasubramanian <kramasub@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch the base accel/gyro sensor from BMI160 to BMI260.
BRANCH=None
BUG=b:194194887
TEST=Built the herobrine_npcx9 image successfully.
Change-Id: I459e58a76acc9a5c986f08de711c0227adca63c3
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042987
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default range is a chip-specific property. The same motionsense chip
use the same setting and rarely changes. Add the value as the default
property. So the project dts can neglect this property. Easy to switch
chip without bothering to change this property.
BRANCH=None
BUG=b:194194887
TEST=Built the delbin and hayato images successfully.
Change-Id: I856f0b93af67974f29800551f7da779b43facc55
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042986
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the property consistent across different sensors:
* not required
* default to a common I2C address
BRANCH=None
BUG=b:194194887
TEST=Built the delbin and hayato images successfully.
Change-Id: I7784176e6d09e883b9ef957311aba610d3e69597
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042985
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Declutter the test directory and follow existing established pattern of
src/ and include/ directories.
BRANCH=none
BUG=none
TEST=zmake configure --test zephyr/test/drivers
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I5daf54a950d6fb830414da0b55a8d85732cffa4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3043364
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:194047863
TEST=On spherion, no keyboard backlight blinking.
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I847291268720bf12ca98b3e38e29a556ec038cd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3043075
Tested-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The rule has been added in the Makefile.rules already.
BUG=none
TEST=make don't complain
BRANCH=none
Change-Id: I7af66c23ff8cad775e89330d5d1849a4aa91069e
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2999361
Tested-by: Eric Yilun Lin <yllin@google.com>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is a Zephyr-equivalent of CL:2993218.
Add the I2C bus for the RTC chip. The chip runs at 400KHz.
BRANCH=None
BUG=b:192253134
TEST=Built the herobrine_npcx9 image successfully.
Change-Id: I399485706c66070464fcd9fe53bec35b4c0454a6
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039388
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the board dts file simpler and easier to be merged to other boards
which use the same chip.
BRANCH=None
BUG=b:192253134, b:193814903
TEST=Built the Zephyr herobrine_npcx9 image successfully.
Change-Id: I53a15a47511eb875bbfd50906f5a11d3a69d48ea
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039387
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is a Zephyr-equivalent of CL:2993217.
Update the GPIOs to match the schematic. Also update the hibnerate
wake sources. Remove the AP_RST_L and WARM_RESET_L from the low voltage
dts as their new GPIOs already operate at 1.8V, not configurable.
BRANCH=None
BUG=b:192253134, b:193583152
TEST=Built the Zephyr herobrine_npcx9 image successfully.
Change-Id: I2fcb03acff7ac376a5627f66c800d2d8cade1998
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039386
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL copies the Zephyr board/trogdor to board/herobrine_npcx9.
Modify the chip config to npcx9m3f and some related configs (simply
rename) and dts (update the UART property). The board/herobrine_npcx9
and other NPCX9 boards, like board/brya will be merged to a single
board. But the merge needs more work to remove the not-common configs
and dts to the project directories. Leave it as a future work.
This CL also copies the project trogdor/herobrine_npcx7 to
herobrine/herobrine_npcx9. Remove the dead files power.c and
hibernate.c, in the EC-OS directory. Remove the Zephyr 2.5 support
and board.cmake (needed only for 2.5).
BRANCH=None
BUG=b:192253134
TEST=Built the herobrine_npcx9 image successfully.
Change-Id: I9641768ee978920f6a8677f13ae14e0a26ad35f4
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993220
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the RAA489000 manual, extend the time
to read the vbus after the ADC initialization is
completed.
BUG=b:193402296
BRANCH=keeby
TEST=make BOARD=cappy2 pass
Signed-off-by: jesen <wangganxiang@huaqin.corp-partner.google.com>
Change-Id: Ie326932a9a5d3849e31e15a090074ad1274a7266
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023762
Reviewed-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Congratulations! The following options are now in
Kconfig:
CONFIG_ARM
Config removed with './util/build_allowed.sh -u'
BUG=none
BRANCH=master
TEST=make buildall passes.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Change-Id: Ia96c24db5489d9681ae0acf4da2a9133a8f2a3e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3041918
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=none
TEST=zmake configure --test zephyr/test/drivers
Cq-Depend: chromium:3039315
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ie5b10db6ab29c746bada8f5a8c062eae859a56fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039389
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enable low power mode to further decrease power consumption.
BUG=b:192815893
TEST=manually measure power
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ib5d22d1d3c9cc8ed644075b8ed239f96d0eea67e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3004127
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current setting lets choice select & config value misalign.
e.g.,
```
// Earlier definition in Kconfig.npcx
CONFIG_NPCX_HEADER_SPI_MAX_CLOCK=50
// Default choice automatically set
CONFIG_NPCX_HEADER_SPI_MAX_CLOCK_20=y
```
Upstream PR(https://github.com/zephyrproject-rtos/zephyr/pull/36999)
adds symbols for those choice options. This CL change to override the
header setting by the choice symbols.
BUG=none
BRANCH=none
TEST=zmake testall
TEST=get the aligned header config on Lazor
Cq-Depend: chromium:3038117, chromium:3038118
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: Ie11b462d0dd52e14becdfef9ad195c81b67242aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034783
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to increase of RW size, stm32l431 flash layout were change to RO:
124KB, PSTATE: 2KB, RW:130KB
BRANCH=kukui
BUG=b:188117811
TEST=make BOARD=munna; make buidall
Signed-off-by: Bossen WU <bossen.wu@stmicro.corp-partner.google.com>
Change-Id: I8cf2d2dbdc8a2ae5e95d1d54c6672796eb02fc02
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3037292
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193465122
BRANCH=none
TEST=build and boot to kernel without reboot issues
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I8b68d8bda4e98e8faaa6b11ccb60361527d7bab8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039959
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:193465122
BRANCH=none
TEST=verify no "Watchdog deadline is close" on boot
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I84e4c37faa64e4f556bda924ad18e4ccb47039ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039958
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When ec initial,
the charge state (curr.state) will be 0 which also mean ST_IDLE,
and led_get_state will get STATE_DISCHARGE_S0.
In this case, we will see led flash.
This CL keeps led off when ec is initial.
BRANCH=dedede
BUG=b:193945782
TEST=On cret, after issue `reboot` via ec console, we won't see led flash.
Signed-off-by: elmo_lan <elmo_lan@compal.corp-partner.google.com>
Change-Id: I2d14c5ac94cfb17486f4596ff7e82e972b18aafe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3037294
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@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>
|