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

From: Dmitry Torokhov
Date: Fri Nov 20 2015 - 14:16:08 EST


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.

Thanks.

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