Re: [PATCH 5/6] mx51_3ds: add eCSPI2 support on the imx51_3ds board

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > Hi Jason, > > On Thu, Sep 02, 2010 at 03:52:03PM +0800, Jason Wang wrote: > >> Add platform data for eCSPI2 and register it through spi_imx dynamical >> register interface. >> >> Signed-off-by: Jason Wang >> --- >> arch/arm/mach-mx5/board-mx51_3ds.c | 20 +++

Re: [PATCH 3/6] mx5: add support to dynamically register spi_imx devices (imx51 3ds)

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > Hi Jason, > > On Thu, Sep 02, 2010 at 03:52:01PM +0800, Jason Wang wrote: > >> Signed-off-by: Jason Wang >> --- >> arch/arm/mach-mx5/Kconfig |1 + >> arch/arm/mach-mx5/devices-imx51.h | 20 >> 2 files changed, 21 insertions(+), 0 del

Re: [PATCH 2/6] i.MX5/clock: add eCSPI and CSPI clock definitions

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > On Thu, Sep 02, 2010 at 03:52:00PM +0800, Jason Wang wrote: > >> i.MX51 has two eCSPI and one CSPI controllers, now add clock >> definitions and registrations for these controllers. >> >> Signed-off-by: Jason Wang >> --- >> arch/arm/mach-mx5/clock-mx51.c | 79 >> ++

