From patchwork Sun Oct 18 15:52:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karsten Merker X-Patchwork-Id: 7430621 Return-Path: X-Original-To: patchwork-linux-input@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 74BDF9F443 for ; Sun, 18 Oct 2015 15:54:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 900E020614 for ; Sun, 18 Oct 2015 15:54:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C0102061D for ; Sun, 18 Oct 2015 15:54:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932177AbbJRPxz (ORCPT ); Sun, 18 Oct 2015 11:53:55 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:63701 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932161AbbJRPxv (ORCPT ); Sun, 18 Oct 2015 11:53:51 -0400 Received: from excalibur.cnev.de ([84.44.243.249]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MaiSH-1a7J462CXh-00K4nR; Sun, 18 Oct 2015 17:53:31 +0200 Received: from localhost ([127.0.0.1] helo=excalibur.cnev.de) by excalibur.cnev.de with esmtp (Exim 4.84) (envelope-from ) id 1ZnqH2-0007bF-3B; Sun, 18 Oct 2015 17:53:28 +0200 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 3/3] Input: goodix - update dt bindings documentation (axis swapping/inversion) Date: Sun, 18 Oct 2015 17:52:59 +0200 Message-Id: <1445183579-29176-4-git-send-email-merker@debian.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445183579-29176-1-git-send-email-merker@debian.org> References: <1445183579-29176-1-git-send-email-merker@debian.org> X-Provags-ID: V03:K0:VQlds4HdGh6p6euaAE5UQ+MIbnSODRMbHwW8oBWyLih0r2LrLgM TXExOa/3/7eiNw9a79rc9Mou6Kb/n8BOXHVTe+EeYa8gki1C6+dYNb8SLTJece6gfx/pivB HyUjgoeYJdk9ySl7sH4KdpJerBewNVo8dJ/hPv0d7QwPlu+vj1Cu1TNjtv8kYA0JqP8Kqze 5O/ivrgGPOL57+9tD+tCg== X-UI-Out-Filterresults: notjunk:1; V01:K0:7MIyxi+NHpI=:D7qy27il83FB8pqjQyyrbD Q4tPQgU55oOguj9nwBLxAwwNFgOuqhMdfujdtwE8lvGhgQJdTReSebsD9ARCWAsFuppWlgJ1/ 6ia5+hoXdnyu96Ne2Zqm4iSxJCvwwWUKf22BT8D6z8yjuAoaCXG3mXT9Rs81GvMV+9Q5lAm31 DW/5I0YfoKombshX+GdHtlOnMQZL3EhUX6hYTrER5NB6nvGYKUroy/EEYAsnmi4IcgV7MYbD1 La62rBmsc5I/uVKGypqHjq8+IZMfGYVRZz37qiGVlmp9+mg6cDAKsM7MW8npVxiAq+meaqEG9 2hzgoCkGyFDgFybIbI5u29VaoEWvSCG//EiWSY14TwOPXbRNKBYYTJQoU6p4gaXyTW/JRNcxW W6F2KKAWYEtIljXcQ6PPKmC5utFeUvRIEgZ3QMfwBiyHGikgpHTpkUf5v1tDFElYpMiuiRd29 dp1FGTvLTBkQ3Ws82f3xZ5JPByE1IBvmNGY9Sr7uNvFUo/ksO7T96Bsp3vBYpKtvbboy+X5Bm C7dyunezvI1hs+v/35E/Fz5y2bqXjxYjDUWIOO4WzvWu/btWPXt331j9NxpsGpI8Mkm/8EYqU TZJKeH+nV/b2E56K7zJPjWWqcfGMooUck7iFblLFaCD3M+p4gIPlp20lqo1FYQCPQhl+Ra0Ik pUYZ/rMZX5DtTQzgvkntXVN/z5K3ham6KMuBDUe2M8osMmj5+9D+nETUU4xyXfO4Mcos= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 goodix touchscreen driver has gained support for the optional touchscreen-inverted-x, touchscreen-inverted-y and touchscreen-swapped-x-y properties as described in Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt. Document these properties in the goodix bindings description. Signed-off-by: Karsten Merker Reviewed-by: Irina Tirdea --- Documentation/devicetree/bindings/input/touchscreen/goodix.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt index 4db3393..4ecd0e1 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt @@ -14,6 +14,7 @@ Required properties: - interrupts : Interrupt to which the chip is connected - irq-gpio : GPIO pin used for IRQ - reset-gpio : GPIO pin used for reset + Optional properties: - esd-recovery-timeout-ms : ESD poll time (in milli seconds) for the driver to @@ -21,6 +22,11 @@ Optional properties: device. ESD is disabled if this property is not set or is set to 0. + - touchscreen-inverted-x : X axis is inverted (boolean) + - touchscreen-inverted-y : Y axis is inverted (boolean) + - touchscreen-swapped-x-y : X and Y axis are swapped (boolean) + (swapping is done after inverting the axis) + Example: i2c@00000000 {