From patchwork Fri Feb 24 15:42:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 9590637 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 043DC6020A for ; Fri, 24 Feb 2017 15:49:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED70A286CC for ; Fri, 24 Feb 2017 15:49:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEA6128711; Fri, 24 Feb 2017 15:49:40 +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 CB30022BF1 for ; Fri, 24 Feb 2017 15:49:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbdBXPoH (ORCPT ); Fri, 24 Feb 2017 10:44:07 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:35361 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbdBXPmz (ORCPT ); Fri, 24 Feb 2017 10:42:55 -0500 Received: by mail-wr0-f194.google.com with SMTP id q39so2752663wrb.2 for ; Fri, 24 Feb 2017 07:42:54 -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=QVk/x3Cw6iNoGbWicinCHXK5g82ftwFiK7DVgawngHc=; b=SUtHV5Yn/i5Rbl1zRLJrF6lUx0FFMsOmL4iNJ2JQXcwo1BVSORggct116+5Ffs4+IM pQkk2UBzqYaxxsXrsivqKq9NI341U26eFOlXy1lnBjF+y6iEWsSUg9U1KkL3DUt8sT2O YUrF0KIObu4LRFFvAft5lBYMO7sIsgCbokUgfbIKgmq7VZARVuzF5CoPGmenLIIKFiLj 6N6j34iuC48U/RGfI3+Tl/hWgkFKSREHMve7K6Kh5GDi/PMbxxXtlxMVZeDH3SxhQNLl z+bjkX+xrAxNnqYzupdr1EMSb5/ZCTyqvGJhfPdYj9JW3uiUIbQFaRkgXeN90uAWkCgL GsDQ== 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=QVk/x3Cw6iNoGbWicinCHXK5g82ftwFiK7DVgawngHc=; b=VZmCTU1b7Hq0D5qQw0R2UYItkcV4gpJxsVll0k3LtY0ACv/2Q5zV6smfYjI1gbMkD4 x7eYvY6XcHrKk1WAv33jDCVbChxZjFkHDpQ61fGgYEwYqtC3mP//1JFZoksYQTSIZkDZ NM8hah3HJBeVnjGzBumfTamCyUOO+I2ozYkzBo9vn9fAbNCLb8NLILnvTW4HOy8dSCRH 5fMRzyL8nY1ZltSjdDHXEI7/JSRfPhUQQ6lkpnrhAskmQzeFn45pS328jAL0bwsFgl2R ElCnKSGOpv99o+NS8m2R0sf5KxeECvGL/4jPLpG7x4sS1u0aAFW6XScA3T5BxgUjssYS GRAQ== X-Gm-Message-State: AMke39m8zRNKvHO2tE/InkqrEidzmR05gPmTC6xcZgdF8QYHhrTzQn71ZcDGDsQMxzzV7w== X-Received: by 10.223.130.204 with SMTP id 70mr3059997wrc.128.1487950973815; Fri, 24 Feb 2017 07:42:53 -0800 (PST) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id w51sm10757350wrc.12.2017.02.24.07.42.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 07:42:53 -0800 (PST) From: yegorslists@googlemail.com To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, andrej.skvortzov@gmail.com, Yegor Yefremov Subject: [PATCH 3/3] tps6507x-ts: add DT bindings description Date: Fri, 24 Feb 2017 16:42:26 +0100 Message-Id: <1487950946-18590-4-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487950946-18590-1-git-send-email-yegorslists@googlemail.com> References: <1487950946-18590-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 - ti,vendor - ti,product - ti,version Signed-off-by: Yegor Yefremov --- Documentation/devicetree/bindings/mfd/tps6507x.txt | 30 ++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt b/Documentation/devicetree/bindings/mfd/tps6507x.txt index 8fffa3c..eb654ef 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,23 @@ 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. + This property has to be a '/bits/ 16' value + +Entries below describe the input_id structure [1] for the touch device: +- ti,vendor: Touchscreen vendor id. + This property has to be a '/bits/ 16' value +- ti,product: Touchscreen product id. + This property has to be a '/bits/ 16' value +- ti,version: Touchscreen version id. + This property has to be a '/bits/ 16' value + +[1] include/uapi/linux/input.h + Example: pmu: tps6507x@48 { @@ -40,6 +61,12 @@ Example: vindcdc3-supply = <...>; vinldo1_2-supply = <...>; + ti,poll-period = <30>; + ti,min-pressure = /bits/ 16 <0x30>; + ti,vendor = /bits/ 16 <0>; + ti,product = /bits/ 16 <65070>; + ti,version = /bits/ 16 <0x100>; + regulators { #address-cells = <1>; #size-cells = <0>; @@ -87,5 +114,4 @@ Example: regulator-boot-on; }; }; - };