summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorPatryk Duda <pdk@semihalf.com>2021-07-09 13:37:37 +0200
committerCommit Bot <commit-bot@chromium.org>2021-07-16 09:28:51 +0000
commit53d4e09122e556dd641733189d362ef163cd7610 (patch)
tree0fa40ffff3376247d57d3ee65546dd9b54153727 /driver
parent7b139d1d2f8d78fdfe05a108b97b13ef8b73852c (diff)
downloadchrome-ec-53d4e09122e556dd641733189d362ef163cd7610.tar.gz
nocturne_fp/board_rw: Explicitly reset FP_RST_ODL to default on RW init
FP_RST_ODL pin is only defined in gpio_rw.inc, so this pin won't be initialized to 1 by RO. Also, RW won't set this pin because sysjump to RW is a warm reset actually and we are not setting GPIO pins to their defaults after the warm reset to avoid undesired effects (see gpio_pre_init() in chip/stm32/gpio.c). As a result fpsensor_hw hardware unit test was not working, because FPMCU was keeping sensor in reset. Build with FP private driver is working because the driver performs sensor reset during initialization. BUG=b:170432597 BRANCH=none TEST=`make BOARD=dartmonkey` Signed-off-by: Patryk Duda <pdk@semihalf.com> Change-Id: Ia62340585da915e7d9f368107d57d3fb74cb831e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017988 Reviewed-by: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions