From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932135AbbJRPxm (ORCPT ); Sun, 18 Oct 2015 11:53:42 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:53778 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753077AbbJRPxh (ORCPT ); Sun, 18 Oct 2015 11:53:37 -0400 From: Karsten Merker To: Bastien Nocera , Dmitry Torokhov , Irina Tirdea , Aleksei Mamlin , linux-input@vger.kernel.org, Ian Campbell Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Karsten Merker Subject: [PATCH RFC V3 0/3] Input: goodix - add axis swapping and axis inversion support Date: Sun, 18 Oct 2015 17:52:56 +0200 Message-Id: <1445183579-29176-1-git-send-email-merker@debian.org> X-Mailer: git-send-email 2.1.4 X-Provags-ID: V03:K0:fnFHer6Yo9BpAlUX36GGbfmR4IRVqB2urbBo2szo7o05bBvDswg Q50soP0rdAjw/XLlF/XI4DJjTkkZ+K3xJXzcHJNwthfLRqA77xPIbqJMIgV1eod7uwA2/5V Ypx1wt3HLVV3YVw+Av/NV/XeGHr90crvK78/s/FiJzGE10oDJ7rBBbecgfYZIF5sfblP513 7dvvgxHrD2EjHNDgeRCqw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZjWS6b8PKZs=:nnmRR0yiST627IsQBWHM8/ YwXLNKbVmTXdaAjVHR0AV4aA2fxrA282XGMsUg31ZuKV6x88o1zsmn9e3WU6RlfD4dHeJNx3B AcV38sn3QocV+AGc3nMmnZFVtfh55NCu2ptFAruinaaoTOqJg7hDx41lZ/5hjNvnZ86ODQpWu aPzRxc9gPobEiMb8tvtpNrnAyc0mKpKl6o+v9XdZKXqJ+epuG/tNFOSQxy9dTgEdQ2OdcxdQc 9+zy0wHthd9MIchdiGPvqHBQ9d9qbv7V7nuRTcaHEHMT5r9jZIpsK6x9RHBlizl4QaksEW6pn Kf0iPOl0WEh09Hoxm8jJ+5Z4aNPp7CsYU+SjZ4gnFj3gzZBPGY4WNhF7dL9ieS30ATmov465w oPALoedF09iYFX2Nw77g8iEZ5anIbMYbHqh7HcjnHaDH/0BRAhIiR5XHr+V1oUjpW4MQP/6UP J/b0D/z0DbNl4//1+xP4OcAAJMKYCY7Byw7G8LowKlLEinO9y/g4+ZSxw6en6KPryEcEvC/Co GxPduJ9fvkA9gspT7xfpzqcBGDzPhwjWYTXC5bfzuJPOk+p3zmz7g4BAdOw/kPkVQic9IThGU 6M/ezzPfsUKDUhLmO+7pNfS0GDizrcMzQ87dSEU5tQqzF2UmxBfjqXREGYfxjayzfEo6wsmv5 MuAfatnq981Gykg2qVC0sFboYpiQSoIOG3xJBSu8JTuWk9ESUsCL15cXidtg/7azTDM4= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this is v3 of my "Input: goodix - add axis swapping and axis inversion support" patchset. The goodix touchscreen driver has gained device-tree support in kernel 4.1, but doesn't currently support the touchscreen-swapped-x-y, touchscreen-inverted-x and touchscreen-inverted-y properties. On systems which combine a portrait-mode display with a landscape-mode touchscreen, such as e.g. the MSI Primo 81 tablet, support for these features is necessary to have the touchscreen and the display use the same coordinate system. With support for axis inversion, the "rotated_screen" flag in the driver can also be removed, as "rotated_screen" is just a special case of x/y axis inversion. This patchset sits on top of the "[PATCH v9 0/9] Goodix touchscreen enhancements" series by Irina Tirdea: https://www.spinics.net/lists/linux-input/msg41501.html The axis swapping has successfully been tested on an (arm-based) MSI Primo 81 tablet; the x/y inversion resp. the rotated_screen functionality has successfully been tested on a WinBook TW100. @Bastien: You had acked patch No. 1 in v2 of the patchset. I have not transferred that ack to v3 of the same patch because I have have introduced some changes into that patch (based on Irina's review comments, cf. the changelog below) after your ack. I would apprechiate very much if you could take a look and tell me whether your ack extends to v3 as well. Regards, Karsten Changelog: v1: * Initial version (based von v6 of Irina Tirdea's "Goodix touchscreen enhancements" series). Reviewed-by: Bastien Nocera v2: * Rebase against v8 of Irina Tirdea's "Goodix touchscreen enhancements" series. * Fix a typo in the commit message. * Add an update for the goodix dt bindings documentation (patch No. 3). * Reviews/Tests: Patch 1+2: Tested-by: Bastien Nocera Acked-by: Bastien Nocera Patch 2+3: Reviewed-by: Irina Tirdea v3: * Rebase against v9 of Irina Tirdea's "Goodix touchscreen enhancements" series. * Address the review comments for patch No. 1 by Irina Tirdea (https://www.spinics.net/lists/linux-input/msg41536.html): - Move reading the dt properties from goodix_ts_probe to goodix_configure_dev to make them work properly in all configurations (with and without gpio declarations). - Use the new unified device properties API (device_property_*) instead of the classic DT API (of_property_*). This provides support for ACPI 5.1 DSD properties as well as for device-tree properties. Karsten Merker (3): Input: goodix - add axis swapping and axis inversion support Input: goodix - use "inverted_[xy]" flags instead of "rotated_screen" Input: goodix - update dt bindings documentation (axis swapping/inversion) .../bindings/input/touchscreen/goodix.txt | 6 +++++ drivers/input/touchscreen/goodix.c | 31 ++++++++++++++++++---- 2 files changed, 32 insertions(+), 5 deletions(-) -- 2.1.4