summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Tran <atran@nvidia.com>2014-03-18 13:46:33 -0700
committerSeema Khowala <seemaj@nvidia.com>2014-04-23 14:07:15 -0700
commite9a9b3e6e2b44261abd02c27c6d244574011204d (patch)
treefec8664048bbb073515cdc87a45559b6f1c8f5a3 /Documentation
parent61156d6d4c44de184191c21e3df8f329afba398c (diff)
input: touch: maxim: add device tree support
-update maxim touch driver to support device tree. -add sample maxim touch device tree in documentation Bug 1468560 Change-Id: Id7a99ca9bdeb53f7d817e33874dac9bca48965a9 Signed-off-by: Andrew Tran <atran@nvidia.com> Reviewed-on: http://git-master/r/383999 (cherry picked from commit 86384c3e1db348509887c7bbdbe9f3e3c5be8941) Reviewed-on: http://git-master/r/383268 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/maxim_sti_ts.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/maxim_sti_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/maxim_sti_ts.txt
new file mode 100644
index 000000000000..39902898abf0
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/maxim_sti_ts.txt
@@ -0,0 +1,46 @@
+Maxim touch.
+
+Required properties:
+- compatible.
+- reg.
+- spi-max-frequency.
+- interrupt-parent.
+- interrupts.
+- maxim_sti,reset-gpio.
+- maxim_sti,touch_fusion.
+- maxim_sti,config_file.
+- maxim_sti,fw_name.
+- maxim_sti,nl_family.
+- maxim_sti,nl_mc_groups.
+- maxim_sti,chip_access_method.
+- maxim_sti,default_reset_state.
+- maxim_sti,tx_buf_size.
+- maxim_sti,rx_buf_size.
+
+Sample:
+ spi@7000d400 {
+ maxim_sti@0 {
+ status = "okay";
+ compatible = "maxim,maxim_sti";
+ spi-max-frequency = <12000000>;
+ reg = <0>; /* chip select */
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(K, 2) 0x02>;
+ maxim_sti,reset-gpio = <TEGRA_GPIO(K, 4)>;
+ maxim_sti,touch_fusion = "/vendor/bin/touch_fusion";
+ maxim_sti,config_file = "/vendor/firmware/touch_fusion.cfg";
+ maxim_sti,fw_name = "maxim_fp35.bin";
+ maxim_sti,nl_family = "touch_fusion";
+ maxim_sti,nl_mc_groups = <5>;
+ maxim_sti,chip_access_method = <2>;
+ maxim_sti,default_reset_state = <0>;
+ maxim_sti,tx_buf_size = <4100>;
+ maxim_sti,rx_buf_size = <4100>;
+ controller-data {
+ nvidia,enable-hw-based-cs;
+ nvidia,rx-clk-tap-delay = <0>;
+ nvidia,tx-clk-tap-delay = <0>;
+ };
+ };
+ };
+