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: 7481231 Return-Path: X-Original-To: patchwork-linux-fbdev@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 192469F37F for ; Sat, 24 Oct 2015 21:10:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4BB9E20525 for ; Sat, 24 Oct 2015 21:10:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7671A20416 for ; Sat, 24 Oct 2015 21:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752285AbbJXVKm (ORCPT ); Sat, 24 Oct 2015 17:10:42 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:51530 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751911AbbJXVKl (ORCPT ); Sat, 24 Oct 2015 17:10:41 -0400 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 Cc: Karsten Merker , linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Brown , Siarhei Siamashka 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= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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; }; };