From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yegor Yefremov Subject: Re: [PATCH v2 3/3] tps6507x-ts: add DT bindings description Date: Thu, 9 Mar 2017 16:18:40 +0100 Message-ID: References: <1489069869-3849-1-git-send-email-yegorslists@googlemail.com> <1489069869-3849-4-git-send-email-yegorslists@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:33682 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932741AbdCIPTC (ORCPT ); Thu, 9 Mar 2017 10:19:02 -0500 Received: by mail-wr0-f194.google.com with SMTP id g10so8308655wrg.0 for ; Thu, 09 Mar 2017 07:19:01 -0800 (PST) In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Rob Herring Cc: "linux-input@vger.kernel.org" , Dmitry Torokhov , Lee Jones , Mark Rutland , Andrey Skvortsov , Sekhar Nori , Kevin Hilman On Thu, Mar 9, 2017 at 3:49 PM, Rob Herring wrote: > On Thu, Mar 9, 2017 at 8:31 AM, wrote: >> From: Yegor Yefremov > > This needs to go to DT list. Will do. >> >> 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. > > Isn't there a standard property for this? Such a value will be already used in [1]. I've looked at [2], but it doesn't have such a field. [1] Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt [2] Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt >> +- 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; >> }; >> }; >> - >> }; >> -- >> 2.1.4 >>