Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Alexandre Courbot
On Tue, Oct 20, 2015 at 3:39 AM, Russell King - ARM Linux wrote: > On Mon, Oct 19, 2015 at 08:27:44PM +0200, Uwe Kleine-König wrote: >> Hello, >> >> On Mon, Oct 19, 2015 at 04:43:24PM +0100, Russell King - ARM Linux wrote: >> > It's a bit ironic that you've chosen GPIO as an example there. The >>

Re: [PATCH] i2c: tegra: match return type of wait_for_completion_timeout

2015-03-02 Thread Alexandre Courbot
; Signed-off-by: Nicholas Mc Guire Looks good! Reviewed-by: Alexandre Courbot -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] i2c: tegra: Maintain CPU endianness

2015-01-23 Thread Alexandre Courbot
32_to_cpu() this makes sense now. memcpying part of an int will keep the lowest byte at the lowest address, so this should work for little-endian. Acked-by: Alexandre Courbot -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] i2c: tegra: Maintain CPU endianness

2015-01-21 Thread Alexandre Courbot
On Thu, Jan 22, 2015 at 4:40 PM, Thierry Reding wrote: > On Tue, Jan 20, 2015 at 03:22:25PM +0300, Dmitry Osipenko wrote: >> Support CPU BE mode by adding endianness conversion for memcpy interactions. >> >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/i2c/busses/i2c-tegra.c | 3 +++ >> 1 fi

Re: [PATCH v8 3/4] gpiolib: add irq_not_threaded flag to gpio_chip

2014-10-22 Thread Alexandre Courbot
On Mon, Oct 20, 2014 at 7:19 PM, Octavian Purdila wrote: > On Mon, Oct 20, 2014 at 8:08 AM, Alexandre Courbot wrote: >> >> On Wed, Oct 15, 2014 at 11:48 PM, Octavian Purdila >> wrote: >> > Some GPIO chips (e.g. the DLN2 USB adapter) have blocking get/set &g

Re: [PATCH v8 3/4] gpiolib: add irq_not_threaded flag to gpio_chip

2014-10-19 Thread Alexandre Courbot
On Wed, Oct 15, 2014 at 11:48 PM, Octavian Purdila wrote: > Some GPIO chips (e.g. the DLN2 USB adapter) have blocking get/set > operation but do not need a threaded irq handler. Sorry if you already explained this (I have been a little bit late with the GPIO reviews recently), but does this optim

Re: [PATCH v3 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-10-09 Thread Alexandre Courbot
On Thu, Oct 9, 2014 at 8:46 AM, RR wrote: > On Wed, Oct 8, 2014 at 12:18 AM, Alexandre Courbot wrote: >> On Wed, Oct 8, 2014 at 4:09 PM, Muthu Mani wrote: >>>> -Original Message- >>>> From: Alexandre Courbot [mailto:gnu...@gmail.com] >>>> Se

Re: [PATCH v3 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-10-08 Thread Alexandre Courbot
On Wed, Oct 8, 2014 at 4:09 PM, Muthu Mani wrote: >> -Original Message- >> From: Alexandre Courbot [mailto:gnu...@gmail.com] >> Sent: Tuesday, October 07, 2014 3:34 PM >> To: Muthu Mani >> Cc: Samuel Ortiz; Lee Jones; Wolfram Sang; Linus Walleij; Gre

Re: [PATCH v3 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-10-07 Thread Alexandre Courbot
On Mon, Oct 6, 2014 at 11:47 PM, Muthu Mani wrote: > + > +static int cy_gpio_direction_input(struct gpio_chip *chip, > + unsigned offset) > +{ > + return 0; > +} > + > +static int cy_gpio_direction_output(struct gpio_chip *chip, > +

Re: [PATCH v2] i2c: pca954x: Use the descriptor-based GPIO API

2014-06-03 Thread Alexandre Courbot
the driver that requests a "reset-gpio" property. Signed-off-by: Laurent Pinchart Reviewed-by: Alexandre Courbot --- This email message is for the sole use of the intended recipient(s) and may

Re: [PATCH] i2c: pca954x: Fix reset GPIO property name

2014-06-02 Thread Alexandre Courbot
On 06/03/2014 09:22 AM, Laurent Pinchart wrote: The DT bindings for the pca954x document that the reset GPIO is specified through the "reset-gpios" property. However, the driver erroneously uses a property name of "reset-gpio". The GPIO DT bindings documentation mentions that "GPIO properties s

Re: More GPIO madness on iMX6 - and the crappy ARM port of Linux

2014-01-20 Thread Alexandre Courbot
On Sat, Jan 18, 2014 at 7:43 AM, Linus Walleij wrote: > On Fri, Jan 17, 2014 at 9:53 PM, Russell King - ARM Linux > wrote: >> On Fri, Jan 17, 2014 at 01:42:44PM -0700, Stephen Warren wrote: > >>> I believe you want gpio_get_value() to return either the driven or >>> actual pin value where it can