Re: [PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > Hello Jason, > > On Thu, Sep 02, 2010 at 03:51:59PM +0800, Jason Wang wrote: > >> There are 3 SPI controllers on i.MX51, one is called CSPI and is >> 100% compatible with the one on i.MX35, the other two are called >> eCSPI and are not compatible with existing controlle

Re: [PATCH 4/6] ARM: mx51: Add spi clock and spi_imx device registration

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > From: Sascha Hauer > > Signed-off-by: Sascha Hauer > Signed-off-by: Uwe Kleine-König > --- > arch/arm/mach-mx5/clock-mx51.c | 42 > ++ > arch/arm/mach-mx5/devices-imx51.h| 18 +++ > arch/arm/plat-mxc/device

[SPAM] 代/开――发/票

2010-09-02 Thread 13538033334
您好: 我公司有一部分专用税――票/代开; 如: (1)普通商品销售税――票; (2)广告业、各类服务业税――票/等等。 贵公司如有需要,欢迎您的来电与我联系: 负责人:张先生(0)1353804 -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills.

Re: [PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > Hello Jason, > > >>> Actually I would prefer our patches, but of course I'm biased :-) >>> >>> I don't know how we should handle this. And Sascha is on vacation this >>> and next week. I will investigate if our patches are already free to be >>> posted. >>> > O

[PATCH 3/6] SPI: S3C64XX: Debug status read

2010-09-02 Thread Jassi Brar
Instead of, wrongly, reusing the 'val' variable, use a dedicated one for reading the status register. Signed-off-by: Jassi Brar --- drivers/spi/spi_s3c64xx.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c index 1

[PATCH 5/6] SPI: S3C64XX: Define new clk src indicator

2010-09-02 Thread Jassi Brar
Since the driver is meant to manage SPI of newer SoCs as well, we need to define a new structure member for latest SoC that has the SPI clock control/scaling block moved from the controller to the platform's clock management unit. The flag should be set to 'true' by any SoC that has SPI controller

[PATCH 6/6] SPI: S3C64XX: Consider the clk_from_cmu flag

2010-09-02 Thread Jassi Brar
Newer SoCs have the SPI clock scaling control in platform's clock management unit. Inorder for such SoCs to work, we need to check the flag clk_from_cmu before making any clock changes. Signed-off-by: Jassi Brar --- drivers/spi/spi_s3c64xx.c | 94 +++--

[PATCH 4/6] SPI: S3C64XX: Correction for 16,32 bits bus width

2010-09-02 Thread Jassi Brar
We can't do without setting channel and bus width to same size. Inorder to do that, define a new callback to be used to do read/write of appropriate widths. Signed-off-by: Jassi Brar --- drivers/spi/spi_s3c64xx.c | 78 +--- 1 files changed, 65 insertions

[PATCH 2/6] SPI: S3C64XX: Prevent unnecessary map-unmap

2010-09-02 Thread Jassi Brar
Since we use DMA mode only for xfers bigger than FIFO size, do not map/unmap buffers for polling mode transfers. Signed-off-by: Jassi Brar --- drivers/spi/spi_s3c64xx.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c

[PATCH 1/6] SPI: S3C64XX: Fix compilation warning

2010-09-02 Thread Jassi Brar
Fix compilation warning by typecasting the tx_buf pointer. Signed-off-by: Jassi Brar --- drivers/spi/spi_s3c64xx.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c index 9736581..774e861 100644 --- a/drivers/spi/sp

[PATCH 0/6] SPI: S3C64XX: bug fix and enhancements

2010-09-02 Thread Jassi Brar
Hi, Here come six bug fixes and enhancements to the S3C64XX spi controller driver. The first 4 are bug/warning fixes, the last two are to enable the spi_s3c64xx.c to manage SPI controllers of newer Samsung SoCs with essentially the same IP but scalar logic moved into core clock management unit.

[SPAM] べ研发团队建设与绩效管理べ

2010-09-02 Thread aotexbs
±¾¿Î³Ì¡¶Ñз¢ÍŶӽ¨ÉèÓë¹ÜÀíôßÑз¢ÈËÔ±µÄ¿¼ºËÓ뼤Àø¡·ÊÇÊʺÏ×ܾ­Àí¡¢ÈËÁ¦×ÊÔ´²¿¾­Àí/¼¨Ð§¿¼ºËרԱ¡¢Ñз¢×ܼࡢÑз¢¾­Àí¡¢Ñз¢ÏîÄ¿¾­Àí¡¢¼¼Êõ¹ÜÀí²¿/Ñз¢¹ÜÀí²¿/ÏîÄ¿¹ÜÀí²¿µÈÑз¢¹Ç¸ÉÖµµÃÀ´Á˽âµÄÒ»Ãſγ̡£ -- This SF.net Dev2Dev e

[PATCH] amba_pl022: Setup SPI configuration based on spi->mode

2010-09-02 Thread wellsk40
From: Kevin Wells This patch changes the way SPI transfers are setup. The previous method uses the pl022_config_chip data for configuration of loopback mode, edge count, clock polarity, number of data bits, and bit transfer order. This change configures these parameters based on spi->mode passed

[SPAM] AMERICAN DV-2011 VISA LOTTERY PROGRAM WINNER: CASE NUMBER 2011AES0O0024211.

2010-09-02 Thread U . S Department of State
Case Number : 2011AES0O0024211 Date: August 15th, 2010 PA Name: DV2011 Winner Preference Category: DIVERSITY VISA Foreign State Chargeability: DV ELIGIBLE AMERICAN DV-2011 VISA LOTTERY PROGRAM WINNER: CASE NUMBER 2011AES0O0024211. Co

Re: [PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Uwe Kleine-König
Hello, On Thu, Sep 02, 2010 at 08:29:09PM +0300, Baruch Siach wrote: > Hi Lothar, > > On Thu, Sep 02, 2010 at 05:11:56PM +0200, Lothar Waßmann wrote: > > > > - if (cpu_is_mx25() || cpu_is_mx31() || cpu_is_mx35()) { > > > > + /* i.MX51 has two eCSPI and one CSPI controllers, eCSPI > >

[SPAM] high yield returns

2010-09-02 Thread Hoppe Wolfgang
Hi, Individually managed accounts program, mainly in forex, precious metals and energy related assets, for investors who can pool a minimum of 10,000$. The average monthly returns will be 15%. Investor can open his own account and all I will do is operate the account. At the end of the mon

Re: [PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Baruch Siach
Hi Lothar, On Thu, Sep 02, 2010 at 05:11:56PM +0200, Lothar Waßmann wrote: > > > - if (cpu_is_mx25() || cpu_is_mx31() || cpu_is_mx35()) { > > > + /* i.MX51 has two eCSPI and one CSPI controllers, eCSPI controllers are > > > + * not compatible with existing SPI controllers on other i.MX platforms,

Re: [PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Lothar Waßmann
Hi, > > - if (cpu_is_mx25() || cpu_is_mx31() || cpu_is_mx35()) { > > + /* i.MX51 has two eCSPI and one CSPI controllers, eCSPI controllers are > > +* not compatible with existing SPI controllers on other i.MX platforms, > > +* while CSPI controller is 100% compatible with the one on th

[SPAM] Decouvrez 6 formules sante adaptees a vos besoins

2010-09-02 Thread Gan Santé par Plein Temps
-- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ sp

Re: [PATCH 5/6] mx51_3ds: add eCSPI2 support on the imx51_3ds board

2010-09-02 Thread Uwe Kleine-König
Hi Jason, On Thu, Sep 02, 2010 at 03:52:03PM +0800, Jason Wang wrote: > Add platform data for eCSPI2 and register it through spi_imx dynamical > register interface. > > Signed-off-by: Jason Wang > --- > arch/arm/mach-mx5/board-mx51_3ds.c | 20 > 1 files changed, 20 insert

Re: [PATCH 3/6] mx5: add support to dynamically register spi_imx devices (imx51 3ds)

2010-09-02 Thread Uwe Kleine-König
Hi Jason, On Thu, Sep 02, 2010 at 03:52:01PM +0800, Jason Wang wrote: > Signed-off-by: Jason Wang > --- > arch/arm/mach-mx5/Kconfig |1 + > arch/arm/mach-mx5/devices-imx51.h | 20 > 2 files changed, 21 insertions(+), 0 deletions(-) > create mode 100644 arch/ar

Re: [PATCH 2/6] i.MX5/clock: add eCSPI and CSPI clock definitions

2010-09-02 Thread Uwe Kleine-König
On Thu, Sep 02, 2010 at 03:52:00PM +0800, Jason Wang wrote: > i.MX51 has two eCSPI and one CSPI controllers, now add clock > definitions and registrations for these controllers. > > Signed-off-by: Jason Wang > --- > arch/arm/mach-mx5/clock-mx51.c | 79 > +++

Re: [PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Uwe Kleine-König
Hello Jason, On Thu, Sep 02, 2010 at 03:51:59PM +0800, Jason Wang wrote: > There are 3 SPI controllers on i.MX51, one is called CSPI and is > 100% compatible with the one on i.MX35, the other two are called > eCSPI and are not compatible with existing controllers on other > i.MX platforms, here we

[PATCH 4/6] ARM: mx51: Add spi clock and spi_imx device registration

2010-09-02 Thread Uwe Kleine-König
From: Sascha Hauer Signed-off-by: Sascha Hauer Signed-off-by: Uwe Kleine-König --- arch/arm/mach-mx5/clock-mx51.c | 42 ++ arch/arm/mach-mx5/devices-imx51.h| 18 +++ arch/arm/plat-mxc/devices/platform-spi_imx.c | 17 ++ 3

[PATCH 3/6] ARM: imx: change the way spi-imx devices are registered

2010-09-02 Thread Uwe Kleine-König
Similar to the change done earlier for imx-uart devices group soc specific data in a global struct instead of repeating it for each call to imxXX_add_spi_imxX. Acked-by: Wolfram Sang Signed-off-by: Uwe Kleine-König --- arch/arm/mach-imx/devices-imx21.h |9 ++- arch/arm/mach-im

[PATCH 2/6] ARM: mx51: fix naming of spi related defines

2010-09-02 Thread Uwe Kleine-König
The names used now match the processor's reference manual. Also remove MXC from the interrupt defines to match the other imx platforms. Acked-by: Wolfram Sang Signed-off-by: Uwe Kleine-König --- arch/arm/plat-mxc/include/mach/mx51.h | 12 ++-- 1 files changed, 6 insertions(+), 6 dele

[PATCH 1/6] ARM: mx51: clean up mx51 header

2010-09-02 Thread Uwe Kleine-König
This makes the header more look like the other ones, i.e. - sort #defines by value - use lowercase hex constants - use a consistently named header guard Signed-off-by: Uwe Kleine-König --- arch/arm/plat-mxc/include/mach/mx51.h | 608 - 1 files changed, 300 in

[PATCH 5/6] spi-imx: Add i.MX51 support

2010-09-02 Thread Uwe Kleine-König
From: Sascha Hauer Signed-off-by: Sascha Hauer --- drivers/spi/spi_imx.c | 123 +++- 1 files changed, 120 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index 7972e90..5ee2699 100644 --- a/drivers/spi/spi_im

[PATCH 6/6] ARM: mx5/mx51_babbage: Add spi support

2010-09-02 Thread Uwe Kleine-König
From: Sascha Hauer Signed-off-by: Sascha Hauer --- arch/arm/mach-mx5/Kconfig |1 + arch/arm/mach-mx5/board-mx51_babbage.c | 31 +++ 2 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfi

Re: [PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver

2010-09-02 Thread Uwe Kleine-König
Hello Jason, >> Actually I would prefer our patches, but of course I'm biased :-) >> >> I don't know how we should handle this. And Sascha is on vacation this >> and next week. I will investigate if our patches are already free to be >> posted. OK, I can post our patches. I think the driver par

Re: [PATCH v4] spi: add spi_tegra driver

2010-09-02 Thread Grant Likely
On Wed, Sep 1, 2010 at 4:16 PM, Erik Gilling wrote: > v2 changes: >  from Thierry Reding: >    * add "select TEGRA_SYSTEM_DMA" to Kconfig >  from Grant Likely: >    * add oneline description to header >    * inline references to DRIVER_NAME >    * inline references to BUSY_TIMEOUT >    * open code

Re: [PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver

2010-09-02 Thread Jason Wang
Uwe Kleine-König wrote: > Hello Jason, > > On Thu, Sep 02, 2010 at 03:51:58PM +0800, Jason Wang wrote: > >> Some explanations: >> >> This patchset is to add SPI support in the existing spi_imx driver for >> i.MX51 and add SPI relating stuffs for mx51_3ds board level. >> >> i.MX51 has two eCSPI c

RE: [PATCH v2 1/6] spi/mpc8xxx: refactor the common code for SPI/eSPI controller

2010-09-02 Thread Hu Mingkai-B21284
Hi Grant and all, Sorry for the delay, I'm on business trip some weeks ago. > -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Tuesday, August 10, 2010 2:40 PM > To: Hu Mingkai-B21284 > Cc: linuxppc-...@ozlabs.org; spi-devel

RE: [spi-devel-general] [PATCH v2 3/6] mtd: m25p80: add support to parse the SPI flash's partitions

2010-09-02 Thread Hu Mingkai-B21284
> -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Wednesday, August 11, 2010 2:27 AM > To: Joakim Tjernlund > Cc: David Brownell; David Woodhouse; Gala Kumar-B11780; linux- > m...@lists.infradead.org; Hu Mingkai-B21284; spi

RE: [PATCH v2 6/6] DTS: add SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board

2010-09-02 Thread Hu Mingkai-B21284
> -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Tuesday, August 10, 2010 3:11 PM > To: Hu Mingkai-B21284 > Cc: linuxppc-...@ozlabs.org; spi-devel-general@lists.sourceforge.net; Gala > Kumar-B11780; Zang Roy-R61911 > Subje

RE: [PATCH v2 2/6] eSPI: add eSPI controller support

2010-09-02 Thread Hu Mingkai-B21284
> -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Tuesday, August 10, 2010 2:45 PM > To: Hu Mingkai-B21284 > Cc: linuxppc-...@ozlabs.org; spi-devel-general@lists.sourceforge.net; Gala > Kumar-B11780; Zang Roy-R61911 > Subje

RE: [PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

2010-09-02 Thread Hu Mingkai-B21284
[adding mtd list] Hi guys, Could you please take a look at this patch and give some suggestion? Thanks, Mingkai > -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Tuesday, August 10, 2010 3:00 PM > To: Hu Mingkai-B21284; D

RE: [spi-devel-general] [PATCH v2 3/6] mtd: m25p80: add support to parse the SPI flash's partitions

2010-09-02 Thread Hu Mingkai-B21284
> -Original Message- > From: Anton Vorontsov [mailto:cbouatmai...@gmail.com] > Sent: Wednesday, August 11, 2010 12:02 AM > To: Grant Likely > Cc: Joakim Tjernlund; Gala Kumar-B11780; David Brownell; linux- > m...@lists.infradead.org; spi-devel-general@lists.sourceforge.net; Hu Mingkai- >

Re: [PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver

2010-09-02 Thread Uwe Kleine-König
Hello Jason, On Thu, Sep 02, 2010 at 03:51:58PM +0800, Jason Wang wrote: > Some explanations: > > This patchset is to add SPI support in the existing spi_imx driver for > i.MX51 and add SPI relating stuffs for mx51_3ds board level. > > i.MX51 has two eCSPI controllers and one CSPI controller, CS

[PATCH 5/6] mx51_3ds: add eCSPI2 support on the imx51_3ds board

2010-09-02 Thread Jason Wang
Add platform data for eCSPI2 and register it through spi_imx dynamical register interface. Signed-off-by: Jason Wang --- arch/arm/mach-mx5/board-mx51_3ds.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mx5/board-mx51_3ds.c b/arch/arm/

[PATCH 3/6] mx5: add support to dynamically register spi_imx devices (imx51 3ds)

2010-09-02 Thread Jason Wang
Signed-off-by: Jason Wang --- arch/arm/mach-mx5/Kconfig |1 + arch/arm/mach-mx5/devices-imx51.h | 20 2 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-mx5/devices-imx51.h diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-

[PATCH 2/6] i.MX5/clock: add eCSPI and CSPI clock definitions

2010-09-02 Thread Jason Wang
i.MX51 has two eCSPI and one CSPI controllers, now add clock definitions and registrations for these controllers. Signed-off-by: Jason Wang --- arch/arm/mach-mx5/clock-mx51.c | 79 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/arch/arm

[PATCH 6/6] mx51_3ds: add SPI NOR flash in the board init stage

2010-09-02 Thread Jason Wang
A 2M bytes SPI NOR flash(sst25vf016b) is soldered on the mx51_3ds board, Now add registration for it in the board init stage. Signed-off-by: Jason Wang --- arch/arm/mach-mx5/board-mx51_3ds.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mx5/b

[PATCH 4/6] mx5/iomux: add iomux definitions for eCSPI2 on the imx51_3ds board

2010-09-02 Thread Jason Wang
On the imx51_3ds board, eCSPI2 is connected to a SPI NOR flash, now add iomux definitions for those used pins. Signed-off-by: Jason Wang --- arch/arm/plat-mxc/include/mach/iomux-mx51.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/iom

[PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver

2010-09-02 Thread Jason Wang
Some explanations: This patchset is to add SPI support in the existing spi_imx driver for i.MX51 and add SPI relating stuffs for mx51_3ds board level. i.MX51 has two eCSPI controllers and one CSPI controller, CSPI controller is 100% compatible with the one of i.MX35, so we don't need to add new f

[PATCH 1/6] spi-imx: add CSPI and eCSPI support for i.MX51 MCU

2010-09-02 Thread Jason Wang
There are 3 SPI controllers on i.MX51, one is called CSPI and is 100% compatible with the one on i.MX35, the other two are called eCSPI and are not compatible with existing controllers on other i.MX platforms, here we add support of these three controllers in the imx spi driver. Signed-off-by: Jas