summaryrefslogtreecommitdiff
path: root/baseboard/volteer/usbc_config.c
Commit message (Collapse)AuthorAgeFilesLines
* volteer: Create a header file for baseboard usbc configSimon Glass2021-01-121-0/+1
| | | | | | | | | | | | | | | | | There are a few function prototypes defined in baseboard.h that really should be available to zephyr. Move them into a separate file to permit that. BUG=b:175434113 BRANCH=none TEST=make BOARD=volteer -j30 With a zephyr-chrome CL, build volteer on zephyr Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Idf72aeb993c74fec3419627e77c68ada0f33902f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617366 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* volteer: Separate out some baseboard USB-C config codeSimon Glass2021-01-091-0/+76
These three functions are needed by the charger task and are currently not compiled on Zephyr. Move them out into their own file so that they can be. Update the isl9241 interface slightly to add a needed define. BUG=b:175434113 BRANCH=none TEST=make BOARD=volteer -j30 build volteer on zephyr Change-Id: Ia28c406c865003d8aec1c31add590bfdef57601d Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2617038 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>