From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933838AbbJIR5v (ORCPT ); Fri, 9 Oct 2015 13:57:51 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51120 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757531AbbJIR5n (ORCPT ); Fri, 9 Oct 2015 13:57:43 -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 V2 3/3] Input: goodix - update dt bindings documentation (axis swapping/inversion) Date: Fri, 9 Oct 2015 19:55:52 +0200 Message-Id: <1444413352-24529-4-git-send-email-merker@debian.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444413352-24529-1-git-send-email-merker@debian.org> References: <1444413352-24529-1-git-send-email-merker@debian.org> X-Provags-ID: V03:K0:F0SB1eD5PS/b667jBbSAGY/Tul3ZjLjUDLvMjUYwzxR042Ne+p5 W6jA/lJPau/PH7X6mrD5BUBXDirYNdCphwQtmny2xLy0Vlfz8J8PCxHaFFxoTQ5AcUXgV/c YyIqAcsGnzAN4CyGwaffj+a26hUK5jwugyu3gQN/PaukWo5LBFhJX5WwfKFO1bGXKocMbLe znYoabdOa2qBK1z/XA6/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:uR5bLvj3VN8=:2Lo1pXa6hgDXjGW993vhBk v34as21vaus2QigpsfQO9dhv2vBgJQDMON5ggHnKvjEOnyFDU2J02/D+EQnw36UMSjpIMS/XU s11yLpfuR5AICVzjc4C4hI8xIy6nFn3HmuEf7xVlKGyBvfiUjLvip6d47NP214vGe2K0W2gbb gj/+BnwlMg9seEe06f7L6h3BY6+amhDVJNDE9LErEaFwSOtPRgjkfuFBvAW5xtUhVqs1VVjL5 CKKfz0e/w3QZfwjMcQU2OJi+QlAv5BrdU82LMlO1m5P36V4s4cru7qw+x8XDU1BV83oxsn1Tb 39ui3PyzVZ+tIkiqTOyCdyJHaeFFIMwdXVKY/Zbd0WIUll7ZSP9tvEdayBcpO8ELpBu4GpT3O 6GHlZJ4xoBEfwotL6kYL1pmWjXGV2Yi2ZR4ftDDY80UqRQ2whmqNyIYPkWLY0NI0Bydck9fP6 mRmivghQAY1F2d5kypsG42EJecnh4domLNRfbo3P3Vk/TUq35eT0xT1BbScf4MYBpE5M81ETz TdapqDjaEOY2+gKpEg8Sm67p8vRcKqOadCE1UnbidR64T2rJGsCr+0yVFoxHxxsJZQ6ld/U3e hsF1mYqGg6iYMvYvbJs1MOmlRvMcKCMeFmZw3rJDaRTO79F06++O/ypWX1KUodVuNyEtg3Dn+ 4wKfVyae4Fd06/MzRDYNGUeRbsPylSby3EEcntoKNvF6gbNwEQ4QCV/KJmm2ddgNFZiU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 { -- 2.1.4