Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1215423
| From | Marcel Ziswiler <marcel.ziswiler@toradex.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 07/11] arm: tegra: colibri_t30: activate stmpe811 touch controller |
| Date | 2015-08-28 18:10 +0200 |
| Message-ID | <q2uo3-8ca-39@gated-at.bofh.it> (permalink) |
| References | <q2uo1-8ca-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Activate STMPE811 touch controller as found on Colibri T30 modules.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---
arch/arm/boot/dts/tegra30-colibri.dtsi | 40 ++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi
index fba3d2a..5f8ec5c 100644
--- a/arch/arm/boot/dts/tegra30-colibri.dtsi
+++ b/arch/arm/boot/dts/tegra30-colibri.dtsi
@@ -320,6 +320,46 @@
};
};
+ /* STMPE811 touch screen controller */
+ stmpe811@41 {
+ compatible = "st,stmpe811";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x41>;
+ interrupts = <TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
+ interrupt-controller;
+ id = <0>;
+ blocks = <0x5>;
+ irq-trigger = <0x1>;
+
+ stmpe_touchscreen {
+ compatible = "st,stmpe-ts";
+ reg = <0>;
+ /* 3.25 MHz ADC clock speed */
+ st,adc-freq = <1>;
+ /* 8 sample average control */
+ st,ave-ctrl = <3>;
+ /* 7 length fractional part in z */
+ st,fraction-z = <7>;
+ /*
+ * 50 mA typical 80 mA max touchscreen drivers
+ * current limit value
+ */
+ st,i-drive = <1>;
+ /* 12-bit ADC */
+ st,mod-12b = <1>;
+ /* internal ADC reference */
+ st,ref-sel = <0>;
+ /* ADC converstion time: 80 clocks */
+ st,sample-time = <4>;
+ /* 1 ms panel driver settling time */
+ st,settling = <3>;
+ /* 5 ms touch detect interrupt delay */
+ st,touch-det-delay = <5>;
+ };
+ };
+
/*
* LM95245 temperature sensor
* Note: OVERT_N directly connected to PMIC PWRDN
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/11] arm: tegra: colibri_t30: fix hdmi, power i2c, wakeup and activate touch Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 09/11] arm: tegra: colibri_t30: fix vendor string of m41t0m6 rtc on eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 03/11] arm: tegra: colibri_t30: improve comment about thermal alert pin Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 02/11] arm: tegra: colibri_t30: fix hdmi supply Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 01/11] arm: tegra: colibri_t30: update hardware revisions compatible comment Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 07/11] arm: tegra: colibri_t30: activate stmpe811 touch controller Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 11/11] arm: tegra: colibri_t30: fix power/wakeup key for eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 08/11] arm: tegra: colibri_t30: replace emmc label by comment Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 10/11] arm: tegra: colibri_t30: add comment concerning sd/mmc for eval board Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 06/11] arm: tegra: colibri_t30: add touch pen interrupt pin muxing Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200 [PATCH 04/11] arm: tegra: colibri_t30: add pin muxing for on-module power i2c Marcel Ziswiler <marcel.ziswiler@toradex.com> - 2015-08-28 18:10 +0200
csiph-web