RE: [PATCH v2 1/4] spi/davinci: add DT binding documentation

2013-03-11 Thread Manjunathappa, Prakash
On Wed, Mar 06, 2013 at 01:02:41, Arnd Bergmann wrote: On Tuesday 05 March 2013, Manjunathappa, Prakash wrote: On Mon, Mar 04, 2013 at 21:59:16, Arnd Bergmann wrote: On Monday 04 March 2013 18:29:12 Manjunathappa, Prakash wrote: +- reg: Offset and length of SPI controller register space

Un site web qui s adapte automatiquement aux smartphones et tablettes

2013-03-11 Thread laurent thenaud - altaéa
Un site web qui s adapte automatiquement aux smartphones et tablettes Le futur pour votre site web ! Un site web qui s'adapte automatiquement aux smartphones et tablettes Vous ne visualisez pas correctement ce mail? version web (

Re: [PATCH v6 12/16] spi/spi-atmel: add pinctrl support for atmel spi

2013-03-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:34 Thu 07 Mar , Wenyou Yang wrote: Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Cc: spi-devel-general@lists.sourceforge.net Cc: linux-ker...@vger.kernel.org --- drivers/spi/spi-atmel.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/spi/spi-atmel.c

Re: [PATCH] spi: s3c64xx: let device core setup the default pin configuration

2013-03-11 Thread Doug Anderson
Thomas, On Wed, Mar 6, 2013 at 3:42 AM, Thomas Abraham thomas.abra...@linaro.org wrote: With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed. Signed-off-by: Thomas Abraham

Re: [PATCH 2/2] spi: spi-mpc512x-psc: add support for gpio chip selects

2013-03-11 Thread Anatolij Gustschin
On Tue, 05 Feb 2013 14:18:46 + Grant Likely grant.lik...@secretlab.ca wrote: On Mon, 14 Jan 2013 21:27:01 +0100, Anatolij Gustschin ag...@denx.de wrote: Currently the driver only uses one internal chip select. Add support for gpio chip selects configured by gpio specifiers in the device

Re: [PATCH 00/12] spi/bcm63xx: various small cleanups and fixes

2013-03-11 Thread Florian Fainelli
On Tuesday 12 March 2013 00:13:35 Jonas Gorski wrote: This patch series cleans up spi-bcm63xx and removes mostly redundant checks that are already done by the spi core system itself, and also adds some clock handling improvements. All in all nothing serious, just some corner cases. The only

[PATCH v2] spi: spi-mpc512x-psc: add support for gpio chip selects

2013-03-11 Thread Anatolij Gustschin
Currently the driver only uses one internal chip select. Add support for gpio chip selects configured by cs-gpios DT binding. Signed-off-by: Anatolij Gustschin ag...@denx.de --- v2: - do not parse GPIO chip selects manually drivers/spi/spi-mpc512x-psc.c | 31 +--

[PATCH 07/12] spi/bcm63xx: check spi bits_per_word in spi_setup

2013-03-11 Thread Jonas Gorski
Instead of fixing up the bits_per_word (which the spi subsystem already does for us), check it for supported values. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c

[PATCH 06/12] spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup

2013-03-11 Thread Jonas Gorski
It is only written, but never read. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 13806e3..04c460e 100644 --- a/drivers/spi/spi-bcm63xx.c +++

[PATCH 10/12] spi/bcm63xx: inline bcm63xx_spi_check_transfer

2013-03-11 Thread Jonas Gorski
It only does one check, so just do the check directly in the caller. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index

[PATCH 00/12] spi/bcm63xx: various small cleanups and fixes

2013-03-11 Thread Jonas Gorski
This patch series cleans up spi-bcm63xx and removes mostly redundant checks that are already done by the spi core system itself, and also adds some clock handling improvements. All in all nothing serious, just some corner cases. The only Patch I'm not 100% sure about is patch 7/12 (check spi

[PATCH 11/12] spi/bcm63xx: inline hz usage in bcm63xx_spi_setup_transfer

2013-03-11 Thread Jonas Gorski
bcm63xx_spi_setup_transfer is called from only one place, and that has t always set, to hz will always be t-speed_hz - just use it directly in the two places instead of moving it in a local variable. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |7 ++- 1

[PATCH 02/12] spi/bcm63xx: don't disable non enabled clocks in probe error path

2013-03-11 Thread Jonas Gorski
When msg_ctl_width is set to an invalid value we try to disable the clock despite it never being enabled. Fix it by jumping to the correct label. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 08/12] spi/bcm63xx: simplify bcm63xx_spi_check_transfer

2013-03-11 Thread Jonas Gorski
bcm63xx_spi_check_transfer is only called from one place that has t always set, so directly check the transfer's bits_per_word. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 12/12] spi/bcm63xx: use devm_ioremap_resource()

2013-03-11 Thread Jonas Gorski
Use devm_ioremap_resource() which provides its own error messages. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index

[PATCH 09/12] spi/bcm63xx: remove spi chip select validity check

2013-03-11 Thread Jonas Gorski
The check would belong in bcm63xx_spi_setup if the spi subsystem weren't already doing the check for us, so just drop it. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c

[PATCH 05/12] spi/bcm63xx: remove unneeded debug message

2013-03-11 Thread Jonas Gorski
The spi subsystem already provides this info in a more extensive debug print except for the nsecs/bit - which wasn't calculated anyway and fixed to 0. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 04/12] spi/bcm63xx: remove duplicated mode bits check

2013-03-11 Thread Jonas Gorski
The spi subsystem already checks the mode bits before calling setup. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index ef9b89f..79ad8bc 100644 ---

[PATCH 03/12] spi/bcm63xx: properly prepare clocks before enabling them

2013-03-11 Thread Jonas Gorski
Use proper clk_prepare/unprepare calls in preparation for switching to the generic clock framework. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/spi/spi-bcm63xx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c

RE: [PATCH v6 12/16] spi/spi-atmel: add pinctrl support for atmel spi

2013-03-11 Thread Yang, Wenyou
Hi JC, -Original Message- From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] Sent: 2013年3月11日 21:11 To: Yang, Wenyou Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; Ferre, Nicolas; richard.gen...@gmail.com; Lin, JM;

[PATCH V2] spi: add driver for BCM2835

2013-03-11 Thread Stephen Warren
From: Chris Boot bo...@bootc.net The BCM2835 contains two forms of SPI master controller (one known simply as SPI0, and the other known as the Universal SPI Master, in the auxilliary block) and one form of SPI slave controller. This patch adds support for the SPI0 controller. This driver is

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

2013-03-11 Thread Girish KS
On Sun, Mar 3, 2013 at 4:26 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, 13 Feb 2013 12:03:46 -0800, Girish K S girishks2...@gmail.com wrote: 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