From patchwork Thu Mar 9 14:31:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 9613455 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 568D6602B4 for ; Thu, 9 Mar 2017 14:33:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A1982863D for ; Thu, 9 Mar 2017 14:33:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EC6D2863F; Thu, 9 Mar 2017 14:33:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B55E2863D for ; Thu, 9 Mar 2017 14:33:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932450AbdCIOc3 (ORCPT ); Thu, 9 Mar 2017 09:32:29 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:33601 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754648AbdCIOcH (ORCPT ); Thu, 9 Mar 2017 09:32:07 -0500 Received: by mail-wr0-f196.google.com with SMTP id g10so8137791wrg.0 for ; Thu, 09 Mar 2017 06:31:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=U/jVTiiwdqVxNcA7rVP7BVWxgTRFvRRIoE2jildF8bs=; b=Vm6/xwMJq06vuKH5ngULW2ed+mrjm4JQ8tryrTHwPtsoCjhb+h6i9nEdlKV1A7kfOF NgObm3Uj1zKIl6LRZNRTgwhfwOATlzQ5475MlgOW4XPsGFZena+WjY9njdAXVP8Heje/ /q7pmtRqBc1z9pH+nvBAJLA4n5JysQ+S1EQ8skha+fb1MJm1fEuXtq9UJvfGawFIqLBH g0DjieknOh7Vk8mbb4jWhnWttK5luuOnzoEq5IIrzcZFep6PPzGciomXcfM+9w3xltBp h+lE4deh8THI9ekEmi3trmJUUZJYpnMCd7ox+XSEYcqvXu6xkAGDUsoj8JPuxXFTDs0p haDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=U/jVTiiwdqVxNcA7rVP7BVWxgTRFvRRIoE2jildF8bs=; b=eiFaI5DCBwan92KIRjx4dLiO/8NVTirnZVxpY+IrhIYQ2t8i19Sh37nVRRT+7eLRK3 BI2KU1SMY1pID/f8Oeg6QZSKIN6bgvrqzM2Y4XcnGmknE+pd9DxTEC7LFgRtu4EFaUQq YhcMGvFbVHDYfj/rRH0NeL2Y1pTnmAezgBFf+W5w5qVzHJJfi15AmYQDrTB6U6/mUwNT AYztX4lmeHKeS67BrMf9FYC8LXedAzQXT53n4lmisPC96sbF00CN0C3PZ81a7zre290x FcGTgFzvxeAUE1lc2aFGxARuXSmeQBbh2W2ZmgWZGl6cMdR8cJJJeNQNx2uPSWI6S7ZL D+Yg== X-Gm-Message-State: AMke39kxUtfGmfRqMGLPtsJDN7VDxjfcAKCa8eN9/NfM4q5nMWkPvdbBZf6ACFeXjZGwxQ== X-Received: by 10.223.137.2 with SMTP id s2mr12004947wrs.20.1489069903426; Thu, 09 Mar 2017 06:31:43 -0800 (PST) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id 94sm8427744wrl.50.2017.03.09.06.31.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Mar 2017 06:31:42 -0800 (PST) From: yegorslists@googlemail.com To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, lee.jones@linaro.org, robh@kernel.org, mark.rutland@arm.com, andrej.skvortzov@gmail.com, nsekhar@ti.com, khilman@baylibre.com, Yegor Yefremov Subject: [PATCH v2 3/3] tps6507x-ts: add DT bindings description Date: Thu, 9 Mar 2017 15:31:09 +0100 Message-Id: <1489069869-3849-4-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1489069869-3849-1-git-send-email-yegorslists@googlemail.com> References: <1489069869-3849-1-git-send-email-yegorslists@googlemail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yegor Yefremov Provide description for following properties: - ti,poll-period - ti,min-pressure Signed-off-by: Yegor Yefremov --- Documentation/devicetree/bindings/mfd/tps6507x.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt b/Documentation/devicetree/bindings/mfd/tps6507x.txt index 8fffa3c..8875662 100644 --- a/Documentation/devicetree/bindings/mfd/tps6507x.txt +++ b/Documentation/devicetree/bindings/mfd/tps6507x.txt @@ -1,4 +1,8 @@ -TPS6507x Power Management Integrated Circuit +TPS6507x Multifunctional Device. + +Features provided by TPS6507x: + 1. Power Management Integrated Circuit. + 2. Touch-Screen. Required properties: - compatible: "ti,tps6507x" @@ -30,6 +34,12 @@ Regulator Optional properties: 1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH. If this property is not defined, it defaults to 0 (not enabled). +Touchscreen Optional properties: +- ti,poll-period: Time at which touch input is getting sampled in ms. + Default value: 30 ms. +- ti,min-pressure: Minimum pressure value to trigger touch. + Default value: 0x30. + Example: pmu: tps6507x@48 { @@ -40,6 +50,9 @@ Example: vindcdc3-supply = <...>; vinldo1_2-supply = <...>; + ti,poll-period = <30>; + ti,min-pressure = <0x30>; + regulators { #address-cells = <1>; #size-cells = <0>; @@ -87,5 +100,4 @@ Example: regulator-boot-on; }; }; - };