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

Commit b0fd6687 authored by Abir Ghosh's avatar Abir Ghosh Committed by Gerrit - the friendly Code Review server
Browse files

Add documentation for fingerprint sensor driver



Add DT binding docs for fingerprint driver which
acts as an event handler for Fingerprint ASIC.

Change-Id: I42a45dc4b6131b4bdf1e4b4c3225d3a2ff86dff1
Signed-off-by: default avatarAbir Ghosh <abirg@codeaurora.org>
parent c2f9f776
Loading
Loading
Loading
Loading
+35 −0
Original line number Original line Diff line number Diff line
Qualcomm Technologies, Inc. QBT_HANDLER Specific Bindings

QBT is a fingerprint sensor ASIC capable of performing fingerprint image scans
and detecting finger presence on the sensor using programmable firmware.

=======================
Required Node Structure
=======================

- compatible
  Usage:      required
  Value type: <string>
  Definition: "qcom,qbt_handler".

- qcom,ipc-gpio
  Usage:      required
  Value type: <phandle>
  Definition: phandle for GPIO to be used for IPC.

- qcom,finger-detect-gpio
  Usage:      required
  Value type: <phandle>
  Definition: phandle for GPIO to be used for finger detect.

=======
Example
=======

qcom,qbt_handler {
                compatible = "qcom,qbt_handler";
                qcom,ipc-gpio = <&tlmm 23 0>;
                pinctrl-names = "default";
                pinctrl-0 = <&key_home_default>;
                qcom,finger-detect-gpio = <&pm8150_gpios 1 0>;
};