diff options
author | Alex Sarraf <asarraf@codeaurora.org> | 2016-09-16 10:26:47 -0700 |
---|---|---|
committer | Alex Sarraf <asarraf@codeaurora.org> | 2016-10-25 10:00:15 -0700 |
commit | c38f93d1100c099fcf968c21d291829c8d8db455 (patch) | |
tree | 263df37ca70fec8fe59431b3352f922a6a69741f /Documentation | |
parent | c6b7d9674c413431a6622844bdcbfc8a7f2942df (diff) |
input: misc: hbtp_input: Add support for multiple AFE
Add support for both HI04 and JDI/Rohm with DDIC
synchronization.
Change-Id: Ib6bddd5f43b41660304d240db39f4e273ede3af0
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/hbtp-input.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/hbtp-input.txt b/Documentation/devicetree/bindings/input/hbtp-input.txt index f422d75e037e..ad28952c5e7e 100644 --- a/Documentation/devicetree/bindings/input/hbtp-input.txt +++ b/Documentation/devicetree/bindings/input/hbtp-input.txt @@ -20,6 +20,19 @@ Optional properties: - qcom,dig-vtg-max : Digital supply maximum voltage in uV - qcom,display-resolution : Display resolution - maxX, maxY - qcom,use-scale : boolean, enables the scaling for touch coordinates + - pinctrl-names : defines pinctrl names + "pmx_ts_active" : Required pinctrl name. + This should specify active config of TS RST gpio + "pmx_ts_suspend" : Required pinctrl name + This should specify suspend config of TS RST gpio + "ddic_rst_active" : Required pinctrl name + This should specify active config of DDIC RST gpio + "ddic_rst_suspend" : Required pinctrl name + This should specify suspend config of DDIC RST gpio + - pinctrl-0 : pin control to be used for TS active config + - pinctrl-1 : pin control to be used for TS suspend config + - pinctrl-2 : pin control to be used for DDIC active config + - pinctrl-3 : pin control to be used for DDIC suspend config Optional properties if qcom,use-scale DT property is defined: - qcom,def-maxx : default X-resolution of the touch panel. @@ -29,6 +42,20 @@ Optional properties if qcom,use-scale DT property is defined: - qcom,des-maxy : desired Y-resolution of the touch panel. (Above two properties should be defined in pairs only) +Optional Properties if pinctrl names are defined: + - qcom,pmx-ts-on-seq-delay-us : unsigned integer type for + delay after active TS RST gpio is changed + - qcom,fb-resume-delay-us : unsigned integer type for + delay in early resume framebuffer callback + - qcom,ddic-rst-on-seq-delay-us : array of unsigned integer type for + delay of each step in series of DDIC RST gpio control + +Optional Properties if qcom,afe-vtg and qcom,dig-vtg are defined + - qcom,afe-power-on-delay-us : unsigned integer type for + delay between turning on analog and digital power supply + - qcom,afe-power-off-delay-us : unsigned integer type for + delay between turning off digital and analog power supply + Example: &soc { hbtp { @@ -47,5 +74,16 @@ Example: qcom,default-max-y = <1920>; qcom,desired-max-x = <720>; qcom,desired-max-y = <1280>; + pinctrl-names = "pmx_ts_active","pmx_ts_suspend", + "ddic_rst_active", "ddic_rst_suspend"; + pinctrl-0 = <&ts_rst_active>; + pinctrl-1 = <&ts_rst_suspend>; + pinctrl-2 = <&ddic_rst_active>; + pinctrl-3 = <&ddic_rst_suspend>; + qcom,pmx-ts-on-seq-delay-us = <1000>; + qcom,ddic-rst-on-seq-delay-us = <10000 10000 10000 10000>; + qcom,fb-resume-delay-us = <90000>; + qcom,afe-power-on-delay-us = <1000>; + qcom,afe-power-off-delay-us = <6>; }; }; |