linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v11][ 1/2] ARM: dts: cpuimx35 Add touchscreen support.
@ 2014-04-08 16:22 Denis Carikli
  2014-04-08 16:22 ` [PATCH v11][ 2/2] ARM: dts: cpuimx51 " Denis Carikli
  2014-04-09  2:58 ` [PATCH v11][ 1/2] ARM: dts: cpuimx35 " Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Denis Carikli @ 2014-04-08 16:22 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Denis Carikli <denis@eukrea.com>
---
ChangeLog v10->v11:
- Moved the Cc to git-send-email.
- Rebased (pingrp are now gone).

ChangeLog v8->v10:
- Reduced Cc list, not to bother unrelated subsystem maintainers.
- Added the pinctrl node (because it is not anymore in the patch adding the cpuimx35).
- Cosmetic fix: reordered the tsc2007 node properties.

ChangeLog v7->v8:
- Added Shawn Guo in the cc list.
---
 arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
index 906ae93..9c2b715 100644
--- a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
+++ b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi
@@ -37,6 +37,17 @@
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 	};
+
+	tsc2007: tsc2007 at 48 {
+		compatible = "ti,tsc2007";
+		gpios = <&gpio3 2 0>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <0x2 0x8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_tsc2007_1>;
+		reg = <0x48>;
+		ti,x-plate-ohms = <180>;
+	};
 };
 
 &iomuxc {
@@ -70,6 +81,10 @@
 				MX35_PAD_I2C1_DAT__I2C1_SDA		0x80000000
 			>;
 		};
+
+		pinctrl_tsc2007_1: tsc2007grp-1 {
+			fsl,pins = <MX35_PAD_ATA_DA2__GPIO3_2 0x80000000>;
+		};
 	};
 };
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v11][ 2/2] ARM: dts: cpuimx51 Add touchscreen support.
  2014-04-08 16:22 [PATCH v11][ 1/2] ARM: dts: cpuimx35 Add touchscreen support Denis Carikli
@ 2014-04-08 16:22 ` Denis Carikli
  2014-04-09  2:58 ` [PATCH v11][ 1/2] ARM: dts: cpuimx35 " Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Denis Carikli @ 2014-04-08 16:22 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Denis Carikli <denis@eukrea.com>
---
ChangeLog v10->v11:
- Moved the Cc to git-send-email.

ChangeLog v9->v10:
- Reduced Cc list, not to bother unrelated subsystem maintainers.
- Rebased: the pinctrl node is already in linux-next.
- Updated tsc2007 pinctrl properties accordingly.
- Cosmetic fix: reordered the tsc2007 node properties.

ChangeLog v8->v9:
- Rebased.
- Adapted to request the tsc2007 gpio pinctrl outside of the tsc2007 bindings.

ChangeLog v7->v8:
- Added Shawn Guo in the cc list.
---
 arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi b/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi
index 9b3acf6..6316426 100644
--- a/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi
+++ b/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi
@@ -42,6 +42,17 @@
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 	};
+
+	tsc2007: tsc2007 at 49 {
+		compatible = "ti,tsc2007";
+		gpios = <&gpio4 0 1>;
+		interrupt-parent = <&gpio4>;
+		interrupts = <0x0 0x8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_tsc2007_1>;
+		reg = <0x49>;
+		ti,x-plate-ohms = <180>;
+	};
 };
 
 &iomuxc {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v11][ 1/2] ARM: dts: cpuimx35 Add touchscreen support.
  2014-04-08 16:22 [PATCH v11][ 1/2] ARM: dts: cpuimx35 Add touchscreen support Denis Carikli
  2014-04-08 16:22 ` [PATCH v11][ 2/2] ARM: dts: cpuimx51 " Denis Carikli
@ 2014-04-09  2:58 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2014-04-09  2:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Apr 08, 2014 at 06:22:41PM +0200, Denis Carikli wrote:
> Signed-off-by: Denis Carikli <denis@eukrea.com>
> ---
> ChangeLog v10->v11:
> - Moved the Cc to git-send-email.
> - Rebased (pingrp are now gone).

Applied both, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-09  2:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 16:22 [PATCH v11][ 1/2] ARM: dts: cpuimx35 Add touchscreen support Denis Carikli
2014-04-08 16:22 ` [PATCH v11][ 2/2] ARM: dts: cpuimx51 " Denis Carikli
2014-04-09  2:58 ` [PATCH v11][ 1/2] ARM: dts: cpuimx35 " Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).