summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rauru/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rauru/mainboard.c')
-rw-r--r--src/mainboard/google/rauru/mainboard.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c
index 195ce67e5a..f15dd312f0 100644
--- a/src/mainboard/google/rauru/mainboard.c
+++ b/src/mainboard/google/rauru/mainboard.c
@@ -1,11 +1,22 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
+#include <gpio.h>
#include <soc/usb.h>
+#include "gpio.h"
+
+static void power_on_fpmcu(void)
+{
+ /* Power on the fingerprint MCU */
+ gpio_output(GPIO_EN_PWR_FP, 1);
+ gpio_output(GPIO_FP_RST_1V8_S3_L, 1);
+}
+
static void mainboard_init(struct device *dev)
{
setup_usb_host();
+ power_on_fpmcu();
}
static void mainboard_enable(struct device *dev)