summaryrefslogtreecommitdiff
path: root/driver/fingerprint/fpc/bep/fpc_private.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/fingerprint/fpc/bep/fpc_private.c')
-rw-r--r--driver/fingerprint/fpc/bep/fpc_private.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/driver/fingerprint/fpc/bep/fpc_private.c b/driver/fingerprint/fpc/bep/fpc_private.c
index 9bcd4f65ff..61bad9f101 100644
--- a/driver/fingerprint/fpc/bep/fpc_private.c
+++ b/driver/fingerprint/fpc/bep/fpc_private.c
@@ -8,6 +8,7 @@
#include "fpc_bio_algorithm.h"
#include "fpsensor.h"
+#include "gpio.h"
#include "spi.h"
#include "system.h"
#include "util.h"
@@ -142,6 +143,12 @@ int fp_sensor_init(void)
{
int rc;
+ /* The dragonclaw development board needs this enabled to enable the
+ * AND gate (U10) to CS. Production boards could disable this to save
+ * power since it's only needed for initial detection on those boards.
+ */
+ gpio_set_level(GPIO_DIVIDER_HIGHSIDE, 1);
+
/* Print the binary libfpbep.a library version */
CPRINTS("FPC libfpbep.a %s", fp_sensor_get_version());