linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/8] spi/spi-atmel: add dmaengine support for atmel spi controller and to test the device tree support
@ 2013-04-03  5:56 Wenyou Yang
  2013-04-03  5:57 ` [PATCH v8 1/8] spi/spi-atmel: add physical base address Wenyou Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Wenyou Yang @ 2013-04-03  5:56 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: richard.genoud-Re5JQEeQqe8AvxtiuMwx3w,
	JM.Lin-AIFe0yeh4nAAvxtiuMwx3w,
	broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E,
	nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w,
	wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	plagnioj-sclMFOaUSTBWk0Htik3J/w

Hi Mark, 

The work is based on Nicolas and Richard's work.

It is based on v3.9-rc5 
	+ Joachim Eastwood's spi/atmel: fix speed_hz check in atmel_spi_transfer()
	+ the following four patches of the version 7 series, which you've applied.
		- detect the capabilities of SPI core by reading the VERSION register
		- add support transfer on CS1,2,3, not only on CS0
		- call unmapping on transfers buffers
		- status information passed through controller data

As per your suggestion, do some change for the patches.

Thanks a lot for your work.

Best Regards
Wenyou Yang


Changelog:
v8:
     1 ./ squash the following two patches into dmaengine patch.
     	   - fix spi-atmel driver to adapt to slave_config changes
	   - correct 16 bits transfers with DMA.
     2./ Add some commit log for patches.

v7:
     1./ remove patch: fix probing failure after xfer->speed_hz set.
     2./ remove patch: add pinctrl support for atmel spi.

v6:
     1./ remove: fix master->num_chipselect wrongly set patch which isn't a issue in v3.9-rc1.
     2./ fix probing failure after xfer->speed_hz set.

v5:
     1./ add pinctrl patches.
     2./ detect capabilities by reading spi version register to replace multiple compatiles.
     3./ change the "cs-gpios" property of spi node.
     4./ rebase on v3.8.

v4:
     1./ Take Joe Perches's adivce, rewrite atmel_spi_is_v2(struct atmel_spi *as) 
         and atmel_spi_use_dma(struct atmel_spi *as),
	 and remove atmel_spi_use_pdc(struct atmel_spi *as).
     2./ Rebase on v3.8-rc3.

V3:
     1./ Rebase on v3.8-rc2.
     2./ Remove some Jean-Christophe's patches which has been applied on v3.8-rc2.
     3./ Remove spi property "cs-gpios" from the SoC dtsi files to the board dts files
         to avoid some useless pin conflicts.

v2: 
     1./ Remove the patch :PATCH]mtd: m25p80: change the m25p80_read to reading page to page
	 which purpose to fix the BUG: when run "flashcp /bin/busybox /dev/mtdX" in the at91sam9g25ek
	 with DMA mode, it arises a OOPS. Now fix it in this patch:
	    [PATHC] spi/atmel_spi: add dmaengine support changing to fix the [BUG].
     2./ Remove two patches:
   	    which purpose to read dts property to select SPI IP version and DMA mode
	    Now they will be gat from device tree different compatile.
     3./ Fix DMA: when enable both spi0 AND spi1, the spi0 doesn't work BUG.
     4./ Rebase v3.7-rc8.


Nicolas Ferre (3):
  spi/spi-atmel: add physical base address
  spi/spi-atmel: add flag to controller data for lock operations
  spi/spi-atmel: add dmaengine support

Richard Genoud (4):
  spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO
  ARM: at91: add clocks for spi dt entries
  ARM: dts: add spi nodes for atmel SoC
  ARM: dts: add spi nodes for the atmel boards

Wenyou Yang (1):
  ARM: dts: add pinctrl property for spi node for atmel SoC

 arch/arm/boot/dts/at91sam9260.dtsi          |   40 ++
 arch/arm/boot/dts/at91sam9263.dtsi          |   40 ++
 arch/arm/boot/dts/at91sam9263ek.dts         |   10 +
 arch/arm/boot/dts/at91sam9g20ek_common.dtsi |   10 +
 arch/arm/boot/dts/at91sam9g45.dtsi          |   40 ++
 arch/arm/boot/dts/at91sam9m10g45ek.dts      |   10 +
 arch/arm/boot/dts/at91sam9n12.dtsi          |   40 ++
 arch/arm/boot/dts/at91sam9n12ek.dts         |   10 +
 arch/arm/boot/dts/at91sam9x5.dtsi           |   40 ++
 arch/arm/boot/dts/at91sam9x5ek.dtsi         |   10 +
 arch/arm/mach-at91/at91sam9260.c            |    2 +
 arch/arm/mach-at91/at91sam9g45.c            |    2 +
 arch/arm/mach-at91/at91sam9n12.c            |    2 +
 arch/arm/mach-at91/at91sam9x5.c             |    2 +
 drivers/spi/spi-atmel.c                     |  653 +++++++++++++++++++++++++--
 15 files changed, 876 insertions(+), 35 deletions(-)

-- 
1.7.9.5


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2013-04-24 10:05 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03  5:56 [PATCH v8 0/8] spi/spi-atmel: add dmaengine support for atmel spi controller and to test the device tree support Wenyou Yang
2013-04-03  5:57 ` [PATCH v8 1/8] spi/spi-atmel: add physical base address Wenyou Yang
     [not found]   ` <1364968662-23763-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-03  9:42     ` Richard GENOUD
2013-04-23 18:30   ` Mark Brown
     [not found] ` <1364968581-23700-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-03  5:58   ` [PATCH v8 2/8] spi/spi-atmel: add flag to controller data for lock operations Wenyou Yang
     [not found]     ` <1364968716-23848-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-03  9:44       ` Richard GENOUD
2013-04-23 18:30     ` Mark Brown
2013-04-03  5:59   ` [PATCH v8 3/8] spi/spi-atmel: add dmaengine support Wenyou Yang
     [not found]     ` <1364968759-24036-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-03 10:23       ` Richard GENOUD
2013-04-23 18:33         ` Mark Brown
     [not found]           ` <20130423183301.GX5019-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2013-04-24  9:27             ` Richard Genoud
2013-04-24 10:00     ` Mark Brown
2013-04-03  6:00   ` [PATCH v8 4/8] spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO Wenyou Yang
2013-04-24 10:01     ` Mark Brown
2013-04-03  6:02   ` [PATCH v8 6/8] ARM: dts: add spi nodes for atmel SoC Wenyou Yang
2013-04-24 10:03     ` Mark Brown
2013-04-03  6:03   ` [PATCH v8 7/8] ARM: dts: add spi nodes for the atmel boards Wenyou Yang
2013-04-24 10:04     ` Mark Brown
2013-04-03  6:01 ` [PATCH v8 5/8] ARM: at91: add clocks for spi dt entries Wenyou Yang
2013-04-24 10:02   ` Mark Brown
2013-04-03  6:03 ` [PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC Wenyou Yang
     [not found]   ` <1364969032-24281-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2013-04-03 10:35     ` Richard GENOUD
2013-04-24 10:05   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).