arm/dts: input touch add focal ic
input touch add focal ic Original gerrit: https://gerrit.mot.com/#/c/1970011/ Change-Id: I1ac8d3db57ded0a96f134c3560ebcce69dced449 Reviewed-on: https://gerrit.mot.com/1999724 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
46b7777103
commit
0ec18606f0
2 files changed
+211
-1
No files matched your search
@@ -15,7 +15,7 @@
|
||||
#include "bengal-guamna-pinctrl-overlay.dtsi"
|
||||
#include "bengal-guamna-display.dtsi"
|
||||
#include "bengal-audio-overlay.dtsi"
|
||||
#include "bengal-guam-touchscreen-overlay.dtsi"
|
||||
#include "bengal-guamna-touchscreen-overlay.dtsi"
|
||||
#include "camera/bengal-camera-sensor-mot-guamna-overlay.dtsi"
|
||||
#include "bengal-guam-fps.dtsi"
|
||||
#include "bengal-guamna-moto-thermal.dtsi"
|
||||
|
||||
@@ -0,0 +1,210 @@
|
||||
&tlmm{
|
||||
pmx_ts_int_active {
|
||||
ts_int_active: ts_int_active {
|
||||
mux {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio67";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_int_suspend {
|
||||
ts_int_suspend: ts_int_suspend {
|
||||
mux {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio67";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_int_suspend_high {
|
||||
ts_int_suspend_high: ts_int_suspend_high {
|
||||
mux {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio67";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_reset_active {
|
||||
ts_reset_active: ts_reset_active {
|
||||
mux {
|
||||
pins = "gpio66";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio66";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_reset_suspend {
|
||||
ts_reset_suspend: ts_reset_suspend {
|
||||
mux {
|
||||
pins = "gpio66";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio66";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
pmx_ts_release {
|
||||
ts_release: ts_release {
|
||||
mux {
|
||||
pins = "gpio67", "gpio66";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio67", "gpio66";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
ts_int_pull_up: ts_int_pull_up {
|
||||
mux {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio67";
|
||||
drive-strength = <6>;
|
||||
input-enable;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se2_spi_pins {
|
||||
qupv3_se2_spi_sleep: qupv3_se2_spi_sleep {
|
||||
mux {
|
||||
pins = "gpio6", "gpio7","gpio71";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6", "gpio7","gpio71";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
qupv3_se2_cs_sleep: qupv3_se2_cs_sleep {
|
||||
mux {
|
||||
pins = "gpio80";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio80";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se2_spi {
|
||||
status = "ok"
|
||||
qcom,spi-touch-active="himax,hxcommon";
|
||||
pinctrl-1 = <&qupv3_se2_spi_sleep &qupv3_se2_cs_sleep>;
|
||||
himax_0flash_ts@3 {
|
||||
compatible = "himax,hxcommon";
|
||||
reg = <3>;
|
||||
spi-max-frequency = <10000000>;
|
||||
spi-cpha;
|
||||
himax,panel-coords = <0 720 0 1600>;
|
||||
himax,display-coords = <0 720 0 1600>;
|
||||
/* himax,touch_info = <32 18 0 720 1600 10 0 1>;*/
|
||||
himax,irq-gpio = <&tlmm 67 0x2008>;
|
||||
himax,rst-gpio = <&tlmm 66 0x00>;
|
||||
himax,def-build-id = <0x1203>;
|
||||
himax,def-config-id = <0x0002>;
|
||||
report_type = <1>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <67 0x02>;
|
||||
/* lab-supply = <&lcdb_ldo_vreg>;
|
||||
ibb-supply = <&lcdb_ncp_vreg>;*/
|
||||
pinctrl-names = "pmx_ts_active","pmx_ts_suspend";
|
||||
pinctrl-0 = <&ts_int_active &ts_reset_active>;
|
||||
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
|
||||
panel = <&dsi_hlt_hx83102d_video>;
|
||||
};
|
||||
ilitek@1{
|
||||
compatible = "tchip,ilitek";
|
||||
reg = <0x1>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <67 0x2008>;
|
||||
spi-max-frequency = <10000000>;
|
||||
spi-cpha;
|
||||
spi-cpol;
|
||||
touch,reset-gpio = <&tlmm 66 0x00>;
|
||||
touch,irq-gpio = <&tlmm 67 0x2008>;
|
||||
pinctrl-names = "pmx_ts_int_active","pmx_ts_int_suspend_high";
|
||||
pinctrl-0 = <&ts_int_active>;
|
||||
pinctrl-1 = <&ts_int_suspend_high>;
|
||||
panel = <&dsi_hlt_ili9882h_video>;
|
||||
panel2 = <&dsi_tm_ili9882n_video>;
|
||||
};
|
||||
chipone_tddi@2 {
|
||||
compatible = "chipone-tddi";
|
||||
reg = <2>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
spi-max-frequency = <4000000>;
|
||||
spi-cpha;
|
||||
spi-cpol;
|
||||
interrupts = <67 0x02>;
|
||||
chipone,rst-gpio = <&tlmm 66 0x00>;
|
||||
chipone,irq-gpio = <&tlmm 67 0x2008>;
|
||||
chipone,x-res = <720>;
|
||||
chipone,y-res = <1600>;
|
||||
chipone,def-build-id = <0x010a>;
|
||||
chipone,def-config-id = <0x0001>;
|
||||
panel = <&dsi_tm_icnl9911s_video>;
|
||||
};
|
||||
focaltech@0 {
|
||||
compatible = "focaltech,fts";
|
||||
reg = <0>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <67 0x02>;
|
||||
spi-max-frequency=<6000000>;
|
||||
focaltech,always_on_vio;
|
||||
focaltech,share_reset_gpio;
|
||||
focaltech,reset-gpio = <&tlmm 66 0x01>;
|
||||
focaltech,irq-gpio = <&tlmm 67 0x02>;
|
||||
focaltech,max-touch-number = <10>;
|
||||
focaltech,display-coords = <0 0 720 1600>;
|
||||
pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
|
||||
pinctrl-0 = <&ts_int_active &ts_reset_active>;
|
||||
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
|
||||
pinctrl-2 = <&ts_release>;
|
||||
focaltech,name = "ft8006ss_aa";
|
||||
focaltech,panel-supplier = "djn";
|
||||
focaltech,dlfw_in_resume;
|
||||
panel = <&dsi_djn_ft8006s_video>;
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user