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
Dear Mark Brown,
Thanks for the review!
On Mon, Jul 23, 2012 at 10:40:48PM +0200, Marek Vasut wrote:
This is slightly reworked version of the SPI driver.
Support for DT has been added and it's been converted
to queued API.
Looks reasonable overall.
+ bits_per_word =
On Thu, Aug 02, 2012 at 04:58:38PM +0200, Marek Vasut wrote:
It'd be nice to only keep the clocks enabled while doing transfers but
again totally non-essential.
Hm, this is spread across mxs. Shawn, is there any plan for PM implementation
for MXS ?
Take a look at s3c64xx - I did
Dear Mark Brown,
On Thu, Aug 02, 2012 at 04:58:38PM +0200, Marek Vasut wrote:
It'd be nice to only keep the clocks enabled while doing transfers but
again totally non-essential.
Hm, this is spread across mxs. Shawn, is there any plan for PM
implementation for MXS ?
Take a look at
On Thu, Aug 02, 2012 at 04:58:38PM +0200, Marek Vasut wrote:
Hm, this is spread across mxs. Shawn, is there any plan for PM implementation
for MXS ?
Near term, no. Long term, yes.
--
Regards,
Shawn
--
Live
On Mon, Jul 23, 2012 at 10:40:48PM +0200, Marek Vasut wrote:
This is slightly reworked version of the SPI driver.
Support for DT has been added and it's been converted
to queued API.
Looks reasonable overall.
+ bits_per_word = dev-bits_per_word;
+ if (t t-bits_per_word)
+
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:
10 matches
Mail list logo