arm64/dts: denver: add fpc1020 device node

1. Change INT pin as pull disable to match HW.
2. Replace goodix with fpc sensor

Change-Id: Ic29a88f85519b1e156b8a9223678001afc7efbd7
Signed-off-by: wuwl10 <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/1829812
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wuwl10 2020-12-17 16:02:26 +08:00 • committed by panyq6
commit 623bbfd200

View file

@ -11,7 +11,7 @@
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
input-enable;
bias-pull-up;
bias-disable;
};
};
chipone_int_suspend: chipone_int_suspend {
@ -25,7 +25,7 @@
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
input-enable;
bias-pull-up;
bias-disable;
};
};
};
@ -60,12 +60,12 @@
fps_int_active: fps_int_active {
/* active state */
mux {
pins = "gpio18";
pins = "gpio17";
function = "gpio";
};
config {
pins = "gpio18";
pins = "gpio17";
drive-strength = <2>; /* 2 MA */
bias-disable;
input-enable;
@ -102,20 +102,20 @@
reg = <0>;
interrupt-parent = <&tlmm>;
interrupts = <17 0x0>;
fp-gpio-int = <&tlmm 17 0x2>;
fp-gpio-reset = <&tlmm 18 0x2>;
fp-gpio-int = <&tlmm 17 0x0>;
fp-gpio-reset = <&tlmm 18 0x0>;
pinctrl-names = "default", "suspend";
pinctrl-0 = <&chipone_int_active>;
pinctrl-1 = <&chipone_int_suspend>;
};
goodix_fingerprint{
compatible = "goodix,fingerprint";
fp-gpio-reset = <&tlmm 18 0x2>;
fp-gpio-irq = <&tlmm 17 0x2>;
fpc: fpc_fpc1020 {
compatible = "fpc,fpc1020";
status = "ok"
irq = <&tlmm 17 0>;
rst = <&tlmm 18 0>;
interrupt-parent = <&tlmm>;
interrupts = <17 0>;
interrupt-controller;
pinctrl-names = "default", "suspend";
pinctrl-0 = <&fps_rst_active &fps_int_active>;
pinctrl-1 = <&fps_rst_suspend &fps_int_suspend>;