Re: Support for touch controller ILI2511: Integrate into ili210x or new driver ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stefan,

On Fri, Feb 02, 2018 at 05:03:10PM +0100, Stefan Roese wrote:
> Hi,
> 
> I'm currently working on supporting the Ilitek ILI2511 touch controller
> in mainline. The 2 choices I have are:
> 
> a) Try to integrate the ILI2511 support into the existing ili210x
>    driver
> 
> or
> 
> b) Create a new driver for ILI2511 which might be suitable for other /
>    future Ilitek controller
> 
> Looking at alternative a), ili210x seems to be pretty unused and in not
> real good shape (only supporting platform-data, not using devm_ calls,
> not using threaded interrupts etc...). I could enhance this driver but
> my main concern here is, that I have no chance to test this driver on
> the currently supported chips.
> 
> Alternative b) sounds more promising to me. Especially since ILI2511
> supports touch protocol v3.x (Ilitek naming), which is quite different
> from the currently supported protocol.
> 
> What's your recommendation here? Is it okay to go with adding a new
> driver, perhaps named something like ili2xxx?

It all depends on how much code can be shared. If protocol is
sufficiently different I do not see why it can't be a separate driver.

OTOH we do not have any users of ili210x in mainline, so I would not
worry too much if we break it - interested parties should have been
working on upstreaming the rest of their code if it is important to
them. I'll gladly take patches converting to devm, dropping platform
data support, using generic device properties, etc.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux