All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karsten Merker <merker@debian.org>
To: Hans de Goede <hdegoede@redhat.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Chen-Yu Tsai <wens@csie.org>
Cc: Karsten Merker <merker@debian.org>,
	linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Mark Brown <broonie@kernel.org>,
	Siarhei Siamashka <siarhei.siamashka@gmail.com>
Subject: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property
Date: Sat, 24 Oct 2015 23:07:31 +0200	[thread overview]
Message-ID: <1445720851-2148-1-git-send-email-merker@debian.org> (raw)
In-Reply-To: <20151024205716.GA16644@excalibur.cnev.de>

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode.  To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <merker@debian.org>
---
 arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 2d4250b..68b479b 100644
--- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
@@ -83,6 +83,7 @@
 		reg = <0x5d>;
 		interrupt-parent = <&pio>;
 		interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
+		touchscreen-swapped-x-y;
 	};
 };
 
-- 
2.1.4


WARNING: multiple messages have this Message-ID (diff)
From: Karsten Merker <merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Jean-Christophe Plagniol-Villard
	<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>,
	Tomi Valkeinen <tomi.valkeinen-l0cyMroinI0@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
Cc: Karsten Merker <merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
	linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Siarhei Siamashka
	<siarhei.siamashka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property
Date: Sat, 24 Oct 2015 23:07:31 +0200	[thread overview]
Message-ID: <1445720851-2148-1-git-send-email-merker@debian.org> (raw)
In-Reply-To: <20151024205716.GA16644-Hlt6eto4P0pdWf7zwHaZWbNAH6kLmebB@public.gmane.org>

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode.  To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <merker-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
---
 arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 2d4250b..68b479b 100644
--- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
@@ -83,6 +83,7 @@
 		reg = <0x5d>;
 		interrupt-parent = <&pio>;
 		interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
+		touchscreen-swapped-x-y;
 	};
 };
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Karsten Merker <merker@debian.org>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property
Date: Sat, 24 Oct 2015 21:07:31 +0000	[thread overview]
Message-ID: <1445720851-2148-1-git-send-email-merker@debian.org> (raw)
In-Reply-To: <20151024205716.GA16644@excalibur.cnev.de>

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode.  To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <merker@debian.org>
---
 arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 2d4250b..68b479b 100644
--- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
@@ -83,6 +83,7 @@
 		reg = <0x5d>;
 		interrupt-parent = <&pio>;
 		interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
+		touchscreen-swapped-x-y;
 	};
 };
 
-- 
2.1.4


WARNING: multiple messages have this Message-ID (diff)
From: merker@debian.org (Karsten Merker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property
Date: Sat, 24 Oct 2015 23:07:31 +0200	[thread overview]
Message-ID: <1445720851-2148-1-git-send-email-merker@debian.org> (raw)
In-Reply-To: <20151024205716.GA16644@excalibur.cnev.de>

The MSI Primo81 has a display in portrait mode but a touchscreen
in landscape mode.  To have both of them use the same coordinate
system, the touchscreen-swapped-x-y property has to be set
for the touchscreen.

Signed-off-by: Karsten Merker <merker@debian.org>
---
 arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 2d4250b..68b479b 100644
--- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
@@ -83,6 +83,7 @@
 		reg = <0x5d>;
 		interrupt-parent = <&pio>;
 		interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; /* PA3 */
+		touchscreen-swapped-x-y;
 	};
 };
 
-- 
2.1.4

  reply	other threads:[~2015-10-24 21:10 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23  3:50 [PATCH v4 0/4] simplefb: Add regulator handling support Chen-Yu Tsai
2015-10-23  3:50 ` Chen-Yu Tsai
2015-10-23  3:50 ` Chen-Yu Tsai
2015-10-23  3:50 ` [PATCH v4 1/4] dt-bindings: simplefb: Support regulator supply properties Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50 ` [PATCH v4 2/4] simplefb: Claim and enable regulators Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50 ` [PATCH v4 3/4] ARM: dts: sun6i: Add simplefb node labels to reference at board level Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50 ` [PATCH v4 4/4] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23  3:50   ` Chen-Yu Tsai
2015-10-23 14:53   ` Karsten Merker
2015-10-23 15:46     ` Chen-Yu Tsai
2015-10-23 15:46       ` Chen-Yu Tsai
2015-10-23 15:46       ` Chen-Yu Tsai
2015-10-23 15:56       ` Chen-Yu Tsai
2015-10-23 15:56         ` Chen-Yu Tsai
2015-10-23 15:56         ` Chen-Yu Tsai
2015-10-23 15:56         ` Chen-Yu Tsai
2015-10-23 16:56         ` Karsten Merker
2015-10-24  3:15           ` Chen-Yu Tsai
2015-10-24  3:15             ` Chen-Yu Tsai
2015-10-24  3:15             ` Chen-Yu Tsai
2015-10-24 20:57             ` Karsten Merker
2015-10-24 20:57               ` Karsten Merker
2015-10-24 21:07               ` Karsten Merker [this message]
2015-10-24 21:07                 ` [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property Karsten Merker
2015-10-24 21:07                 ` Karsten Merker
2015-10-24 21:07                 ` Karsten Merker
2015-10-28  6:20                 ` Maxime Ripard
2015-10-28  6:20                   ` Maxime Ripard
2015-10-28  6:20                   ` Maxime Ripard
2015-10-24  7:09         ` [PATCH v4 4/4] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet Maxime Ripard
2015-10-24  7:09           ` Maxime Ripard
2015-10-24  7:09           ` Maxime Ripard
2015-10-24  9:33       ` Siarhei Siamashka
2015-10-24  9:33         ` Siarhei Siamashka
2015-10-24  9:33         ` Siarhei Siamashka
2015-10-23  6:05 ` [PATCH v4 0/4] simplefb: Add regulator handling support Maxime Ripard
2015-10-23  6:05   ` Maxime Ripard
2015-10-23  6:05   ` Maxime Ripard
2015-10-23  6:05   ` Maxime Ripard
2015-10-23 13:49 ` Hans de Goede
2015-10-23 13:49   ` Hans de Goede
2015-10-23 13:49   ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445720851-2148-1-git-send-email-merker@debian.org \
    --to=merker@debian.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=hdegoede@redhat.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=pawel.moll@arm.com \
    --cc=plagnioj@jcrosoft.com \
    --cc=robh+dt@kernel.org \
    --cc=siarhei.siamashka@gmail.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.