Skip to contentSkip to conversation

ARM: dts: sun8i: Add touchscreen node to various tablets

PATCH New Hans de Goede 3 participants 10 messages Sep 11, 2016 – Sep 14, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: sun8i: Add touchscreen node to various tablets

Hi Maxime,

Now that Dmitry has queued up the firmware-name property changes in his for-linus branch, these dt patches are ready for merging.

Regards,

Hans

#1 lore raw

PATCH 1/5 ARM: dts: sun8i: Add touchscreen node for sun8i-a23-gt90h

The gt90h tablet has a gsl3675 touchscreen, add a dt node describing it.

---
 arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts +9 -0
index f27ebbb..e3c7a25 100644
@@ -53,6 +53,15 @@
 	status = "okay";
 };
 
+&touchscreen {
+	reg = <0x40>;
+	compatible = "silead,gsl3675";
+	firmware-name = "gsl3675-gt90h.fw";
+	touchscreen-size-x = <1792>;
+	touchscreen-size-y = <1024>;
+	status = "okay";
+};
+
 &lradc {
 	button at 600 {
 		label = "Back";
Signature · 1 line
2.9.3
#2 lore raw

PATCH 2/5 ARM: dts: sun8i: Add touchscreen node for sun8i-a23-inet86dz

In reply to Hans de Goede

The inet86dz tablet has a gsl1680 touchscreen,
add a dt node describing it.

---
 arch/arm/boot/dts/sun8i-a23-inet86dz.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sun8i-a23-inet86dz.dts +9 -0
index 0f9f71b..d440575 100644
@@ -53,6 +53,15 @@
 	status = "okay";
 };
 
+&touchscreen {
+	reg = <0x40>;
+	compatible = "silead,gsl1680";
+	firmware-name = "gsl1680-inet86dz.fw";
+	touchscreen-size-x = <960>;
+	touchscreen-size-y = <640>;
+	status = "okay";
+};
+
 &usbphy {
 	usb1_vbus-supply = <&reg_dldo1>;
 };
Signature · 1 line
2.9.3
#3 lore raw

PATCH 3/5 ARM: dts: sun8i: Add touchscreen node for sun8i-a23-polaroid-mid2407pxe03

In reply to Hans de Goede

Add a node enabling the gsl1680 touchscreen controller found on sun8i-a23-polaroid-mid2407pxe03 tablets.

---
Changes in v2:
-Make ldo_io1 vddio-supply for the touchscreen rather then marking it as
regulator-always-on

---
 arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts +19 -0
index 4789aac..6662127 100644
@@ -90,3 +90,22 @@
 		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 	};
 };
+
+&reg_ldo_io1 {
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-touchscreen";
+	status = "okay";
+};
+
+&touchscreen {
+	reg = <0x40>;
+	compatible = "silead,gsl1680";
+	firmware-name = "gsl1680-polaroid-mid2407pxe03.fw";
+	touchscreen-size-x = <960>;
+	touchscreen-size-y = <640>;
+	touchscreen-inverted-x;
+	touchscreen-inverted-y;
+	vddio-supply = <&reg_ldo_io1>;
+	status = "okay";
+};
Signature · 1 line
2.9.3
#4 lore raw

PATCH 4/5 ARM: dts: sun8i: Add touchscreen node for sun8i-a23-polaroid-mid2809pxe04

In reply to Hans de Goede

Add a node enabling the gsl3670 touchscreen controller found on sun8i-a23-polaroid-mid2809pxe04 tablets.

---
 arch/arm/boot/dts/sun8i-a23-polaroid-mid2809pxe04.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sun8i-a23-polaroid-mid2809pxe04.dts +9 -0
index c9213ca..9955f85 100644
@@ -90,3 +90,12 @@
 		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
 	};
 };
+
+&touchscreen {
+	reg = <0x40>;
+	compatible = "silead,gsl3670";
+	firmware-name = "gsl3670-polaroid-mid2809pxe04.fw";
+	touchscreen-size-x = <1660>;
+	touchscreen-size-y = <890>;
+	status = "okay";
+};
Signature · 1 line
2.9.3
#5 lore raw

PATCH 5/5 ARM: dts: sun8i: Add touchscreen node for sun8i-a33-ga10h

In reply to Hans de Goede

The ga10h tablet has a gsl3675 touchscreen, add a dt node describing it.

---
 arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts +10 -0
index de6269d..f711599 100644
@@ -58,6 +58,16 @@
 	status = "okay";
 };
 
+&touchscreen {
+	reg = <0x40>;
+	compatible = "silead,gsl3675";
+	firmware-name = "gsl3675-ga10h.fw";
+	touchscreen-size-x = <1630>;
+	touchscreen-size-y = <990>;
+	touchscreen-inverted-y;
+	status = "okay";
+};
+
 &lradc {
 	button at 600 {
 		label = "Back";
Signature · 1 line
2.9.3
#7 lore raw

cover ARM: dts: sun8i: Add touchscreen node to various tablets

In reply to Hans de Goede
Quoted 4 lines · Hans de Goede

Hi Maxime,

Now that Dmitry has queued up the firmware-name property changes in his for-linus branch, these dt patches are ready for merging.

I queued this for 4.10.

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160913/7324f5c7/attachment.sig>
#8 lore raw

cover ARM: dts: sun8i: Add touchscreen node to various tablets

Hi,

Quoted 7 lines · Maxime Ripard
Quoted 4 lines · Hans de Goede

Hi Maxime,

Now that Dmitry has queued up the firmware-name property changes in his for-linus branch, these dt patches are ready for merging.

I queued this for 4.10.

4.10 ? Is next already frozen ? Note either way is fine just wondering.

Regards,

Hans

#9 lore raw

cover ARM: dts: sun8i: Add touchscreen node to various tablets

Hi Hans,

Quoted 11 lines · Hans de Goede
Quoted 7 lines · Maxime Ripard
Quoted 4 lines · Hans de Goede

Hi Maxime,

Now that Dmitry has queued up the firmware-name property changes in his for-linus branch, these dt patches are ready for merging.

I queued this for 4.10.

4.10 ? Is next already frozen ? Note either way is fine just wondering.

Yes, the arm-soc maintainers usually stop merging PR after -rc6. It's still a bit flexible is something major and not really huge comes up, but for that kind of patches, I usually start queuing patches for the next release when -rc6 is out.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160914/0586166c/attachment.sig>