| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the interest of making long-term branch maintenance incur as little
technical debt on us as possible, we should not maintain any files on
the branch we are not actually using.
This has the added effect of making it extremely clear when merging CLs
from the main branch when changes have the possibility to affect us.
The follow-on CL adds a convenience script to actually pull updates from
the main branch and generate a CL for the update.
BUG=b:204206272
BRANCH=ish
TEST=make BOARD=arcada_ish && make BOARD=drallion_ish
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the HOOKS task so the periodic HOOK_TICK and HOOK_SECONDS are
called.
HOOK_TICK is required by the PWM LED support.
BUG=b:174851299
BRANCH=none
TEST=make buildall, zmake testall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Id00f38833d05e32b921d92d2441831058294c994
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2636481
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for motion sense in zephyr. This change adds basic functions
for motion sense task to do meaningful work.
sensor_map.h included by board.h will be used to get board specific sensor
configuration.
BUG=b:173507858
BRANCH=none
TEST=make buildall -j8
build volteer on zephyr
Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.corp-partner.google.com>
Change-Id: I906316d2e97428cf46b9a15071666c8e3b039b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2638909
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable this task so that power-delivery interrupts are serviced
correctly.
BUG=b:175434113
BRANCH=none
TEST=make BOARD=volteer -j30
build volteer on zephyr
run and see lots of charge_requests and activity, none of it very
useful
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: Ic9af885b9d9635d806f6d1c662abfb695e41fedc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617205
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the PD_C0-3 tasks so that the power-delivery logic can run.
Drop the PLATFORM_EC_USB_PD_TCPMV2 Kconfig which does not actually
exist. We always use TCPMV2 with Zephyr.
BUG=b:175434113
BRANCH=none
TEST=make BOARD=volteer -j30
build volteer on zephyr
run and see lots of charge_requests and activity, none of it very
useful:
[658 Battery 26% (Display 24.2 %) / ??h:?? to full]
[662 charge_request(13200mV, 2584mA)]
[666 charge problem: set current, 0x0 -> 0xfffffffb after %.6llds]
[673 charge problem: set voltage, 0x0 -> 0xfffffffb after %.6llds]
[679 charge problem: set mode, 0x0 -> 0xfffffffb after %.6llds]
[707 charge problem: chg params, 0x0 -> 0x1f after %.6llds]
Signed-off-by: Simon Glass <sjg@chromium.org>
Cq-Depend: chromium:2623427
Change-Id: Icde0f7f4205d85e02cffded351c54047fe220c9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617204
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This task is used to ramp up charging from an external source. Add
support for this along with required Kconfig options.
Add one more stub in system to make it build. This is covered by the
existing bug.
BUG=b:175434113
BRANCH=none
TEST=make BOARD=volteer -j30
build volteer on zephyr
So far the output is not interesting (need more drivers):
uart:~$ chgramp
Chg Ramp:
State: 0
Min ICL: 0
Active ICL: 0
Port 0:
OC idx:0
OC 0: s-1 oc_det0 icl0
OC 1: s0 oc_det0 icl0
OC 2: s0 oc_det0 icl0
Port 1:
OC idx:0
OC 0: s-1 oc_det0 icl0
OC 1: s0 oc_det0 icl0
OC 2: s0 oc_det0 icl0
Signed-off-by: Simon Glass <sjg@chromium.org>
Cq-Depend: chromium:2613607
Change-Id: I603ba43d4384b62ed0c1a64b580599b42ae85e81
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617039
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add these tasks so that we can enable USB charging. For now it is left
off since the driver is missing.
Move the charger task to the top so that things are in alphabetical
order.
BUG=b:175434113
BRANCH=none
TEST=make BOARD=volteer -j30
build volteer on zephyr
Change-Id: Ib1f48438a2b33069624beb2cd9330db475f76333
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2615620
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option is implied so we may as well create it. Set it to be
visible (and automatically enabled) only if PLATFORM_EC_HOSTCMD is
enabled. This mostly mimics the current behaviour.
Also select the hostcmd task automatically if PLATFORM_EC_HOSTCMD is
enabled, since that feature cannot work without the task. If
PLATFORM_EC_HOSTCMD is not enabled there is no need for the task.
BUG=b:176449230
BRANCH=none
TEST=ninja -C /tmp/z/vol/build-ro menuconfig
Check the operation of HAS_TASK_HOSTCMD and PLATFORM_EC_HOSTCMD
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I837c6b30bfc9746a17a697b9ee94a7870a01fb56
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606577
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option is implied so we may as well create it. Set it to be
visible (and automatically enabled) only if PLATFORM_EC_KEYBOARD is
enabled. This mostly mimics the current behaviour.
Also select the keyproto task automatically if
PLATFORM_EC_KEYBOARD_PROTOCOL_8042 is enabled, since that feature
cannot work without the task. If PLATFORM_EC_KEYBOARD_PROTOCOL_8042
is not enabled there is no need for the task.
BUG=b:176449230
BRANCH=none
TEST=ninja -C /tmp/z/vol/build-ro menuconfig
Check the operation of HAS_TASK_KEYSCAN and PLATFORM_EC_KEYBOARD
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I576f2ee3560a307e00d11bc6b8b6c04acb81dd24
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606574
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option is implied so we may as well create it. Set it to be
visible (and automatically enabled) only if PLATFORM_EC_POWERSEQ is
enabled. This mostly mimics the current behaviour.
BUG=b:176449230
BRANCH=none
TEST=ninja -C /tmp/z/vol/build-ro menuconfig
Check the operation of HAS_TASK_CHIPSET and PLATFORM_EC_POWERSEQ
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I7dc698c15fa65eb16ec40724a06b67d7e4ddc27d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606573
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This supports monitoring and charging the battery. Enable it for
Zephyr.
BUG=b:175248556
BRANCH=none
TEST=build and run zephyr on volteer
No visible change, except more code is compiled in
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I21ff976ba2f5de6e8f069e30028770eda408041a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2600229
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
See platform/ec/common/build.mk for reference. The use of
keyboard_scan.c should only be allowed when HAS_TASK_KEYSCAN
is defined. As such, we should always set HAS_TASK_KEYSCAN to
1 if CONFIG_PLATFORM_EC_KEYBOARD is defined. Further,
CROS_EC_TASK_LIST was defined per project and it doesn't need
to be, we can instead define it once for all boards depending
on which tasks are set to 1 in shimmed_tasks.h
Note that shimmed_tasks.h can still be used in tests.
BRANCH=none
BUG=none
TEST=zmake testall
Cq-Depend: chromium:2566421
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Id0ed49dd49e3c4eb2ac23184cf943c91dcd261eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2567560
|