lkml.org 
[lkml]   [2015]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] Input: atmel_mxt_ts - Add maxtouch to I2C table for module autoload
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 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/12e00000.i2c/i2c-8/8-004b/uevent
> >> MODALIAS=i2c:maxtouch
> >
> > Do we know why we are not reporting modalias as "of:..." so that
> > autoloading using the of table works properly?
> >
> > It sounds like the of matching and modalias is quite a mess at the
> > moment.
> >
>
> I already explained the issues with OF modalias and why I believe
> $SUBJECT is the least bad solution for now until the I2C subsystem
> is changed to properly report OF modalias.
>
> Please let me know if you are considering applying this or if
> module autoloading will be broken for this driver in the meantime.

My bad, I was going to apply it several times but then my attention
would wander to some other patchset and I'd forget.

Applied now.

--
Dmitry


\
 
 \ /
  Last update: 2015-12-11 22:41    [W:0.113 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site