From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Anthony Kim <ktyrun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
rydberg-FFUHeuDi6mxAfugRpC6u6w@public.gmane.org,
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:31:53 -0500 [thread overview]
Message-ID: <20170717173153.5el4yle7szlzvccx@rob-hp-laptop> (raw)
In-Reply-To: <1499837054-4659-1-git-send-email-anthony.kim-7TZDMcjUQMzQT0dZR+AlfA@public.gmane.org>
On Wed, Jul 12, 2017 at 02:24:14PM +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 | 37 +
> .../devicetree/bindings/vendor-prefixes.txt | 1 +
> drivers/input/touchscreen/Kconfig | 32 +
> drivers/input/touchscreen/Makefile | 2 +
> drivers/input/touchscreen/hideep.h | 329 ++++++++
> drivers/input/touchscreen/hideep_core.c | 924 +++++++++++++++++++++
> 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, 2683 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..5eb8c1d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/touchscreen/hideep.txt
> @@ -0,0 +1,37 @@
> +* HiDeep Finger and Stylus touchscreen controller
> +
> +Required properties:
> +- compatible : must be "hideep,hideep_ts".
See my reply on previous version.
> +- reg : I2C slave address, (e.g. 0x6C).
> +- interrupt-parent : Interrupt controller to which the chip is connected.
> +- interrupts : Interrupt to which the chip is connected.
> +
> +Optional properties:
> +- vdd-supply : It is the controller supply for controlling
> + main voltage(3.3V) through the regulator.
> +- vid-supply : It is the controller supply for controlling
> + IO voltage(1.8V) through the regulator.
> +- irq-gpios : Define for interrupt gpio pin.
> + It is to use for set interrupt type.
As mentioned in the last version, use "interrupts".
> +- reset-gpios : Define for reset gpio pin.
> + It is to use for reset IC.
> +- hideep,max_coords : Max value for axis X, Y, W, Z.
s/_/-/
> +
> +Example:
> +
> +i2c@00000000 {
> +
> + /* ... */
> +
> + touchscreen@6c {
> + compatible = "hideep,hideep_ts";
> + reg = <0x6c>;
> + interrupt-parent = <&gpx1>;
> + interrupts = <2>;
> + vdd-supply = <&ldo15_reg>";
> + vid-supply = <&ldo18_reg>;
> + irq-gpios = <&gpx1 2 0>;
> + reset-gpios = <&gpx1 5 0>;
> + hideep,max_coords = <1080 1920 65535 65535>;
> + };
> +};
--
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
next prev parent reply other threads:[~2017-07-17 17:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 6:19 [PATCH] Input: add support for HiDeep touchscreen 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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2017-07-11 8:01 김태영
[not found] ` <CA+d1ZXLAVrWHpgOzQMtWzPN9kz0=EdAxa7gKE=UxMbzVms3Npg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-17 17:27 ` 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=20170717173153.5el4yle7szlzvccx@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=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=ktyrun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=rydberg-FFUHeuDi6mxAfugRpC6u6w@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