From patchwork Sat Oct 31 00:41:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Welling X-Patchwork-Id: 7530221 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 B0A969F399 for ; Sat, 31 Oct 2015 00:42:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D013A205DD for ; Sat, 31 Oct 2015 00:42:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EEB0D2073F for ; Sat, 31 Oct 2015 00:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754167AbbJaAmS (ORCPT ); Fri, 30 Oct 2015 20:42:18 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:37595 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932077AbbJaAl5 (ORCPT ); Fri, 30 Oct 2015 20:41:57 -0400 Received: by igbhv6 with SMTP id hv6so22184451igb.0; Fri, 30 Oct 2015 17:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=0RKuDzj0u51aFnzwfDnTgPkjPjV0F6FJwArKS51AvXA=; b=0tDATZ9Wj+mnCOgcmoXQ03FuoaMszp8D/C2i7vSReQiJg7u1PU4ZO9NhQj5TEte9y+ Hqulrah3sYxHzHM4LvLSA6GmdEq5Vmu45bS/J1ASZ9+b/UU136hihp3FnlXm+cUpV6Hj JUhs59Nct7qrgWB0qYJulnFi5hpA7x1zC8anGz5qw2LtWoKtza4KC9P0LrA4GdFpkPDx dTgroLfwQamAcl/DoZ9iuA8B8xEAGVEXmbgAHa169DaxO8Kvo1cbVMH4+f1C9xLftQKa 25uiQDxmMBt51zAilsp8Yt4J3lQqHxQ61Rb2dMjqLhyV7fz3yxfdP5p0BMiVoMgY6B07 W/IA== X-Received: by 10.50.225.102 with SMTP id rj6mr1061197igc.95.1446252115985; Fri, 30 Oct 2015 17:41:55 -0700 (PDT) Received: from deathstar.hitronhub.home (173-22-240-187.client.mchsi.com. [173.22.240.187]) by smtp.gmail.com with ESMTPSA id f128sm3656173ioe.13.2015.10.30.17.41.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Oct 2015 17:41:55 -0700 (PDT) From: Michael Welling To: Dmitry Torokhov , kbuild test robot , kbuild-all@01.org, Tony Lindgren , Pavel Machek , Felipe Balbi , Sebastian Reichel , Roger Quadros , Arnd Bergmann , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Cc: Michael Welling Subject: [PATCH 4/4] Input: tsc2004 - Document ts2004 dt bindings Date: Fri, 30 Oct 2015 19:41:26 -0500 Message-Id: <1446252086-24334-5-git-send-email-mwelling@ieee.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446252086-24334-1-git-send-email-mwelling@ieee.org> References: <1446252086-24334-1-git-send-email-mwelling@ieee.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Adds documentation for the devicetree bindings of the new tsc2004 driver. Signed-off-by: Michael Welling --- .../bindings/input/touchscreen/tsc2005.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt b/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt index 09089a6..27c6082 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt @@ -1,3 +1,42 @@ +* Texas Instruments tsc2004 touchscreen controller + +Required properties: + - compatible : "ti,tsc2004" + - interrupts : IRQ specifier + - vio-supply : Regulator specifier + +Optional properties: + - reset-gpios : GPIO specifier + - ti,x-plate-ohms : integer, resistance of the touchscreen's X plates + in ohm (defaults to 280) + - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after + the configured time (in milli seconds), the driver + will reset it. This is disabled by default. + - properties defined in touchscreen.txt + +Example: + +&i2c3 { + tsc2004@48 { + compatible = "ti,tsc2004"; + reg = <0x48>; + vio-supply = <&vio>; + + reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&gpio1 27 IRQ_TYPE_EDGE_RISING>; + + touchscreen-fuzz-x = <4>; + touchscreen-fuzz-y = <7>; + touchscreen-fuzz-pressure = <2>; + touchscreen-size-x = <4096>; + touchscreen-size-y = <4096>; + touchscreen-max-pressure = <2048>; + + ti,x-plate-ohms = <280>; + ti,esd-recovery-timeout-ms = <8000>; + }; +} + * Texas Instruments tsc2005 touchscreen controller Required properties: