i2c-tools: add Android.mk

2015-02-27 Thread Angelo Compagnucci
Hi Jean, This patch adds an Android.mk to compile i2c-tools under Android. Hope this helps! -- Profile: http://it.linkedin.com/in/compagnucciangelo Index: Android.mk === --- Android.mk (revision 0) +++ Android.mk (working copy) @@

Re: Bug in i2c-core?

2015-02-27 Thread Uwe Kleine-König
Hello, On Fri, Feb 27, 2015 at 09:46:11AM -0800, Dmitry Torokhov wrote: > On Fri, Feb 27, 2015 at 06:05:45PM +0100, Uwe Kleine-König wrote: > > On Fri, Feb 27, 2015 at 07:29:30AM -0800, Dmitry Torokhov wrote: > > > On February 27, 2015 6:37:25 AM PST, Thomas Petazzoni > > > wrote: > > > >Dear Sé

Re: Bug in i2c-core?

2015-02-27 Thread Dmitry Torokhov
On Fri, Feb 27, 2015 at 06:05:45PM +0100, Uwe Kleine-König wrote: > On Fri, Feb 27, 2015 at 07:29:30AM -0800, Dmitry Torokhov wrote: > > On February 27, 2015 6:37:25 AM PST, Thomas Petazzoni > > wrote: > > >Dear Sébastien SZYMANSKI, > > > > > >On Fri, 27 Feb 2015 12:09:51 +0100, Sébastien SZYMANS

Re: Bug in i2c-core?

2015-02-27 Thread Uwe Kleine-König
On Fri, Feb 27, 2015 at 07:29:30AM -0800, Dmitry Torokhov wrote: > On February 27, 2015 6:37:25 AM PST, Thomas Petazzoni > wrote: > >Dear Sébastien SZYMANSKI, > > > >On Fri, 27 Feb 2015 12:09:51 +0100, Sébastien SZYMANSKI wrote: > > > >> error = input_register_device(sx8654->input); > >>

Re: Bug in i2c-core?

2015-02-27 Thread Dmitry Torokhov
On Fri, Feb 27, 2015 at 08:59:44AM -0800, Dmitry Torokhov wrote: > On Fri, Feb 27, 2015 at 12:09:51PM +0100, Sébastien SZYMANSKI wrote: > > Hi, > > > > I am writing an I2C touchscreen driver for an i.MX6 based board. I > > compiled it as a module and when I unload it, I get the following warning:

Re: Bug in i2c-core?

2015-02-27 Thread Dmitry Torokhov
On Fri, Feb 27, 2015 at 12:09:51PM +0100, Sébastien SZYMANSKI wrote: > Hi, > > I am writing an I2C touchscreen driver for an i.MX6 based board. I > compiled it as a module and when I unload it, I get the following warning: > > # modprobe sx8654 > [ 46.261494] input: SX8654 I2C Touchscreen as >

[RFC] i2c-tools: i2ctransfer: add new tool

2015-02-27 Thread Wolfram Sang
This tool allows to construct and concat multiple I2C messages into one single transfer. Its aim is to test I2C master controllers, and so there is no SMBus fallback. Signed-off-by: Wolfram Sang --- I've been missing such a tool a number of times now, so I finally got around to writing it myself

Re: Bug in i2c-core?

2015-02-27 Thread Dmitry Torokhov
On February 27, 2015 6:37:25 AM PST, Thomas Petazzoni wrote: >Dear Sébastien SZYMANSKI, > >On Fri, 27 Feb 2015 12:09:51 +0100, Sébastien SZYMANSKI wrote: > >> error = input_register_device(sx8654->input); >> if (error) >> return error; > >Where is your ->remove() f

Re: Bug in i2c-core?

2015-02-27 Thread Thomas Petazzoni
Dear Sébastien SZYMANSKI, On Fri, 27 Feb 2015 12:09:51 +0100, Sébastien SZYMANSKI wrote: > error = input_register_device(sx8654->input); > if (error) > return error; Where is your ->remove() function that unregisters the input device? Best regards, Thomas -- Th

Bug in i2c-core?

2015-02-27 Thread Sébastien SZYMANSKI
Hi, I am writing an I2C touchscreen driver for an i.MX6 based board. I compiled it as a module and when I unload it, I get the following warning: # modprobe sx8654 [ 46.261494] input: SX8654 I2C Touchscreen as /devices/soc0/soc/210.aips-bus/21a.i2c/i2c-0/0-0048/input/input1 # rmmod sx86

[PATCH v2 3/4] ARM: dts: dove: Add internal i2c multiplexer node

2015-02-27 Thread Sebastian Hesselbarth
This adds a i2c-mux-pinctrl node to dove.dtsi for the internal i2c mux found on Dove SoCs. Up to now, we had no board using any of the two additional i2c busses, so make sure the change does not break any existing boards. Therefore, we rename the i2c-controller node label to "i2c" and enable it by

[PATCH v2 0/4] Add proper support for Compulab CM-A510/SBC-A510

2015-02-27 Thread Sebastian Hesselbarth
This is v2 of the patch set to improve current mainline support for the Compulab CM-A510 System-on-Module (SoM) and its default Compulab SBC-A510 base board. Compared to v1 there have been the following changes: - removed preparing Dove patches that already have been taken by MVEBU maintainers.

[PATCH v2 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-27 Thread Sebastian Hesselbarth
I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. This patch reworks i2c-mux-pinctrl driver to count the number of avail