Skip to content

Commit

Permalink
ARM64: dts: Update fts config
Browse files Browse the repository at this point in the history
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
  • Loading branch information
Khusika Dhamar Gusti committed May 27, 2021
1 parent 79adc75 commit e2eeea2
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm64/boot/dts/qcom/beryllium-p0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
/*novatek,mp-support-dt;*/
};
focaltech@38 {
compatible = "focaltech,fts";
compatible = "focaltech,focal";
reg = <0x38>;
interrupt-parent = <&tlmm>;
interrupts = <31 0>;
Expand All @@ -524,6 +524,10 @@
focaltech,irq-gpio = <&tlmm 31 0x02>;
focaltech,max-touch-number = <10>;
focaltech,display-coords = <0 0 1080 2246>;
focaltech,project-name = "e10";
focaltech,lockdown-info-addr = <0x1FA0>;
focaltech,timeout-read-reg = <1000>;
focaltech,cutoff-power;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
Expand Down
12 changes: 12 additions & 0 deletions arch/arm64/boot/dts/qcom/dipper-p0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,18 @@
// fts,y-offset = <300>;
// fts,y-skip = <240>;
fts,config-array-size = <1>;
fts,default-fw-name = "st_fts_e1.ftb";
fts,touch-up-threshold-min = <20>;
fts,touch-up-threshold-max = <50>;
fts,touch-up-threshold-def = <20>;
fts,touch-tolerance-min = <5>;
fts,touch-tolerance-max = <15>;
fts,touch-tolerance-def = <5>;
fts,edgefilter-leftrigt-def = <30>;
fts,edgefilter-topbottom-def = <30>;
fts,edgefilter-area-step1 = <100>;
fts,edgefilter-area-step2 = <150>;
fts,edgefilter-area-step3 = <250>;
fts,cfg_0 {
fts,tp-vendor = <0x48>;
fts,fw-name = "st_fts_e1.ftb";
Expand Down
35 changes: 35 additions & 0 deletions arch/arm64/boot/dts/qcom/perseus-p0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -465,13 +465,48 @@
fts,key-num = <2>;
fts,key-codes = <158 139>;
fts,config-array-size = <1>;
fts,check-display-name;
fts,default-fw-name = "st_fts_e5.ftb";
fts,touch-up-threshold-min = <20>;
fts,touch-up-threshold-max = <170>;
fts,touch-up-threshold-def = <20>;
fts,touch-tolerance-min = <5>;
fts,touch-tolerance-max = <35>;
fts,touch-tolerance-def = <5>;
fts,edgefilter-leftrigt-def = <40>;
fts,edgefilter-topbottom-def = <40>;
fts,edgefilter-area-step1 = <100>;
fts,edgefilter-area-step2 = <150>;
fts,edgefilter-area-step3 = <250>;
fts,cfg_0 {
fts,tp-vendor = <0x52>;
fts,fw-name = "st_fts_e5.ftb";
fts,limit-name = "stm_fts_production_limits.csv";
};
};
focaltech@38 {
compatible = "focaltech,focal";
reg = <0x38>;
interrupt-parent = <&tlmm>;
interrupts = <31 0>;
vddio-supply = <&disp_vddio_vreg>;
avdd-supply = <&pm8998_l28>;

focaltech,reset-gpio = <&tlmm 32 0x01>;
focaltech,irq-gpio = <&tlmm 31 0x02>;
focaltech,max-touch-number = <10>;
focaltech,display-coords = <0 0 1080 2340>;
focaltech,project-name = "e5";
focaltech,lockdown-info-addr = <0x1FFD0>;
focaltech,reset-when-resume;
focaltech,open-min = <3000>;
focaltech,timeout-read-reg = <2000>;
focaltech,check-display-name;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
/* focaltech,have-key; */
};
atmel_mxt_ts_640u@4a {
compatible = "atmel,mxt-ts";
reg = <0x4a>;
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/qcom/polaris-p0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
/*synaptics,palm-rx-channel = <10>;*/
/*synaptics,palm-rx-area = <400>;*/
/*synaptics,palm-tx-disable = <4>;*/
synaptics,drm-dsi-reset = <&tlmm 6 0>;
synaptics,reset-gpio = <&tlmm 99 0x00>;
synaptics,irq-gpio = <&tlmm 125 0x2008>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/ursa-p0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
// fts,y-offset = <300>;
// fts,y-skip = <240>;
fts,config-array-size = <1>;
fts,default-fw-name = "st_fts_e8.ftb";
fts,cfg_0 {
fts,tp-vendor = <0x48>;
fts,fw-name = "st_fts_e8.ftb";
Expand Down

0 comments on commit e2eeea2

Please sign in to comment.