| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up old unsupported Zephyr projects (asurada/hayato)
BUG=b:217456313
TEST=zmake testall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Cq-Depend: chrome-internal:4518690
Change-Id: I3bb1531e137bf42896ad8c7c0c9a7ceab802b696
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3428265
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once warning timer triggered: if watchdog timer isn't reloaded,
then we will reduce interval of warning timer to 30ms to print
more warning messages before watchdog reset. (this is leveraged
from platform/ec/chip/it83xx/watchdog.c)
BUG=none
BRANCH=none
TEST=on board hayato,
1.Watchdog can be stopped and be re-started
2.console cmd "waitms 2300" print "Watchdog deadline is close!"
every 30ms and doesn't trigger watchdog reset
3.console cmd "waitms 2501" print "Watchdog deadline is close!"
every 30ms and trigger watchdog reset
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Change-Id: I6b566ff0594c8425c44cd3a15911279c98d47948
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397874
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes prompt for SHI_NPCX and SHI_IT8XXX2.
They will be automatically enabled depending on host command
interface and soc family.
BRANCH=main
BUG=b:195416058
TEST=zmake testall
Change-Id: Ic84982697de4bd3363d56c6e34e188006ea6c0e4
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3214035
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable power management configuration.
BUG=b:192354255
BRANCH=none
TEST=zmake testall
TEST=Enter deep doze:
S3: power saving=4.41mA
G3: power saving=5.12mA
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I4e48fbf999a89f7af3cbee3ad36d71c6ef5db5b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3233466
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hook tick interval refers to the setting of it8xxx2 of CROS
adjusted to 500ms(default:250ms), which will reduce power
consumption.
BUG=b:192354255
BRANCH=none
TEST=zmake testall
TEST=compared with 250ms:
S0: power saving ~0.21mA
S3: power saving ~0.29mA
G3: power saving ~0.34mA
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I542e622605662f2d84a1dbc6b1d9e71dcec4a4c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3315764
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Minor refactor before landing mt8186 power seq:
1) remove PLATFORM_EC_POWERSEQ_IT8XXX2, we don't have common power code
for it8xxx2 devices currently.
2) rename mediatek,power-signal-list dts binding to mt8192.
Powerseq for MTK platform should infer from AP_ARM_MTK_MTxxxx, not from
the EC chip.
BUG=b:206338930
TEST=1) zmake -j32 configure -b zephyr/projects/asurada/hayato/
2) zmake -j32 configure -b zephyr/projects/corsola/krabby/
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I3ce8aeb6f2745b6aef9980a7cda5eadbafbfdcc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3281631
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes the prompt for HAS_TASK_* Kconfigs.
They are enabled automatically when corresponding feature is enabled.
BRANCH=main
BUG=b:198777314
TEST=Verify that all tasks are created correctly. USB PD tasks
should match amount or usb-c ports count.
Change-Id: Ia69f9762cb8953df99d12b772f607d26df1fe379
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3197726
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Migrate the BBRAM driver to the upstream version.
BRANCH=none
BUG=b:195843756
TEST=zmake testall
Cq-Depend: chromium:3147080
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I441e58f94c4874e268aad36df2f036a88187801b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3147230
Tested-by: Yuval Peress <peress@google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This saved about 3 seconds erasing time while running software sync.
This also pull configurations of flash/memory layout to chip level.
BRANCH=none
BUG=b:195954913
TEST=software sync successfully.
(without erase timeout patch of depthcharge)
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: Ia7fa08fdf6bdde4c47ca8d852f8eeaa83f39dae5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3097250
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it8xxx2's memory-mapped flash layout are as the below:
- RO image starts at the beginning of flash.
- PSTATE immediately follows the RO image.
- RW image starts at the second half of flash.
And its flash size is 1M byte. So let's correct RO/RW size and offset.
BRANCH=none
BUG=b:194794622
TEST=sysjump rw/ro, sysinfo.
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I1130d670af054d88f7dfd1874ba5ecfd22b500df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058156
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@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>
|
|
Move all the boards directories together under zephyr/boards from
their scattered locations under projects/.
This is the first step towards de-coupling the concept of a Zephyr
board from baseboard/board/model, as it currently is. Further work
will be required to actually unify these directories and delete the
baseboard-specific names from our tree.
BUG=b:193814903
BRANCH=none
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I33a344af6890b2c2c54f1e91f0f0fa85caaf19d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035222
Commit-Queue: Yuval Peress <peress@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
|