| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update honeybuns boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I0c104fb65705d8fcba7c962fdff92eb07d46a455
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780407
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update scarlet board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I35862e08e39702c5f0287f06cabd57f16b9502e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780406
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update reef boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ie43ed5adf490a05230815284c94c971c77fc7af0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780405
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update rammus board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I02b69de466579b4a369657a36082dbabe87de9a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780404
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update rainer board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I52c07cee443f1f3e0e2d567cd1b1ab9e84dd3a21
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780403
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update nami board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Iddcad6ac56bbc4f8e6eefef2a105cba46f287816
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780402
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update kukui boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ib53091a18ab5b1b031cf83c0eef54b40cbe17347
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780401
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update herobrine board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I9a740129befb85a68df16a8b1c2687d4b294b714
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780400
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update octopus board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: If009199437a2aa980fea5bfce82ba0753aad75c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780399
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update kalista board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I36deb3491d71c13221539878d3331196b1c887a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780398
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update guybrush board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I57dba5ee02a9ed68df848fb1ff1e307ad128fc89
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780397
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update fizz board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I4c250392a1f944d0bae6d8b897d1d5818fe037e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779636
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update grunt board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I2fdb031b6c5e41cd7cb0183e5835f62bd4d72018
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779635
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update oak boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I7ae4c9e7374a94f9fc45f5db7194baad9bc7c21d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779634
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update puff boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ib2e266439a829d3176491c154fc9623c9e635563
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779633
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update coral board to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I8d450e24e0dd3bb72dbbbd7484a04e233c99bb4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779632
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update cherry boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Icb5054d97ef12ba659cf405b99760a340565ee97
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779631
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update keeby boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I348fd0950d630747deb9e02b7ea789ff5e395fed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779630
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update brask boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ifec0efa0dac67a2a1910e3193a7c346a6d36359a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779629
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update jacuzzi boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I40e2d8c4050d9928212ffa77e5ff19cd2a5931eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779628
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update poppy boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I8c2eb0f218a7885c1e6b364067ec0f6680f7a04e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779627
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update asurada boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I5a75f017a006137721d39162fcd44a1b0dcfc372
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779626
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update brya boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ibfce1a895db0b179672f26cdf2c27b7168bf8985
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779625
Tested-by: Tomasz Michalec <tmichalec@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update hatch boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I795eec4c5df1123fcb21356fd529afe7d9ac42bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779624
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update dedede boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ie73f5bc250c436a2d72fdfb4c8f8707f05fba9f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779623
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update strongbad boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I6527f41f081bca7a179f52afb87a6f534d2f09f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779622
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update trogdor boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I8bcd1f97850c9064734ee60a7785b55578a6a9a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779621
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update volteer boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Iaab1d2e718d19198e949df5ee84631cdca3568a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779620
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update zork boards to use new struct usb_mux_chain.
BUG=b:236274003
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3748785
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I0ce3899148a8b5e9bc95abbc929adb63f27f42fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779619
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update Zephyr shim layer to generate struct usb_mux_chain from DTS. Now
chain has separate node instead of property in named-usbc-port.
BUG=b:236274003
TEST=zmake build -a
TEST=./twister -T zephyr/test
BRANCH=None
Cq-Depend: chromium:3780414, chromium:3780415, chromium:3780416
Cq-Depend: chromium:3780417, chromium:3780418, chromium:3780419
Cq-Depend: chromium:3780420, chromium:3780421, chromium:3858650
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I3bc1cccc33fe64e7743baa1fe0a58c37ca1dce7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779618
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split struct usb_mux into struct usb_mux_chain and struct usb_mux. The
first structure is linked list to construct USB muxes chain and has
pointer to struct usb_mux. New struct usb_mux contains only information
about mux itself, not it position in the chain.
This is first CL and it changes common EC files.
LOW_COVERAGE_REASON=no emulator for some of the muxes set up yet
BUG=b:236274003
TEST=zmake build -a
TEST=./twister -T zephyr/test
TEST=make buildall
BRANCH=None
Cq-Depend: chromium:3779618, chromium:3779619, chromium:3779620
Cq-Depend: chromium:3779621, chromium:3779622, chromium:3779623
Cq-Depend: chromium:3779624, chromium:3779625, chromium:3779626
Cq-Depend: chromium:3779627, chromium:3779628, chromium:3779629
Cq-Depend: chromium:3779630, chromium:3779631, chromium:3779632
Cq-Depend: chromium:3779633, chromium:3779634, chromium:3779635
Cq-Depend: chromium:3779636, chromium:3780397, chromium:3780398
Cq-Depend: chromium:3780399, chromium:3780400, chromium:3780401
Cq-Depend: chromium:3780402, chromium:3780403, chromium:3780404
Cq-Depend: chromium:3780405, chromium:3780406, chromium:3780407
Cq-Depend: chromium:3780408, chromium:3780409, chromium:3780410
Cq-Depend: chromium:3780411, chromium:3780412, chromium:3780413
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ida64c87b8194dbf4a1273d66aaa773a21b2cff87
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3748785
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Code-Coverage: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Limit the battery charging max voltage while chipset is off to match the
configuration in FAFT test.
BRANCH=None
BUG=b:214325477
TEST=run FAFT firmware_PDVbusRequest.shutdown test and can pass while
battery is full.
Signed-off-by: lschyi <lschyi@google.com>
Change-Id: Ic15c9e66d9a7fc8c609e34a551788da2a91727d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3893694
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Tested-by: Sung-Chi Li <lschyi@chromium.org>
Commit-Queue: Sung-Chi Li <lschyi@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=none
TEST=Built servo_v4p1 firmware with this change and
flashed it to a Servo v4.1 with Type-C CCD DUT cable.
Repeated the following steps with and without a DUT charge plugged into
Servo v4.1:
1) Power on the Servo v4.1 while connected to a known-good CCD capable DUT.
Verify presence of CR50 CCD USB device on servo host machine.
2) Run "cc" to log its output.
3) Run "cc dtsoff" and compare the output.
Only change is "dts mode: on" changing to "dts mode: off" .
Verify absence of CR50 CCD USB device on servo host machine.
4) Run "cc dtson" and compare the output.
Only change is going back to "dts mode: on" .
Verify presence of CR50 CCD USB device on servo host machine.
Signed-off-by: Matthew Blecker <matthewb@chromium.org>
Change-Id: I39b9e62d0e6c74e1264b698d9c04008042d36eac
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3889000
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a helper function extpower_handle_update() that
performs all the necessary actions that need to be done on external
power state change:
1. Call hook_notify with AC_CHANGE
2. Update memmap_batt_flags to update EC_BATT_FLAG_AC_PRESENT
3. Set host event for EC_HOST_EVENT_AC_CONNECTED or
EC_HOST_EVENT_AC_DISCONNECTED.
BUG=b:244831994
BRANCH=None
TEST=Test on xivu,can resume from suspend when plug/unplug AC.
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: I48000be65184356217ec50415829e3b4099cf871
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3890026
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: SamSP Liu <samsp_liu2@compal.corp-partner.google.com>
Reviewed-by: Andrew McRae <amcrae@google.com>
Code-Coverage: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 8c8dc6f2287711bb839c9a61e9f254c2a3302f2d.
Reason for revert:
This breaks EC sync in depthcharge (see b:246211747 and CL:3890017). I was going to just fix the depthcharge case, but there are also a lot of places in the EC which rely on `sizeof(struct ec_params_flash_write)` being equal to the header size (e.g. flash_command_write(), flash_command_get_info(), ec_flash_write()), so these all need to be changed too.
Original change's description:
> ec_commands: Fix C++ compilation
>
> This union has non-zero size in C++.
>
> BRANCH=none
> BUG=b:234181908
> TEST=make buildall
>
> Signed-off-by: Tom Hughes <tomhughes@chromium.org>
> Change-Id: Ibd1216ebdef1d94725e7b3de341f677ccd261823
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872550
> Reviewed-by: Yuval Peress <peress@google.com>
Bug: b:246211747
Change-Id: I52508e2ec3c5a8b6224678bb655caa575f403842
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891559
Reviewed-by: Sam McNally <sammc@chromium.org>
Auto-Submit: Reka Norman <rekanorman@chromium.org>
Tested-by: Reka Norman <rekanorman@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a `gpiodbg` console command for investigating power
consumption. This command is used to turn on/off IO pad's input buffer
and observe power consumption via this pad.
Here is sn example to list all IO pads used on npcx9 evb and turn
`spi_cs_l` input buffer off
```
ec:~$ gpiodbg list
IDX|ON| GPIO | Name
---+--+------+----------
00 |* | io03 | recovery_l
01 |* | io93 | wp_l
02 |* | iod2 | ac_present
03 |* | io00 | power_button_l
04 |* | io01 | lid_open
05 |* | io36 | entering_rw
06 |* | io50 | pch_wake_l
07 |* | ioc7 | pgood_fan
08 |* | ioa5 | spi_cs_l
09 |* | io64 | board_version1
10 |* | io65 | board_version2
11 |* | io66 | board_version3
12 |* | io52 | unused pin
13 |* | io54 | unused pin
14 |* | io76 | unused pin
15 |* | iod1 | unused pin
ec:~$ gpiodbg off 8
```
BUG=b:228222441
BRANCH=none
TEST=zmake build npcx9 --clobber.
Observe WKINEN reg when 'gpiodbg off 8' is executed.
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Change-Id: Ia61deaf6bd3acf9faa5c2bce14615f92a809ddc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3735445
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tests the above host command by adding a simulated event to the keyboard
FIFO and retrieving it via the host command.
BRANCH=None
BUG=b:245531291
TEST=./twister
Signed-off-by: Tristan Honscheid <honscheid@google.com>
Change-Id: I16a1a07e5aa56b95f6e118926b531b09baab992e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891205
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The native Makefiles can now generate a compile_commands.json for
clangd.
Update and simplify instructions by removing the dependencies on bear
and the Python script that translates the paths outside the chroot.
BUG=b:236389226,b:176500425
TEST=none
BRANCH=none
Cq-Depend: chromium:3826375
Signed-off-by: Andrea Grandi <agrandi@google.com>
Change-Id: I2f2f654c175e3ad5e076c621b02a7ec28cea88f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3859872
Reviewed-by: Craig Hesling <hesling@chromium.org>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 338b2fa082a886c6134ca67586d38a83bd49fe6a.
Reason for revert: Breaks in emerge.
Original change's description:
> zmake: Use vpython3 in cmake
>
> Add cmake variable to force it to use vpython3 instead of auto-detecting
> the path to python. This is slightly fragile due to logic in
> zephyr/main/cmake/modules/python.cmake. You can pass in PYTHON_PREFER
> but it will extract the version from that binary and run
> /usr/bin/python${ver}, which is very strange. Pass Python3_EXECUTABLE
> to bypass all of that logic, but it has to be exactly the version in
> PYTHON_MINIMUM_REQUIRED or it will fail. We'll need to make sure we keep
> the vpython version matched with PYTHON_MINIMUM_REQUIRED in the future.
>
> Update the instructions to run ram_report because it works inside the
> chroot now.
>
> Added some missing packages to twister_launcher.py as well. I'm not sure
> why this change made them start to be required, but they are.
>
> BRANCH=None
> BUG=b:243936551
> TEST=zmake build -a
>
> Cq-Depend: chromium:3892212
> Signed-off-by: Jeremy Bettis <jbettis@google.com>
> Change-Id: Ied285ce0b69b33a9a3b016c4bd07cab0b6a13b89
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891670
> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
> Commit-Queue: Keith Short <keithshort@chromium.org>
> Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
> Tested-by: Jeremy Bettis <jbettis@chromium.org>
> Reviewed-by: Keith Short <keithshort@chromium.org>
Bug: b:243936551
Change-Id: I88341eb47bf15c90d4d050e11b08e74f72f52e58
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891683
Commit-Queue: Jonathon Murphy <jpmurphy@google.com>
Tested-by: Jonathon Murphy <jpmurphy@google.com>
Reviewed-by: Jonathon Murphy <jpmurphy@google.com>
Owners-Override: Jonathon Murphy <jpmurphy@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a local fix for
https://github.com/zephyrproject-rtos/zephyr/issues/50106, because my
pull request https://github.com/zephyrproject-rtos/zephyr/pull/50117 is
getting some push back.
Pass the -gdwarf-4 flag to gcc at link time.
BRANCH=None
BUG=None
TEST=zmake build herobrine
TEST=ninja -C build/zephyr/herobrine/build-ro rom_report
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I9d15346d2a5020c15b2a0ec656462caf0aa103f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891674
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for updating internal (private) branches. These are
distinguished by using the "cros-internal" branch name prefix instead of
the usual "cros" prefix. This is done by adding a "--remote_prefix"
option to override the default "cros" prefix".
In addition, since the notion of "baseboard" or "board" does not exist
in some repos, the use of these flags is no longer mandated. The
"--relevant_path_file" can still be used to augment the generated commit
message in these cases.
Plus, minor lint improvements suggested by repo upload.
BRANCH=none
BUG=b:244387210
TEST=performed update on a private branch. ran:
".../util/update_release_branch.py --remote_prefix cros-internal
<internal-branch-name>" and confirmed branch files were updated
to match ToT.
Change-Id: I97e48cfe068ba5a1b7774c256262accf75ce763a
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3885227
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally we don't do this, but enough changes have accumulated that
we're doing a tree-wide one-off update of the name & style.
BRANCH=none
BUG=chromium:1098010
TEST=`repo upload` works
Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the comments before TEST_ASSERT in
test_fp_command_read_match_secret_fail_fgr_large_than_max and
test_fp_command_read_match_secret_fail_fgr_less_than_zero test
functions. The comments are not necessary since the code is
self-documenting by itself.
BRANCH=None
BUG=b:242720387
TEST=make run-fpsensor_state
TEST=make runhosttests
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Change-Id: I0e87201f2418ea5017733db8a175bbdaa577020e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891671
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add test for fp_command_read_match_secret when the number of matched
finger is within the allowed range of [0 5[, the state deadline value is
valid, the state is readable with the correct matched finger number, and
a valid positive_match_salt is derived. The test should succeed and
return the message EC_SUCCESS. The response positive_match_secret should
also align with the expected one given a tpm_seed, positive_match_salt,
and user_id.
BRANCH=None
BUG=b:242720387
TEST=make run-fpsensor_state
TEST=make runhosttests
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Change-Id: I21f9a621d5eb6cd8a4635a83e930d74cb45f4d7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872716
Reviewed-by: Bobby Casey <bobbycasey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add cmake variable to force it to use vpython3 instead of auto-detecting
the path to python. This is slightly fragile due to logic in
zephyr/main/cmake/modules/python.cmake. You can pass in PYTHON_PREFER
but it will extract the version from that binary and run
/usr/bin/python${ver}, which is very strange. Pass Python3_EXECUTABLE
to bypass all of that logic, but it has to be exactly the version in
PYTHON_MINIMUM_REQUIRED or it will fail. We'll need to make sure we keep
the vpython version matched with PYTHON_MINIMUM_REQUIRED in the future.
Update the instructions to run ram_report because it works inside the
chroot now.
Added some missing packages to twister_launcher.py as well. I'm not sure
why this change made them start to be required, but they are.
BRANCH=None
BUG=b:243936551
TEST=zmake build -a
Cq-Depend: chromium:3892212
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Ied285ce0b69b33a9a3b016c4bd07cab0b6a13b89
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891670
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Emulate the cr50 to test all code in verify_and_jump.
Add LCOV_EXCL comments to prevent code coverage on stub functions that
are not intended to be used.
Depends on https://github.com/zephyrproject-rtos/zephyr/pull/49768
BRANCH=None
BUG=None
TEST=./twister
Cq-Depend: chromium:3886718
Change-Id: Ia52e8d96ead69843749230e76ec1a90c02a02d36
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3867801
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For HB, the i2c controller needs more delay to be ready.
CL:3873652 increases the delay after retimer reset, but the 50 msec
fixed delay causes issues with the retimer getting configured
properly.
This patch sets the delay back to 1ms, but adds
an additional read attempt to give sufficent time for the i2c
controller to respond.
BUG=none
BRANCH=none
TEST=build, and no retimer read failure.
Signed-off-by: Li Feng <li1.feng@intel.com>
Change-Id: I4f12c08ae1f16001791242972fe91704c8e8afae
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3885589
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test for fp_command_read_match_secret when the number of matched
finger is within the allowed range of [0 5[, the state deadline value is
valid, the state is readable with the correct matched finger number, and
and a trivial positive_match_salt. The test should fail with the error
message EC_RES_ERROR.
Add a trivial mock value for the positive_match_salt and a default fake
value for the positive_match_salt in the fpsensor_state_mock library.
BRANCH=None
BUG=b:242720387
TEST=make run-fpsensor_state
TEST=make runhosttests
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Change-Id: I9af4cb13a1b6f63049205cad9684050d5eb1f885
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872553
Reviewed-by: Bobby Casey <bobbycasey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The zephyr.h include was replaced with kernel.h in many locations to
quickly unblock downstreaming. However, some of these files included
both zephyr.h and kernel.h, and now have a duplicate include of
kernel.h.
Remove duplicate includes of kernel.h
BRANCH=none
BUG=none
TEST=zmake build -a
TEST=twister -T zephyr/test -b
Signed-off-by: Aaron Massey <aaronmassey@google.com>
Change-Id: I20874243f92d368d4da0fa6b84c0f76025408953
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3887958
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Craask's refresh key is on KSI3.
Define CONFIG_PLATFORM_EC_KEYBOARD_REFRESH_ROW3 and
CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI3 to fix issue for
press "esc + refresh + power button" can't enter recovery screen.
BUG=b:245550574
BRANCH=none
TEST=zmake build craask
Press "esc + refresh + power button" and the dut can show
recovery screen
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I903f3f02b135c9768431878cdbcfc7f8436254ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3890020
Reviewed-by: Andrew McRae <amcrae@google.com>
|