Re: [QUERY] Behavior of spi slave memories w.r.t chip select signal.

2011-05-13 Thread Jamie Iles
On Fri, May 13, 2011 at 09:22:57AM +0530, viresh kumar wrote: On 05/11/2011 09:37 AM, viresh kumar wrote: Actually i am seeing a different behavior by some of the spi memories, like m25p10. If there is a delay between read_sts_reg command and dummy bytes, then 0xFF is returned in

Re: [QUERY] Behavior of spi slave memories w.r.t chip select signal.

2011-05-13 Thread viresh kumar
On 05/13/2011 12:24 PM, Linus Walleij wrote: 2011/5/13 viresh kumar viresh.ku...@st.com: Linus, Jamie, Have you ever seen this kind of issue? Which spi slave memories did you used for testing? I am using standard pl0022 and m25p80 driver. Tried in all modes: polling, interrupt, dma.

[PATCH] spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails

2011-05-13 Thread Viresh Kumar
If pl022_dma_probe fails, we can try to transfer data in polling or interrupt mode. Also, set platform_info-enable_dma to 0, so that no other code tries to use dma. Signed-off-by: Viresh Kumar viresh.ku...@st.com --- drivers/spi/amba-pl022.c | 11 ++- 1 files changed, 6 insertions(+),

[QUERY] amba/pl022: DMA channel allocation always fail.

2011-05-13 Thread viresh kumar
Linus, amba/pl022 and my dma driver dw_dmac.c, both have registered init() routines with subsys_initcall(). Now at bootup, spi boots up before DMA and so DMA channels are never available at spi probe. What should be done to solve this issue? One idea is allocate DMA channel as and when

Re: [PATCH] spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails

2011-05-13 Thread viresh kumar
On 5/13/11, Viresh Kumar viresh.ku...@st.com wrote: diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 08de58e..82b98b8 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c @@ -1063,7 +1063,7 @@ static int __init pl022_dma_probe(struct pl022 *pl022)

Re: [PATCH] spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails

2011-05-13 Thread Linus Walleij
2011/5/13 Viresh Kumar viresh.ku...@st.com: If pl022_dma_probe fails, we can try to transfer data in polling or interrupt mode. Also, set platform_info-enable_dma to 0, so that no other code tries to use dma. Sure why not! Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij

Re: [QUERY] amba/pl022: DMA channel allocation always fail.

2011-05-13 Thread Linus Walleij
2011/5/13 viresh kumar viresh.ku...@st.com: amba/pl022 and my dma driver dw_dmac.c, both have registered init() routines with subsys_initcall(). Now at bootup, spi boots up before DMA and so DMA channels are never available at spi probe. What should be done to solve this issue? If you check

863新产品开发成功与失败因素分析

2011-05-13 Thread 武伟
┌─┬─┬─┬─┬─┬─┬─┬─┬─┐ │F┆ ┆=┆优┆择┆根┆ ┆ ┆f│ │Z┆ ┆=┆化┆产┆据┆ ┆ ┆Q│ │F┆ ┆资┆的┆品┆企┆ ┆ ┆7│ │J┆ ┆料┆三┆开┆业┆ ┆ ┆X│ │V┆ ┆见┆个┆发┆的┆ ┆ ┆0│ │P┆ ┆附┆模┆管┆实┆ ┆ ┆Q│ │S┆ ┆w┆式┆6┆际┆ ┆ ┆A│ │G┆ ┆件┆.┆理┆情┆ ┆ ┆J│ │ ┆ ┆.┆=┆体┆况┆ ┆ ┆j│ │ ┆ ┆ ┆=┆系┆选┆ ┆ ┆ │

[SPAM] Ne manquez pas cette offre exceptionnelle

2011-05-13 Thread Mercedes-Benz
-- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications -