From patchwork Sat Oct 24 21:07:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karsten Merker X-Patchwork-Id: 7481251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 30D1C9F37F for ; Sat, 24 Oct 2015 21:13:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5CD4420752 for ; Sat, 24 Oct 2015 21:13:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 850D920751 for ; Sat, 24 Oct 2015 21:12:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zq65o-0006No-6k; Sat, 24 Oct 2015 21:11:12 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zq65k-0006Lg-5W for linux-arm-kernel@lists.infradead.org; Sat, 24 Oct 2015 21:11:09 +0000 Received: from excalibur.cnev.de ([84.44.244.234]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MC5H2-1ZhGKv1p1U-008uKE; Sat, 24 Oct 2015 23:07:54 +0200 Received: from localhost ([127.0.0.1] helo=excalibur.cnev.de) by excalibur.cnev.de with esmtp (Exim 4.84) (envelope-from ) id 1Zq62W-0000ZL-82; Sat, 24 Oct 2015 23:07:48 +0200 From: Karsten Merker To: Hans de Goede , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property Date: Sat, 24 Oct 2015 23:07:31 +0200 Message-Id: <1445720851-2148-1-git-send-email-merker@debian.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20151024205716.GA16644@excalibur.cnev.de> References: <20151024205716.GA16644@excalibur.cnev.de> X-Provags-ID: V03:K0:LRYxDE/nE9Zn45+avBodzjaUrlwY/5D9hCC6ZIbpieNwjpThV1a /xiu+usFuJwMfGzde01NFBYZe09zWWo07PsnC7A92t5aelP7dfTjPwq+2xESLUdkrLFOpA2 z5RfZKK3Sm/7bnjjbn4MV9B0P5jrSbb7TyJ0GTssKr9Qt/A5W2Wnjr4TAknmNVm+nV9jXjQ oTtzOmEB6udIemLjYKpEA== X-UI-Out-Filterresults: notjunk:1; V01:K0:+lfvxZf3WGk=:fwRm7bEABCjKH8gi9UhOXA CwUJN9AyH0uq5bSykXWUxqAzq8Anm06sIoUyB5CIAfmt4b12j5CyZ/xXJ1+oU9lhZQAaMlaFs 59HpFZSTgl/SLQNsDeZFY/KIyeCbYqyKZZmichaQ2HCRTc5Of2pilHVgMBjhK0xPeYB4Mv1LC lU1PjWKSnEBzs6g/2LKYYOWu1HcH9/kGeqqj/9AcdkbNgwbXtDKcb8fgwjM3zmmqcE7Df639l MMx8TvrTlVoItyszdmbmb9mgYRGUEIIswRGpGJW/imXubVALlr6YkjdlX74eT3pQUge/yDOs/ jj7YsMygUdw3Q8O6ey8Y80eLz2WkepMt+xrEFFoaqSpV612Zlmf/SK9So+tINIeilIS41crf8 kffw9vKpyxtbMDdGHwASLO1N+qNNSD63SIMGnpOxd6PtO9MrH6ylnCq2EVSq2QIcRWeYpS5Pv C4WZFi05OJhXwLswMrpd96GTnY5CkKK09T96Qtj8uJiRCDD9aj32etqPFKbP3Y8aGyIu9SIso BvtwjzBYyJlHCuBm04pYv3Cl/2KF9GU9+BH0CP03mMlau6LEL528UE8FkkHdxm6EVLNkbTxZ6 aGvyDQ0gMYk4gZblDIpJ5o5uhD9Jx7ZCbjMo/Jmfh1nnzp6F4al6t1+jGCO8vncM5XPBFHR5u nJxoU/B++RIhS/1w1ETDNh4G2BO19X/AImYBstnrQkJsif7HR1EfNorAaBNvg5PZXRJE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151024_141108_399491_4F65E0B0 X-CRM114-Status: GOOD ( 10.21 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, Siarhei Siamashka , linux-kernel@vger.kernel.org, Mark Brown , Karsten Merker , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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; }; };