arm64/dt: ibiza: add fpc fingerprint device node

Ibiza will use fpc1520 to replace the goodix sensor as
second fps. Add new device node for it.

Change-Id: Ic4fd8a8ba943268b965c39f8a850669c543b059d
Signed-off-by: wuwl10 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1806081
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Zhong <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
This commit is contained in:
wuwl10 2020-11-18 14:31:31 +08:00 • committed by panyq6
commit 18e19dfb1e
2 changed files with 124 additions and 1 deletions

View file

@ -13,7 +13,7 @@
#include "holi-moto-common-overlay.dtsi"
#include "ibiza-display.dtsi"
#include "ibiza-touchscreen.dtsi"
#include "denver-fps-overlay.dtsi"
#include "ibiza-fps-overlay.dtsi"
#include "camera/holi-camera-sensor-mot-ibiza-overlay.dtsi"
#include "holi-audio-wcd9370-aw882xx-overlay.dtsi"
#include "holi-ibiza-fmr-overlay.dtsi"

123
qcom/ibiza-fps-overlay.dtsi Normal file
View file

@ -0,0 +1,123 @@
&tlmm {
chipone {
chipone_int_active: chipone_int_active {
/* INTERRUPT */
mux {
pins = "gpio17";
function = "gpio";
};
config {
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
input-enable;
bias-pull-up;
};
};
chipone_int_suspend: chipone_int_suspend {
/* INTERRUPT */
mux {
pins = "gpio17";
function = "gpio";
};
config {
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
input-enable;
bias-pull-up;
};
};
};
fps_rst_active: fps_rst_active {
/* active state */
mux {
pins = "gpio18";
function = "gpio";
};
config {
pins = "gpio18";
drive-strength = <2>; /* 2 MA */
output-low;
};
};
fps_rst_suspend: fps_rst_suspend {
/* sleep state */
mux {
pins = "gpio18";
function = "gpio";
};
config {
pins = "gpio18";
drive-strength = <2>; /* 2 MA */
};
};
fps_int_active: fps_int_active {
/* active state */
mux {
pins = "gpio18";
function = "gpio";
};
config {
pins = "gpio18";
drive-strength = <2>; /* 2 MA */
bias-pull-down;
input-enable;
};
};
fps_int_suspend: fps_int_suspend {
/* sleep state */
mux {
pins = "gpio17";
function = "gpio";
};
config {
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
bias-pull-down;
input-enable;
};
};
};
&pm6350_l8 {
qcom,init-voltage = <3304000>;
regulator-min-microvolt = <3304000>;
regulator-max-microvolt = <3304000>;
regulator-always-on;
};
&soc {
fingerprint {
compatible = "qcom,fingerprint-gpio";
status = "ok"
reg = <0>;
interrupt-parent = <&tlmm>;
interrupts = <17 0x0>;
fp-gpio-int = <&tlmm 17 0x2>;
fp-gpio-reset = <&tlmm 18 0x2>;
pinctrl-names = "default", "suspend";
pinctrl-0 = <&chipone_int_active>;
pinctrl-1 = <&chipone_int_suspend>;
};
fpc: fpc_fpc1020 {
compatible = "fpc,fpc1020";
status = "ok"
irq = <&tlmm 17 0>;
rst = <&tlmm 18 0>;
interrupt-parent = <&tlmm>;
interrupts = <17 0>;
pinctrl-names = "default", "suspend";
pinctrl-0 = <&fps_rst_active &fps_int_active>;
pinctrl-1 = <&fps_rst_suspend &fps_int_suspend>;
};
};