Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common/usb_pd_flags.c: Format with clang-format | Jack Rosenthal | 2022-07-01 | 1 | -1/+1 |
| | | | | | | | | | | | BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iff042c5de96e9294331fc9e5d6f2fe8a55af534c Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729773 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> | ||||
* | pd: Fix wrong PD accessors handling in default case | Łukasz Hajec | 2022-01-24 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL fixes implementation added in commit 06d89b033065. Default return value from get_usb_pd_vbus_detect is USB_PD_VBUS_DETECT_NONE, which leads to executing parts of code, that earlier (before mentioned commit) were executed only when CONFIG_USB_PD_VBUS_DETECT_NONE was directly defined. Add additional enum value and return it for a default case when none of configs "CONFIG_USB_PD_VBUS_DETECT_*" is defined. BRANCH=None BUG=b:212683593 TEST=make BOARD=servo_v4p1 flash servo with new firmware plug servo into DUT (without charger) do not observe any problems, e.g hard reset loop Signed-off-by: Łukasz Hajec <lha@semihalf.com> Change-Id: Icf7028b8ba8a3e039a0c1e89de14ee0a4708df74 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3378345 Reviewed-by: Parth Malkan <parthmalkan@google.com> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Łukasz Hajec <hajec@google.com> Commit-Queue: Łukasz Hajec <hajec@google.com> | ||||
* | SSFC: Framework to support two charger sources | Parth Malkan | 2021-09-24 | 1 | -0/+65 |
Many platforms have requirements to support more than one charge source (eg. pirika). It can't be supported by just enabling two different CONFIGS as that can lead to conflicts. Eg.USD_PD_VBUS_DETECT_TCPC vs USB_PD_VBUS_DETECT_DISCHARGE. This change provides a framework that supports two different charger sources in the same build. Please see the CL for relevant logs. BRANCH=None BUG=b:194375840 TEST=make -j buildall Signed-off-by: Parth Malkan <parthmalkan@google.com> Change-Id: I309cc5930233983e615d90a4290fc749abf7aa2d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088232 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> |