Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-12-11 Thread Dmitry Torokhov
Hi Javier, On Thu, Dec 10, 2015 at 08:07:47PM -0300, Javier Martinez Canillas wrote: > Hello Dmitry, > > On 11/20/2015 04:15 PM, Dmitry Torokhov wrote: > > On Fri, Nov 20, 2015 at 04:09:42PM -0300, Javier Martinez Canillas wrote: > >> The Atmel maxtouch DT binding documents that the compatible st

Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-12-10 Thread Javier Martinez Canillas
Hello Dmitry, On 11/20/2015 04:15 PM, Dmitry Torokhov wrote: > On Fri, Nov 20, 2015 at 04:09:42PM -0300, Javier Martinez Canillas wrote: >> The Atmel maxtouch DT binding documents that the compatible string for >> the device is "atmel,maxtouch" and the I2C core always reports a module >> alias of

Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-12-02 Thread Javier Martinez Canillas
Hello Dmitry, On 11/20/2015 04:46 PM, Javier Martinez Canillas wrote: > On 11/20/2015 04:32 PM, Javier Martinez Canillas wrote: > > [snip] > >> >> But is not complete because the .driver_data in i2c_device_id is an >> kernel_ulong_t while the .data in of_device_id is a const void * so >> some ca

Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-11-20 Thread Javier Martinez Canillas
On 11/20/2015 04:32 PM, Javier Martinez Canillas wrote: [snip] > > But is not complete because the .driver_data in i2c_device_id is an > kernel_ulong_t while the .data in of_device_id is a const void * so > some casting will be needed to add an OF table in some drivers that Some casting in the

Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-11-20 Thread Javier Martinez Canillas
Hello Dmitry, On 11/20/2015 04:15 PM, Dmitry Torokhov wrote: > On Fri, Nov 20, 2015 at 04:09:42PM -0300, Javier Martinez Canillas wrote: >> The Atmel maxtouch DT binding documents that the compatible string for >> the device is "atmel,maxtouch" and the I2C core always reports a module >> alias of

Re: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-11-20 Thread Dmitry Torokhov
On Fri, Nov 20, 2015 at 04:09:42PM -0300, Javier Martinez Canillas wrote: > The Atmel maxtouch DT binding documents that the compatible string for > the device is "atmel,maxtouch" and the I2C core always reports a module > alias of the form i2c:alias where alias is the compatible string model: > >

[PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload

2015-11-20 Thread Javier Martinez Canillas
The Atmel maxtouch DT binding documents that the compatible string for the device is "atmel,maxtouch" and the I2C core always reports a module alias of the form i2c:alias where alias is the compatible string model: $ grep MODALIAS /sys/devices/platform/12e0.i2c/i2c-8/8-004b/uevent MODALIAS=i2c