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
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
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
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 |=
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
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
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
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
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.
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
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:
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
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:
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:
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
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
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
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:
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
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:
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.
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 :
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 :
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 :
24 matches
Mail list logo