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

Commit ca1ef064 authored by louisliu's avatar louisliu Committed by Luca Weiss
Browse files

Add Fingerprint drivers for FP3

Enable the fingerprint config and add all necessary
driver components for fingerprint sensor.

Issue: FP3-A11#202
Change-Id: Id231c4ee49de5cd25fbdc452bfc4e806f4429597
(cherry picked from commit a7d618ac)
parent 3c531c19
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
@@ -399,6 +399,60 @@

		};

		fps {
			fps_int_active: fps_int_active {
				mux {
					pins = "gpio48";
					function = "gpio";
				};

				config {
					pins = "gpio48";
					drive-strength = <8>;
					bias-pull-up;
				};
			};

			fps_int_suspend: fps_int_suspend {
				mux {
					pins = "gpio48";
					function = "gpio";
				};

				config {
					pins = "gpio48";
					drive-strength = <2>;
					bias-pull-down;
				};
			};

			fps_reset_active: fps_reset_active {
				mux {
					pins = "gpio140";
					function = "gpio";
				};

				config {
					pins = "gpio140";
					drive-strength = <8>;
					bias-pull-up;
				};
			};

			fps_reset_suspend1: fps_reset_suspend1 {
				mux {
					pins = "gpio140";
					function = "gpio";
				};

				config {
					pins = "gpio140";
					drive-strength = <2>;
					bias-pull-down;
				};
			};
		};

		pmx_mdss: pmx_mdss {

			mdss_dsi_active: mdss_dsi_active {
+11 −0
Original line number Diff line number Diff line
@@ -2319,3 +2319,14 @@
&gdsc_usb30 {
	status = "okay";
};

&soc {
	elan {
		compatible = "elan,elan_fp";
		interrupt-parent = <&tlmm>;
		interrupts = <48 0>;
		elan,irq-gpio = <&tlmm 48 0>;
		elan,rst-gpio = <&tlmm 140 0>;
		elan,vdd-gpio = <&tlmm 90 0>;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -684,3 +684,4 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
CONFIG_ELAN_FINGERPRINT=y
+1 −0
Original line number Diff line number Diff line
@@ -748,3 +748,4 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
CONFIG_ELAN_FINGERPRINT=y
+9 −0
Original line number Diff line number Diff line
@@ -200,6 +200,15 @@ config INPUT_KEYCOMBO
	---help---
	  Say Y here if you want to take action when some keys are pressed;

config ELAN_FINGERPRINT
	tristate "ELAN Fingerprint"
	default n
	---help---
	  Fingerprint qualcomm driver enable/disable in the kernel.
	  Say Y here if you want to use qualcomm fingerprint driver,
	  fingerprint driver will support fingerprint function in TEE,
	  it supports ELNA's all fingerprint device.

comment "Input Device Drivers"

source "drivers/input/keyboard/Kconfig"
Loading