summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/src/variant_db_detection.c
Commit message (Collapse)AuthorAgeFilesLines
* corsola: Migrate GPIO access to Zephyr APIAndrew McRae2022-02-021-8/+20
| | | | | | | | | | | | | | | Migrate the GPIO access to use the Zephyr API. Also consolidate the GPIO naming so that remapping of GPIO names is done through DTS. BUG=b:216466985 TEST=zmake configure -b {krabby,kingler} BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I914a1659fb4cc25e513e0aff1c3460855cd9f76d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3427097 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
* zephyr: corsola: refactor daughterboard detectionEric Yilun Lin2021-12-011-0/+65
move the daughterboard detection out of the usbc_config.c BUG=b:207802869 TEST=zmake test all BRANCH=none Change-Id: Ie23915d116cfbfd161f640eeea342e18d2647216 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3303262 Auto-Submit: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org>