[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 09 Sep 2014 13:36:27 +0100
From: Nick Dyer <nick.dyer@...ev.co.uk>
To: Sjoerd Simons <sjoerd.simons@...labora.co.uk>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
CC: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org,
Javier Martinez Canillas <javier.martinez@...labora.co.uk>
Subject: Re: [PATCH] Input: atmel_mxt_ts: Add of node type to the i2c table
On 09/09/14 08:52, Sjoerd Simons wrote:
> For i2c devices in OF the modalias exposed to userspace is i2c:<node
> type>, for the Maxtouch driver this is i2c:maxtouch.
>
> Add maxtouch to the i2c id table such that userspace can correctly
> load the module for the device and drop the OF table as it's not
> needed for i2c devices.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@...labora.co.uk>
I've tested this and it does work. In fact, it seems that you can use
compatible = "i2c:atmel,maxtouch";
because the "atmel," is ignored in the matching.
Before I could ack this patch, we will need to update this dts file:
arch/arm/boot/dts/s5pv210-goni.dts
and this documentation file:
Documentation/devicetree/bindings/input/atmel,maxtouch.txt
thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists