Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1290566 > unrolled thread

Re: [PATCH 2/2] Input: add touchscreen support for TS-4800

Started byDmitry Torokhov <dmitry.torokhov@gmail.com>
First post2015-12-13 06:00 +0100
Last post2015-12-13 22:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] Input: add touchscreen support for TS-4800 Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-12-13 06:00 +0100
    Re: [PATCH 2/2] Input: add touchscreen support for TS-4800 Damien Riegel <damien.riegel@savoirfairelinux.com> - 2015-12-13 22:00 +0100

#1290566 — Re: [PATCH 2/2] Input: add touchscreen support for TS-4800

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-12-13 06:00 +0100
SubjectRe: [PATCH 2/2] Input: add touchscreen support for TS-4800
Message-ID<qF6Vj-3FP-1@gated-at.bofh.it>
Hi Damien,

On Thu, Dec 10, 2015 at 11:11:12AM -0500, Damien Riegel wrote:
> On this board, the touchscreen, an ads7843, is not handled directly by
> Linux but by a companion FPGA. This FPGA is memory-mapped and the IP
> design is very similar to the mk712.

...

> +
> +	poll_dev = devm_input_allocate_polled_device(&pdev->dev);
> +	if (!poll_dev)
> +		return -ENOMEM;

I wonder how useful touchscreen implemented as polling device is. Isn't
there an interrupt line for it?

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1290699

FromDamien Riegel <damien.riegel@savoirfairelinux.com>
Date2015-12-13 22:00 +0100
Message-ID<qFlUm-4PZ-13@gated-at.bofh.it>
In reply to#1290566
Hi Dmitry

On Sat, Dec 12, 2015 at 08:58:58PM -0800, Dmitry Torokhov wrote:
> Hi Damien,
> 
> On Thu, Dec 10, 2015 at 11:11:12AM -0500, Damien Riegel wrote:
> > On this board, the touchscreen, an ads7843, is not handled directly by
> > Linux but by a companion FPGA. This FPGA is memory-mapped and the IP
> > design is very similar to the mk712.
> 
> ...
> 
> > +
> > +	poll_dev = devm_input_allocate_polled_device(&pdev->dev);
> > +	if (!poll_dev)
> > +		return -ENOMEM;
> 
> I wonder how useful touchscreen implemented as polling device is. Isn't
> there an interrupt line for it?
 
There is an interrupt line between the touchscreen and the FGPA, but not
between the FPGA and the SoC. I agree it is a bit peculiar. Hopefully on
more recent boards, they changed their design to handle the touchscreen
directly with Linux.

Thanks,
Damien

> Thanks.
> 
> -- 
> Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web