Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-27 Thread Linus Walleij
On Wed, Oct 26, 2016 at 11:59 AM, Enric Balletbo Serra wrote: > 2016-10-24 8:13 GMT+02:00 Alexander Stein > : >> On Monday 24 October 2016 02:53:31, Linus Walleij wrote: >>> On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra >>> >>>

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-27 Thread Linus Walleij
On Wed, Oct 26, 2016 at 11:59 AM, Enric Balletbo Serra wrote: > 2016-10-24 8:13 GMT+02:00 Alexander Stein > : >> On Monday 24 October 2016 02:53:31, Linus Walleij wrote: >>> On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra >>> >>> wrote: >>> > Default is without pullups, but if property

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-26 Thread Enric Balletbo Serra
Hi Linus, 2016-10-24 8:13 GMT+02:00 Alexander Stein : > On Monday 24 October 2016 02:53:31, Linus Walleij wrote: >> On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra >> >> wrote: >> > Default is without pullups, but if

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-26 Thread Enric Balletbo Serra
Hi Linus, 2016-10-24 8:13 GMT+02:00 Alexander Stein : > On Monday 24 October 2016 02:53:31, Linus Walleij wrote: >> On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra >> >> wrote: >> > Default is without pullups, but if property is specified in DT and the bit >> > is set, set a pullup on

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-24 Thread Alexander Stein
On Monday 24 October 2016 02:53:31, Linus Walleij wrote: > On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra > > wrote: > > Default is without pullups, but if property is specified in DT and the bit > > is set, set a pullup on GPIO-n. > > > > Signed-off-by:

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-24 Thread Alexander Stein
On Monday 24 October 2016 02:53:31, Linus Walleij wrote: > On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra > > wrote: > > Default is without pullups, but if property is specified in DT and the bit > > is set, set a pullup on GPIO-n. > > > > Signed-off-by: Enric Balletbo i Serra > > I

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-23 Thread Linus Walleij
On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra wrote: > Default is without pullups, but if property is specified in DT and the bit > is set, set a pullup on GPIO-n. > > Signed-off-by: Enric Balletbo i Serra I don't generally

Re: [PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-23 Thread Linus Walleij
On Fri, Oct 21, 2016 at 5:00 PM, Enric Balletbo i Serra wrote: > Default is without pullups, but if property is specified in DT and the bit > is set, set a pullup on GPIO-n. > > Signed-off-by: Enric Balletbo i Serra I don't generally like this. In device tree it is the consumer that specifies

[PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-21 Thread Enric Balletbo i Serra
Default is without pullups, but if property is specified in DT and the bit is set, set a pullup on GPIO-n. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt | 1 + drivers/gpio/gpio-mcp23s08.c

[PATCH] gpio: mcp23s08: Add option to configure pullups.

2016-10-21 Thread Enric Balletbo i Serra
Default is without pullups, but if property is specified in DT and the bit is set, set a pullup on GPIO-n. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt | 1 + drivers/gpio/gpio-mcp23s08.c | 3 ++- 2 files changed,