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

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

Fingerprint. Driver porting.

Root cause:
N/A

How to fix:
N/A

RiskArea: Fingerprint

Change-Id: Id231c4ee49de5cd25fbdc452bfc4e806f4429597
parent 1d8583b8
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
@@ -399,6 +399,62 @@

		};

//<2020/04/23-louisliu, Fingerprint. Driver porting.
		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;
				};
			};
		};
//>2020/04/23-louisliu

		pmx_mdss: pmx_mdss {

			/*[Arima_8901][Jialong] lcm driver porting begin*/
+13 −0
Original line number Diff line number Diff line
@@ -2319,3 +2319,16 @@
&gdsc_usb30 {
	status = "okay";
};

// //<2020/04/23-louisliu, Fingerprint. Driver porting.
&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>;
	};
};
// //>2020/04/23-louisliu
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -684,3 +684,6 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
# //<2020/04/23-louisliu, Fingerprint. Driver porting.
CONFIG_ELAN_FINGERPRINT=y
# //>2020/04/23-louisliu
+3 −0
Original line number Diff line number Diff line
@@ -748,3 +748,6 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
# //<2020/04/23-louisliu, Fingerprint. Driver porting.
CONFIG_ELAN_FINGERPRINT=y
# //>2020/04/23-louisliu
+11 −0
Original line number Diff line number Diff line
@@ -200,6 +200,17 @@ config INPUT_KEYCOMBO
	---help---
	  Say Y here if you want to take action when some keys are pressed;

# //<2020/04/23-louisliu, Fingerprint. Driver porting.
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.
# //>2020/04/23-louisliu

comment "Input Device Drivers"

source "drivers/input/keyboard/Kconfig"
Loading