Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
On Thursday 04 April 2013 15:44:08 Linus Walleij wrote: > On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel wrote: > > From: Lars Poeschel > > > > This converts the mcp23s08 driver to be able to be used with device > > tree. > > There is a "spi-present-mask

[PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There is a "spi-present-mask" device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel --- v4: - removed the ability to s

Re: [PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-27 Thread Lars Poeschel
On Friday 22 March 2013 at 09:33:10, Linus Walleij wrote: > > +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > > @@ -0,0 +1,43 @@ > > +Microchip MCP2308/MCP23S08/MCP23017/MCP23S17 driver for > > +8-/16-bit I/O expander with serial interface (I2C/SPI) > > + > > +Required properties:

[PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-04 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There is a "spi-present-mask" device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel --- v3: - removed mcp,chips device tre

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-14 Thread Lars Poeschel
On Wednesday 13 February 2013 at 13:51:12, Linus Walleij wrote: > On Wed, Feb 13, 2013 at 12:13 PM, Lars Poeschel wrote: > > On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: > >> However, is the pullup selection per-gpio line? If so, then why not > >> encode

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-13 Thread Lars Poeschel
On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: > On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel wrote: > > +Optional device specific properties: > > +- mcp,chips : This is a table with 2 columns and up to 8 entries. The > > first column + is a is_pre

[PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-11 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. Explicitly allow -1 as a legal value for the mcp23s08_platform_data->base. This is the special value lets the kernel choose a valid global gpio base number. There is a "mcp,chips" device

[PATCH 1/2] gpio: mcp23s08: Allow -1 as a legal value for global gpio base

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel Explicitly allow -1 as a legal value for the mcp23s08_platform_data->base. This is the special value lets the kernel choose a valid global gpio base number. Signed-off-by: Lars Poeschel --- drivers/gpio/gpio-mcp23s08.c |4 ++-- 1 file changed, 2 insertions(+)

[PATCH 2/2] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There is a special "mcp,chips" property, that correspond to the chips member of the struct mcp23s08_platform_data. It can be used for multiple mcp23s08/mc23s17 on the same spi chipselect. Sig

[PATCH 0/2] Convert mcp23s08 to DT usage

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel I wanted to use mcp23s08 driver with a device that boots using device tree. I modified the driver to allow the DT usage and tested with a mcp23017 which is a i2c device. I could not test the spi path, because I have no such device. Regards, Lars Lars Poeschel (2): gpio

Re: [PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
On Tuesday 05 February 2013 at 15:29:09, Grant Likely wrote: > On Thu, 31 Jan 2013 21:51:36 +0100, Linus Walleij wrote: > > On Thu, Jan 31, 2013 at 4:58 PM, Lars Poeschel wrote: > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23

[PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-01-31 Thread Lars Poeschel
From: Lars Poeschel This converts the mcp23s08 driver to be able to be used with device tree. There are two properties taken, that correspond to the members of the struct mcp23s08_platform_data, that is the base member and the chip array member. Signed-off-by: Lars Poeschel --- .../devicetree

[PATCH RFC 0/1] Convert mcp23s08 to DT usage

2013-01-31 Thread Lars Poeschel
From: Lars Poeschel I wanted to use mcp23s08 driver with a device that boots using device tree. Therefore I had to modify the driver to be able to take it's platform_data from the device tree. I am using a mcp23017 (I2C) device successfully with the patch booted over device tree. I am not

Re: [PATCH v4, 03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-11 Thread Lars Poeschel
Hi Matt, On Friday 11 January 2013 at 06:48:39, Matt Porter wrote: > diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c > index a3d189d..1951d63 100644 > --- a/arch/arm/common/edma.c > +++ b/arch/arm/common/edma.c > @@ -24,6 +24,13 @@ > #include > #include > #include > +#include