From patchwork Tue Sep 30 20:17:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 395107 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id C6DED14013A for ; Wed, 1 Oct 2014 06:18:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718AbaI3USP (ORCPT ); Tue, 30 Sep 2014 16:18:15 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:40582 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbaI3USM (ORCPT ); Tue, 30 Sep 2014 16:18:12 -0400 Received: by mail-la0-f46.google.com with SMTP id gi9so10606864lab.5 for ; Tue, 30 Sep 2014 13:18:09 -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=UKEDOg1Hwc27zzhcv1UGeJERnosIUZZc/xoHwaT0YRE=; b=qxOddo/k86Yh91TgaPyAVDG9WI1ZmYJ4ecAHvDuJGxm7epEZ45YjWcJqAz02SgNq8t rJuQf9ScwImHyGxERcuGw+GEgmt1AOTgkM1PxN7bDAQdTJN8Me9wF3epnDaRmc7cAvn3 5t56hv4V6tiTK1WRz0L28aEtxFAwsr7aBWPmGv4C/CMrc/0YzxrUzJVsrna1MzumfBj8 tX2DtfKfdWrn8E1iRqizPCpmm5dPuQ4dVYSYOC1HrwTdYIOcF/J4lvFXMeqIEW1Mb8QJ QPP3vRHJDG1YHF44dkA4Grl24iwfv3JAdi/gv8y+3S87UJnvXux0Ed19tYzJFBav7AB2 jV/g== X-Received: by 10.112.75.233 with SMTP id f9mr12726242lbw.102.1412108289668; Tue, 30 Sep 2014 13:18:09 -0700 (PDT) Received: from localhost.localdomain (ip-85.163.188.16.o2inet.sk. [85.163.188.16]) by mx.google.com with ESMTPSA id ug7sm6387867lac.48.2014.09.30.13.18.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Sep 2014 13:18:09 -0700 (PDT) From: Marek Belisko To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, bcousson@baylibre.com, tony@atomide.com, linux@arm.linux.org.uk, dmitry.torokhov@gmail.com Cc: hns@goldelico.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, Marek Belisko Subject: [PATCH 2/3] Documentation: dt: input: tsc2007: Document new parameters Date: Tue, 30 Sep 2014 22:17:33 +0200 Message-Id: <1412108254-19234-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1412108254-19234-1-git-send-email-marek@goldelico.com> References: <1412108254-19234-1-git-send-email-marek@goldelico.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Marek Belisko --- .../devicetree/bindings/input/touchscreen/tsc2007.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt b/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt index ec365e1..46b086c 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt @@ -13,14 +13,25 @@ Optional properties: (see interrupt binding[0]). - interrupts: (gpio) interrupt to which the chip is connected (see interrupt binding[0]). -- ti,max-rt: maximum pressure. +- ti,swap-xy: if present, swap x and y values. Rotation left/right is + achieved by combination with flipping of x or y. +- ti,min-x: minimum x (default 0). Use this for a coarse calibration of the + touch if there is no user space option (e.g. Android, X11). +- ti,max-x: maximum x (default 4095). If max-x is smaller than min-x the + axis is swapped. +- ti,min-y: minimum y (default 0). +- ti,max-y: maximum y (default 4095). +- ti,min-rt: minimum pressure (default 0). +- ti,max-rt: maximum pressure (default 4095). Depending on your needs, you + can also invert the pressure value since the raw rt value reports the + resistance and not the "pressure" (i.e. becomes lower for higher pressure). - ti,fuzzx: specifies the absolute input fuzz x value. If set, it will permit noise in the data up to +- the value given to the fuzz - parameter, that is used to filter noise from the event stream. + parameter, that is used to filter noise from the event stream (default 0). - ti,fuzzy: specifies the absolute input fuzz y value. - ti,fuzzz: specifies the absolute input fuzz z value. - ti,poll-period: how much time to wait (in milliseconds) before reading again the - values from the tsc2007. + values from the tsc2007 (default 1). [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt [1]: Documentation/devicetree/bindings/gpio/gpio.txt