From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Rob Herring <robh@kernel.org>,
"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
Lee Jones <lee.jones@linaro.org>,
Mark Rutland <mark.rutland@arm.com>,
Andrey Skvortsov <andrej.skvortzov@gmail.com>,
Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@baylibre.com>
Subject: Re: [PATCH v2 3/3] tps6507x-ts: add DT bindings description
Date: Thu, 9 Mar 2017 09:55:30 -0800 [thread overview]
Message-ID: <20170309175530.GC20077@dtor-ws> (raw)
In-Reply-To: <CAGm1_kvdVFK9F_A3PrD8PLtrnno9pikg2RxENLqkPUe3vE_zkA@mail.gmail.com>
On Thu, Mar 09, 2017 at 04:18:40PM +0100, Yegor Yefremov wrote:
> On Thu, Mar 9, 2017 at 3:49 PM, Rob Herring <robh@kernel.org> wrote:
> > On Thu, Mar 9, 2017 at 8:31 AM, <yegorslists@googlemail.com> wrote:
> >> From: Yegor Yefremov <yegorslists@googlemail.com>
> >
> > 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 <yegorslists@googlemail.com>
> >> ---
> >> 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
I think the bigger question (since we are adding this to DT I assume it
is not longer "toy" driver) can we convert it to a proper
interrupt-driven scheme? Polling for real shipping devices is not
efficient, I do not think we should even try to allow this mode in DTS
bindings (note that tsc2007 use is different: it allows to specify
sampling interval once touch is detected).
Thanks.
--
Dmitry
next prev parent reply other threads:[~2017-03-09 18:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 14:31 [PATCH v2 0/3] Add DT support for tps6507x touchscreen yegorslists
2017-03-09 14:31 ` [PATCH v2 1/3] tps6507x-ts: update to devm_* API yegorslists
2017-03-11 0:29 ` Dmitry Torokhov
2017-03-09 14:31 ` [PATCH v2 2/3] tps6507x-ts: add DT support yegorslists
2017-03-09 15:02 ` Yegor Yefremov
2017-03-09 14:31 ` [PATCH v2 3/3] tps6507x-ts: add DT bindings description yegorslists
2017-03-09 14:49 ` Rob Herring
2017-03-09 15:18 ` Yegor Yefremov
2017-03-09 17:55 ` Dmitry Torokhov [this message]
2017-03-10 6:41 ` Sekhar Nori
2017-03-10 18:00 ` Dmitry Torokhov
2017-03-10 19:54 ` Yegor Yefremov
2017-03-10 20:08 ` Dmitry Torokhov
2017-03-13 14:15 ` Sekhar Nori
2017-03-10 16:26 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170309175530.GC20077@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=andrej.skvortzov@gmail.com \
--cc=khilman@baylibre.com \
--cc=lee.jones@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=nsekhar@ti.com \
--cc=robh@kernel.org \
--cc=yegorslists@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.