mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
Goodix fps will be the second fps. Add device tree node for it. Change-Id: I2545981c88856ba4fc53730551bd7dad62b7a21a Signed-off-by: wuwl10 <[email protected]> Reviewed-on: https://gerrit.mot.com/1795574 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ling Zhong <[email protected]> Reviewed-by: Huosheng Liao <[email protected]> Submit-Approved: Jira Key
123 lines
2.1 KiB
Devicetree
123 lines
2.1 KiB
Devicetree
&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-disable;
|
|
input-enable;
|
|
};
|
|
};
|
|
|
|
fps_int_suspend: fps_int_suspend {
|
|
/* sleep state */
|
|
mux {
|
|
pins = "gpio17";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio17";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable;
|
|
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>;
|
|
};
|
|
|
|
goodix_fingerprint{
|
|
compatible = "goodix,fingerprint";
|
|
fp-gpio-reset = <&tlmm 18 0x2>;
|
|
fp-gpio-irq = <&tlmm 17 0x2>;
|
|
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>;
|
|
};
|
|
};
|