[PATCH V2 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-02-13 Thread Girish K S
Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the "gpios" property in the spi node. Signed-off-by: Girish

[PATCH V2 2/5] spi: s3c64xx: added support for polling mode

2013-02-13 Thread Girish K S
The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling mode and gives flexibity for the user to s

[PATCH V2 1/5] spi: s3c64xx: modified error interrupt handling and init

2013-02-13 Thread Girish K S
The status of the interrupt is available in the status register, so reading the clear pending register and writing back the same value will not actually clear the pending interrupts. This patch modifies the interrupt handler to read the status register and clear the corresponding pending bit in the

[PATCH V2 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-02-13 Thread Girish K S
This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S --- changes in v2: the fifo mask modified to 0x1f

[PATCH V2 0/5] Add polling support for 64xx spi controller

2013-02-13 Thread Girish K S
[PATCH 1/5]: fixes the error handling in the interrupt handler [PATCH 2/5]: The existing driver support partial polling mode. This patch modifies the current driver to support only polling mode. [PATCH 3/5]: provision to support SoC's with dedicated i/o pins [PATCH 4/5]: p

[PATCH V2 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-02-13 Thread Girish K S
The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted/deasserted using gpio pin. This patch adds suppor

[PATCH V2 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-02-13 Thread Girish K S
This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S --- changes in v2: the fifo mask modified to 0x1f

[PATCH V2 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-02-13 Thread Girish K S
The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted/deasserted using gpio pin. This patch adds suppor

[PATCH V2 1/5] spi: s3c64xx: modified error interrupt handling and init

2013-02-13 Thread Girish K S
The status of the interrupt is available in the status register, so reading the clear pending register and writing back the same value will not actually clear the pending interrupts. This patch modifies the interrupt handler to read the status register and clear the corresponding pending bit in the

[PATCH V2 2/5] spi: s3c64xx: added support for polling mode

2013-02-13 Thread Girish K S
The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling mode and gives flexibity for the user to s

[PATCH V2 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-02-13 Thread Girish K S
Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the "gpios" property in the spi node. Signed-off-by: Girish

Dernière minute : Offrez-lui un moment en amoureux ?

2013-02-13 Thread Smartbox par Galerie des Marques
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT04JmI9MzE5NTgmYz0xOTYxNjQxJmQ9MjAxMy0wMi0xMyAxNjowMDowMSZlPTEmaD0zMTk1NiZmPTMxOTU4Jmc9MzE5NTg= Lien de desinscription : http://m10-fr.com/mc10_unsub/YT04JmI9MzE5NTgmYz0xOTYxNjQxJm

[PATCH] of: spi: Return error from of_spi_register_master on bad "cs-gpios" property

2013-02-13 Thread Andreas Larsson
This makes sure that an error is returned on an incorrectly formed "cs-gpios" property, but reports success when the "cs-gpios" property is well formed or missing. When holes in the cs-gpios property phandle list is used to indicate that some other form of chipselect is to be used it is important

[PATCH] spi: Initialize cs_gpio and cs_gpios with -ENOENT

2013-02-13 Thread Andreas Larsson
The return value from of_get_named_gpio is -ENOENT when the given index matches a hole in the "cs-gpios" property phandle list. However, the default value of cs_gpio in struct spi_device and entries of cs_gpios in struct spi_master is -EINVAL, which is documented to indicate that a GPIO line should

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

2013-02-13 Thread Linus Walleij
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 it into the flags field of the gpio specifier? > > Yes, the pullup is per-gpio line. I am working

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_present flag, that makes onl

Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP

2013-02-13 Thread Ezequiel Garcia
Hi Jason, On Wed, Feb 6, 2013 at 10:28 AM, Jason Cooper wrote: > On Wed, Feb 06, 2013 at 02:16:54PM +0100, Gregory CLEMENT wrote: >> On 02/06/2013 02:06 PM, Ezequiel Garcia wrote: >> > This is second version of the SPI patchset for Armada 370/XP. >> > >> > This series first adds support for the S