summaryrefslogtreecommitdiff
path: root/zephyr/projects/skyrim/src/usbc_config.c
Commit message (Collapse)AuthorAgeFilesLines
* zephyr: skyrim: usb_mux: Split struct usb_mux in skyrim boardTomasz Michalec2022-09-131-40/+59
| | | | | | | | | | | | | | | | | | | Update skyrim board to use new struct usb_mux_chain. LOW_COVERAGE_REASON=no test for skyrim yet and missing required usb mux emulators (PS8818, ANX7483) BUG=b:236274003 TEST=zmake build -a TEST=./twister -T zephyr/test BRANCH=None Cq-Depend: chromium:3779618 Signed-off-by: Tomasz Michalec <tm@semihalf.com> Change-Id: Ia572fa040a220b5f7129026c210be986edccb061 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3780419 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Tomasz Michalec <tmichalec@google.com> Tested-by: Tomasz Michalec <tmichalec@google.com>
* Update license boilerplate text in source code filesMike Frysinger2022-09-121-1/+1
| | | | | | | | | | | | | | | 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>
* Skyrim: Move PPCs to devicetreeDiana Z2022-09-121-15/+0
| | | | | | | | | | | | | | | | Move the PPC configuration structure into the devicetree for all skyrim variants. BRANCH=None BUG=b:244457125 TEST=on skyrim, ensure both C0 and C1 still work for sourcing and sinking Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id02c5201c229b62737fcaa427c0dcae7ab1da4cd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3880671 Reviewed-by: Keith Short <keithshort@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
* Zephyr: Add AOZ1380 to PPC devicetreeDiana Z2022-09-081-1/+1
| | | | | | | | | | | | | | | | Add the AOZ1380 as an option into the zephyr shim for boards to set up in their devicetree. BRANCH=None BUG=b:244457125 TEST=zmake build skyrim; make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I1876cdca462fe9d7db0dcc0f4d2043cb43639c6d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3880670 Reviewed-by: Keith Short <keithshort@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Keith Short <keithshort@chromium.org>
* Skyrim: Move all source files to srcDiana Z2022-09-061-0/+631
Move C files from the base project directory into "src", just as herobrine does. BRANCH=None BUG=b:244457125 TEST=skyrim, winterhold, and morthal build Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: If1242c1065527f2bf69edd321c7422b342684e75 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3872560 Reviewed-by: Robert Zieba <robertzieba@google.com> Commit-Queue: Robert Zieba <robertzieba@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>