Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6d5ee80 authored by Abir Ghosh's avatar Abir Ghosh
Browse files

drivers: soc: qti: Add support for fingerprint driver



Port qbt_handler from msm-4.19 branch upto commit
f5526dd3667d (qbt: Make IPC irq falling edge triggered).

Change-Id: I5adb23732850e56bfce0af89b378bf0bc0e4c192
Signed-off-by: default avatarAbir Ghosh <abirg@codeaurora.org>
parent 2a1334dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
# Each configuration option enables a list of files.

obj-$(CONFIG_INPUT)		+= input-core.o
input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o event_notify.o

obj-$(CONFIG_INPUT_FF_MEMLESS)	+= ff-memless.o
obj-$(CONFIG_INPUT_POLLDEV)	+= input-polldev.o
+34 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 */

#include <linux/export.h>
#include <linux/notifier.h>
#include <linux/input/touch_event_notify.h>

static BLOCKING_NOTIFIER_HEAD(touch_notifier_list);

int touch_event_register_notifier(struct notifier_block *nb)
{
	return blocking_notifier_chain_register(&touch_notifier_list, nb);
}
EXPORT_SYMBOL(touch_event_register_notifier);

int touch_event_unregister_notifier(struct notifier_block *nb)
{
	return blocking_notifier_chain_unregister(&touch_notifier_list, nb);
}
EXPORT_SYMBOL(touch_event_unregister_notifier);

void touch_event_call_notifier(unsigned long action, void *data)
{
	blocking_notifier_call_chain(&touch_notifier_list, action, data);
}
EXPORT_SYMBOL(touch_event_call_notifier);
+9 −0
Original line number Diff line number Diff line
@@ -106,6 +106,15 @@ config MSM_SPSS_UTILS
	  because the SPSS firmware size is too small to support multiple
	  HW versions.

config MSM_QBT_HANDLER
	tristate "Event Handler for QTI Ultrasonic Fingerprint Sensor"
	help
	  This driver acts as a interrupt handler, where the interrupt is generated
	  by the QTI Ultrasonic Fingerprint Sensor. It queues the events for each
	  interrupt in an event queue and notifies the userspace to read the events
	  from the queue. It also creates an input device to send key events such as
	  KEY_POWER, KEY_HOME.

config QCOM_GSBI
        tristate "QCOM General Serial Bus Interface"
        depends on ARCH_QCOM || COMPILE_TEST
+1 −0
Original line number Diff line number Diff line
@@ -72,3 +72,4 @@ obj-$(CONFIG_MSM_SPCOM) += spcom.o
obj-$(CONFIG_QCOM_FSA4480_I2C) += fsa4480-i2c.o
obj-$(CONFIG_QCOM_EUD) += eud.o
obj-$(CONFIG_QCOM_GUESTVM) += guestvm_loader.o
obj-$(CONFIG_MSM_QBT_HANDLER) += qbt_handler.o
+1177 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading