Re: [PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:05:27AM +0300, Tomi Valkeinen wrote: On Thu, 2012-08-02 at 17:54 -0600, Grant Likely wrote: On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: This reverts commit 9fdca9dfe093c76fe1ac1a09888ba9679d46996a. Changing

Re: [PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-03 Thread Shubhrajyoti
On Friday 03 August 2012 03:28 PM, Felipe Balbi wrote: [1.496124] spi spi1.0: setup mode 0, 8 bits/w, 600 Hz max -- 0 [1.503265] omap2_mcspi omap2_mcspi.1: registered child spi1.0 If I modify the board file so that child spi1.0 is registered before spi1.2, then it starts to

Re: [PATCH] Revert spi: omap2-mcspi: convert to module_platform_driver

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 05:20:48PM +0530, Shubhrajyoti wrote: On Friday 03 August 2012 03:28 PM, Felipe Balbi wrote: [1.496124] spi spi1.0: setup mode 0, 8 bits/w, 600 Hz max -- 0 [1.503265] omap2_mcspi omap2_mcspi.1: registered child spi1.0 If I modify the board file

Re: [PATCH 06/10 V2] spi: Add SPI driver for mx233/mx28

2012-08-03 Thread Thomas Petazzoni
Marek, Le Mon, 23 Jul 2012 22:40:48 +0200, Marek Vasut ma...@denx.de a écrit : +static uint32_t mxs_spi_cs_to_reg(unsigned cs) +{ + uint32_t select = 0; + + if (cs 1) + select |= BM_SSP_CTRL0_WAIT_FOR_CMD; + if (cs 2) + select |=

Re: [PATCH 06/10 V2] spi: Add SPI driver for mx233/mx28

2012-08-03 Thread Fabio Estevam
On Fri, Aug 3, 2012 at 10:38 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: It sounds really strange to manipulate WAIT_FOR_CMD and WAIT_FOR_IRQ bits to adjust the chip select, and when reading the driver, it seemed suspicious to me. After going through the datasheet, indeed

Re: [PATCH 06/10 V2] spi: Add SPI driver for mx233/mx28

2012-08-03 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Aug 3, 2012 at 10:38 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: It sounds really strange to manipulate WAIT_FOR_CMD and WAIT_FOR_IRQ bits to adjust the chip select, and when reading the driver, it seemed suspicious to me. After going

Re: [PATCH 06/10 V2] spi: Add SPI driver for mx233/mx28

2012-08-03 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Aug 3, 2012 at 10:38 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: It sounds really strange to manipulate WAIT_FOR_CMD and WAIT_FOR_IRQ bits to adjust the chip select, and when reading the driver, it seemed suspicious to me. After going

[PATCH] SPI: MXS: Allow to pass the SPI master bus number from the device tree

2012-08-03 Thread Maxime Ripard
If you don't do it, the bus number will be a bogus value, possibly used for device file names in drivers like spidev. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/spi/spi-mxs.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-mxs.c

Re: [PATCH] SPI: MXS: Allow to pass the SPI master bus number from the device tree

2012-08-03 Thread Shawn Guo
On Fri, Aug 03, 2012 at 04:30:39PM +0200, Maxime Ripard wrote: If you don't do it, the bus number will be a bogus value, possibly used for device file names in drivers like spidev. Do you see any problem with that? Here is the take from Grant.

[SPAM] moins 70 pourcent sur vos bagages pour une vente exclusive

2012-08-03 Thread Le Monde Du Bagage Par R2J
Your email client cannot read this email. To view it online, please go here: http://information.r2jcommunication.fr/display.php?M=2463975C=f9ee1f5361dac685bab8cb0a0d4070baS=74L=3N=29 To stop receiving these

[PATCH 00/10 V3] MXS SPI driver

2012-08-03 Thread Marek Vasut
This patchset adds SPI master support for Freescale i.MX233/i.MX28. This is rebased on top of next-20120713. Please consider applying, bugs shall now be squashed during the previous two review rounds. Marek Vasut (10): mmc: spi: Move SSP register definitions into separate file mmc: spi:

[PATCH 01/10] mmc: spi: Move SSP register definitions into separate file

2012-08-03 Thread Marek Vasut
Move the definitions into separate file so separate SPI driver can be implemented. The SSP controller in MXS can act both as a MMC host and as a SPI host. Based on previous attempt by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com

[PATCH 08/10 V2] spi: Add DMA support into SPI driver

2012-08-03 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali att...@kinali.ch Cc: Chris Ball c...@laptop.org CC: Dong Aisheng b29...@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linux ARM kernel linux-arm-ker...@lists.infradead.org Cc:

[PATCH 06/10 V3] spi: Add SPI driver for mx233/mx28

2012-08-03 Thread Marek Vasut
This is slightly reworked version of the SPI driver. Support for DT has been added and it's been converted to queued API. Based on previous attempt by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Marek Vasut ma...@denx.de Cc:

[PATCH 02/10] mmc: spi: Rename IMX2[38]_MMC to IMX2[38]_SSP

2012-08-03 Thread Marek Vasut
Since the SSP controller can act as both SPI and MMC host, renaming the enum to properly reflect the naming seems appropriate. Based on previous attempt by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Marek Vasut ma...@denx.de

[PATCH 03/10] mmc: spi: Add necessary bits into mxs-spi.h

2012-08-03 Thread Marek Vasut
Add missing register bits and registers into mxs-spi.h . These will be used by the SPI driver. Based on previous attempt by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali

[PATCH 05/10] mmc: spi: Pull out the SSP clock configuration function

2012-08-03 Thread Marek Vasut
Pull out the MMC clock configuration function and make it into SSP clock configuration function, so it can be used by the SPI driver too. Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali att...@kinali.ch Cc: Chris Ball c...@laptop.org CC: Dong Aisheng b29...@freescale.com Cc: Fabio

[PATCH 09/10 V2] spi: Add SSP/SPI device tree documentation

2012-08-03 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali att...@kinali.ch Cc: Chris Ball c...@laptop.org CC: Dong Aisheng b29...@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linux ARM kernel linux-arm-ker...@lists.infradead.org Cc:

[PATCH 07/10] mmc: spi: Pull out common DMA parts from MXS MMC

2012-08-03 Thread Marek Vasut
These parts will be used by the MXS SPI driver too. Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali att...@kinali.ch Cc: Chris Ball c...@laptop.org CC: Dong Aisheng b29...@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linux

[PATCH 10/10] ARM: mx28: Add SPI pinmux into imx28.dtsi

2012-08-03 Thread Marek Vasut
Signed-off-by: Marek Vasut ma...@denx.de Cc: Attila Kinali att...@kinali.ch Cc: Chris Ball c...@laptop.org CC: Dong Aisheng b29...@freescale.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linux ARM kernel linux-arm-ker...@lists.infradead.org Cc:

Re: [PATCH] SPI: MXS: Allow to pass the SPI master bus number from the device tree

2012-08-03 Thread Maxime Ripard
Le 03/08/2012 16:43, Shawn Guo a écrit : On Fri, Aug 03, 2012 at 04:30:39PM +0200, Maxime Ripard wrote: If you don't do it, the bus number will be a bogus value, possibly used for device file names in drivers like spidev. Do you see any problem with that? Here is the take from Grant.

Simulez votre projet sans engagement

2012-08-03 Thread Cofinoga par Galerie Des Marques
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT04JmI9MTc1NzAmYz0xOTYxNjQxJmQ9MjAxMi0wOC0wMyAyMDoxMDowMSZlPTEmaD0xNzU2OSZmPTE3NTcwJmc9MTc1NzA= Lien de désinscription :

Jusqu'à -30 Pourcent sur votre séjour

2012-08-03 Thread Center Parcs par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT0xMyZiPTE3MjU5JmM9NDgzNjEyJmQ9MjAxMi0wOC0wNCAwMDoyMDowMSZlPTEmaD0xNzI1OCZmPTE3MjU5Jmc9MTcyNTk= Lien de désinscription :

Voyance 100% gratuite ! Obtenez des réponses

2012-08-03 Thread Online voyance par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT0xMyZiPTE3MzkwJmM9NDgzNjEyJmQ9MjAxMi0wOC0wNCAwMDozMDowMSZlPTEmaD0xNzM4OSZmPTE3MzkwJmc9MTczOTA= Lien de désinscription :