mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
arm/dts:add fps dts for corfup
first supply:fpc1520 second supply:gf3988 fps dts for corfup Change-Id: Ieebbb99ae72f3f5a44b62c944139a7f1550fd10b Signed-off-by: chenlj2 <chenlj2@motorola.com> Reviewed-on: https://gerrit.mot.com/1922069 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hongshu Lou <louhs1@motorola.com> Reviewed-by: Weilong Wu <wuwl10@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
1d88d5e119
commit
76602b5588
2 changed files with 93 additions and 1 deletions
92
qcom/corfup-fps-overlay.dtsi
Normal file
92
qcom/corfup-fps-overlay.dtsi
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
&tlmm {
|
||||
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 = "gpio17";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio17";
|
||||
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 {
|
||||
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>;
|
||||
};
|
||||
goodix_fingerprint{
|
||||
//status = "/chosen", "mmi,fps", "true"
|
||||
status = "ok"
|
||||
compatible = "goodix,fingerprint";
|
||||
fp-gpio-reset = <&tlmm 18 0x00>;
|
||||
fp-gpio-irq = <&tlmm 17 0x00>;
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
#include "holi-moto-common-overlay.dtsi"
|
||||
#include "ibiza-display.dtsi"
|
||||
#include "ibiza-touchscreen.dtsi"
|
||||
#include "ibiza-fps-overlay.dtsi"
|
||||
#include "corfup-fps-overlay.dtsi"
|
||||
#include "camera/holi-camera-sensor-mot-corfup-overlay.dtsi"
|
||||
#include "holi-audio-wcd9370-aw882xx-overlay.dtsi"
|
||||
#include "moto_therm_sys_temp.dtsi"
|
||||
|
|
|
|||
Loading…
Reference in a new issue