Linux Input/HID development
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: 김태영 <ktyrun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Anthony Kim <anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] Input: add support for HiDeep touchscreen
Date: Mon, 17 Jul 2017 12:27:18 -0500	[thread overview]
Message-ID: <20170717172718.wasyvfdk7jb6i26c@rob-hp-laptop> (raw)
In-Reply-To: <CA+d1ZXLAVrWHpgOzQMtWzPN9kz0=EdAxa7gKE=UxMbzVms3Npg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Tue, Jul 11, 2017 at 05:01:47PM +0900, 김태영 wrote:
> 2017-07-10 10:17 GMT+09:00 Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> >
> > On Wed, Jul 05, 2017 at 03:19:48PM +0900, Anthony Kim wrote:
> > > The HiDeep touchscreen device is a capacitive multi-touch controller
> > > mainly for multi-touch supported devices use. It use I2C interface for
> > > communication to IC and provide axis X, Y, Z locations for ten finger
> > > touch through input event interface to userspace.
> > >
> > > It support the Crimson and the Lime two type IC. They are different
> > > the number of channel supported and FW size. But the working protocol
> > > is same.
> > >
> > > Signed-off-by: Anthony Kim <anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
> > > ---
> > >  .../bindings/input/touchscreen/hideep.txt          |   40 +
> > >  .../devicetree/bindings/vendor-prefixes.txt        |    1 +
> > >  drivers/input/touchscreen/Kconfig                  |   32 +
> > >  drivers/input/touchscreen/Makefile                 |    2 +
> > >  drivers/input/touchscreen/hideep.h                 |  338 +++++++
> > >  drivers/input/touchscreen/hideep_core.c            | 1029 ++++++++++++++++++++
> > >  drivers/input/touchscreen/hideep_dbg.c             |  405 ++++++++
> > >  drivers/input/touchscreen/hideep_dbg.h             |   24 +
> > >  drivers/input/touchscreen/hideep_isp.c             |  584 +++++++++++
> > >  drivers/input/touchscreen/hideep_isp.h             |   96 ++
> > >  drivers/input/touchscreen/hideep_sysfs.c           |  249 +++++
> > >  11 files changed, 2800 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/input/touchscreen/hideep.txt
> > >  create mode 100644 drivers/input/touchscreen/hideep.h
> > >  create mode 100644 drivers/input/touchscreen/hideep_core.c
> > >  create mode 100644 drivers/input/touchscreen/hideep_dbg.c
> > >  create mode 100644 drivers/input/touchscreen/hideep_dbg.h
> > >  create mode 100644 drivers/input/touchscreen/hideep_isp.c
> > >  create mode 100644 drivers/input/touchscreen/hideep_isp.h
> > >  create mode 100644 drivers/input/touchscreen/hideep_sysfs.c
> > >
> > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/hideep.txt b/Documentation/devicetree/bindings/input/touchscreen/hideep.txt
> > > new file mode 100644
> > > index 0000000..f5ab5e6
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/input/touchscreen/hideep.txt
> > > @@ -0,0 +1,40 @@
> > > +* HiDeep Finger and Stylus touchscreen controller
> > > +
> > > +Required properties:
> > > +- compatible         : must be "hideep,hideep_ts".
> >
> > s/_/-/
> >
> > Is there only 1 version or another way to determine the exact chip and
> > firmware? If not, then you need a more specific compatible.
> 
> Yes, we have to determine the chip and firmware through the firmware file name
>  and reading I2C about info.

How do you determine the firmware filename then?

> Also the chip can select by kernel config.

If the kernel knows the specific chip, then the DT certainly should have 
that.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-07-17 17:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11  8:01 [PATCH] Input: add support for HiDeep touchscreen 김태영
     [not found] ` <CA+d1ZXLAVrWHpgOzQMtWzPN9kz0=EdAxa7gKE=UxMbzVms3Npg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-17 17:27   ` Rob Herring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-05  6:19 Anthony Kim
     [not found] ` <1499235588-32219-1-git-send-email-anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
2017-07-10  1:17   ` Rob Herring
2017-07-12  5:24 ` Anthony Kim
     [not found]   ` <1499837054-4659-1-git-send-email-anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
2017-07-17 17:31     ` Rob Herring
2017-07-20  0:22     ` Anthony Kim
     [not found]       ` <1500510154-6661-1-git-send-email-anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
2017-07-24 19:52         ` Rob Herring
2017-07-25  6:53       ` Anthony Kim
     [not found]         ` <1500965607-2446-1-git-send-email-anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
2017-08-03 17:50           ` Rob Herring
2017-08-09  7:54             ` Anthony Kim
2017-08-09 23:49           ` Dmitry Torokhov
2017-08-10  8:01             ` Anthony Kim
2017-08-22  9:03           ` Anthony Kim
2017-08-23  0:07             ` Rob Herring
2017-08-31  6:51             ` Dmitry Torokhov
2017-09-11  7:27             ` Anthony Kim
2017-09-12 14:17               ` Rob Herring
2017-09-13  7:50               ` kbuild test robot
2017-09-13  8:51               ` kbuild test robot
2017-09-14  4:36               ` Anthony Kim
2017-09-14 18:51                 ` Dmitry Torokhov
2017-09-18 19:03                 ` Rob Herring
2017-09-26  1:42                 ` Anthony Kim
2017-09-26  3:28                 ` Anthony Kim
2017-09-26  3:30                   ` Anthony Kim

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=20170717172718.wasyvfdk7jb6i26c@rob-hp-laptop \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ktyrun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox