linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/49] spi: davinci: re-write existing driver
@ 2010-11-17 10:43 Sekhar Nori
       [not found] ` <1289990661-30126-1-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 58+ messages in thread
From: Sekhar Nori @ 2010-11-17 10:43 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Grant Likely,
	davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/,
	David Brownell

This patch series represents a break-up into reviewable portions
of the work originally done by Brian and posted here:

https://patchwork.kernel.org/patch/114924/

While this series does not exactly add up to what Brian's patch
is, it is pretty close functionally.

This series was tested by me on OMAP-L138, OMAP-L137, DM365 and DM355
EVMs and on their OMAP-L138 boards (not EVMs) by Brian and Michael.

The patch series applies to latest of Linus's tree in hope that
it will be considered for merge in 2.6.37 since the series is
about bug fixes and clean-up.

This series along with some patches to add SPI platform support
to OMAP-L1x EVMs and Mity-DSP board is also available here:

http://arago-project.org/git/projects/?p=linux-davinci.git;a=shortlog;h=refs/heads/davinci-spi-rewrite

Brian Niebuhr (42):
  spi: davinci: fix checkpatch errors
  spi: davinci: whitespace cleanup
  spi: davinci: remove unused variable 'pdata'
  spi: davinci: set chip-select mode in SPIDEF only once
  spi: davinci: enable both activation and deactivation of chip-selects
  spi: davinci: remove unnecessary data transmit on CS disable
  spi: davinci: enable GPIO lines to be used as chip selects
  spi: davinci: simplify prescalar calculation
  spi: davinci: remove 'wait_enable' platform data member
  spi: davinci: make chip-slect specific parameters really chip-select
    specific
  spi: davinci: consolidate setup of SPIFMTn in one function
  spi: davinci: setup chip-select timers values only if timer enabled
  spi: davinci: add support for wait enable timeouts
  spi: davinci: remove unused members of davinci_spi_slave
  spi: davinci: eliminate the single member structure davinci_spi_slave
  spi: davinci: eliminate unnecessary update of davinci_spi->count
  spi: davinci: simplify calculation of edma acount value
  spi: davinci: check for NULL buffer pointer before using it
  spi: davinci: remove unnecessary disable of SPI
  spi: davinci: remove unnecessary 'count' variable in driver private
    data
  spi: davinci: remove unnecessary completion variable initialization
  spi: davinci: remove non-useful interrupt mode support
  spi: davinci: simplify poll mode transfers
  spi: davinci: add support for interrupt mode
  spi: davinci: configure the invariable bits in spipc0 only once
  spi: davinci: remove unnecessary function davinci_spi_bufs_prep()
  spi: davinci: remove unnecessary call to davinci_spi_setup_transfer()
  spi: davinci: do not store DMA channel information per chip select
  spi: davinci: always start transmit DMA
  spi: davinci: do not use temporary buffer if no transmit data
    provided
  spi: davinci: always start receive DMA
  spi: davinci: use edma_write_slot() to setup EDMA PaRAM slot
  spi: davinci: fix DMA event generation stoppage
  spi: davinci: fix EDMA CC errors at end of transfers
  spi: davinci: handle DMA completion errors correctly
  spi: davinci: remove usage of additional completion variables for DMA
  spi: davinci: let DMA operation be specified on per-device basis
  spi: davinci: remove non-useful "clk_internal" platform data
  spi: davinci: enable and power-up SPI only when required
  spi: davinci: setup the driver owner
  spi: davinci: add additional comments
  spi: davinci: add EF Johnson Technologies copyright

Sekhar Nori (7):
  spi: davinci: removed unused #defines
  spi: davinci: remove unnecessary typecast
  spi: davinci: do not treat Tx interrupt being set as error
  spi: davinci: do not allocate DMA channels during SPI device setup
  spi: davinci: remove unnecessary private data member 'region_size'
  spi: davinci: shorten variable names
  spi: davinci: kconfig: add manufacturer name to prompt string

 arch/arm/mach-davinci/dm355.c            |    7 +-
 arch/arm/mach-davinci/dm365.c            |    6 -
 arch/arm/mach-davinci/include/mach/spi.h |   52 +-
 drivers/spi/Kconfig                      |    7 +-
 drivers/spi/davinci_spi.c                | 1314 ++++++++++++------------------
 5 files changed, 587 insertions(+), 799 deletions(-)

-- 
1.7.3.2

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

end of thread, other threads:[~2010-12-11 20:54 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 10:43 [PATCH 00/49] spi: davinci: re-write existing driver Sekhar Nori
     [not found] ` <1289990661-30126-1-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43   ` [PATCH 01/49] spi: davinci: fix checkpatch errors Sekhar Nori
     [not found]     ` <1289990661-30126-2-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43       ` [PATCH 02/49] spi: davinci: whitespace cleanup Sekhar Nori
     [not found]         ` <1289990661-30126-3-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43           ` [PATCH 03/49] spi: davinci: remove unused variable 'pdata' Sekhar Nori
     [not found]             ` <1289990661-30126-4-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43               ` [PATCH 04/49] spi: davinci: removed unused #defines Sekhar Nori
     [not found]                 ` <1289990661-30126-5-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                   ` [PATCH 05/49] spi: davinci: remove unnecessary typecast Sekhar Nori
     [not found]                     ` <1289990661-30126-6-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                       ` [PATCH 06/49] spi: davinci: set chip-select mode in SPIDEF only once Sekhar Nori
     [not found]                         ` <1289990661-30126-7-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                           ` [PATCH 07/49] spi: davinci: enable both activation and deactivation of chip-selects Sekhar Nori
     [not found]                             ` <1289990661-30126-8-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                               ` [PATCH 08/49] spi: davinci: remove unnecessary data transmit on CS disable Sekhar Nori
     [not found]                                 ` <1289990661-30126-9-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                   ` [PATCH 09/49] spi: davinci: enable GPIO lines to be used as chip selects Sekhar Nori
     [not found]                                     ` <1289990661-30126-10-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                       ` [PATCH 10/49] spi: davinci: simplify prescalar calculation Sekhar Nori
     [not found]                                         ` <1289990661-30126-11-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                           ` [PATCH 11/49] spi: davinci: remove 'wait_enable' platform data member Sekhar Nori
     [not found]                                             ` <1289990661-30126-12-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                               ` [PATCH 12/49] spi: davinci: make chip-slect specific parameters really chip-select specific Sekhar Nori
     [not found]                                                 ` <1289990661-30126-13-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                   ` [PATCH 13/49] spi: davinci: consolidate setup of SPIFMTn in one function Sekhar Nori
     [not found]                                                     ` <1289990661-30126-14-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                       ` [PATCH 14/49] spi: davinci: setup chip-select timers values only if timer enabled Sekhar Nori
     [not found]                                                         ` <1289990661-30126-15-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                           ` [PATCH 15/49] spi: davinci: add support for wait enable timeouts Sekhar Nori
     [not found]                                                             ` <1289990661-30126-16-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                               ` [PATCH 16/49] spi: davinci: remove unused members of davinci_spi_slave Sekhar Nori
     [not found]                                                                 ` <1289990661-30126-17-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                   ` [PATCH 17/49] spi: davinci: eliminate the single member structure davinci_spi_slave Sekhar Nori
     [not found]                                                                     ` <1289990661-30126-18-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                       ` [PATCH 18/49] spi: davinci: eliminate unnecessary update of davinci_spi->count Sekhar Nori
     [not found]                                                                         ` <1289990661-30126-19-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                           ` [PATCH 19/49] spi: davinci: simplify calculation of edma acount value Sekhar Nori
     [not found]                                                                             ` <1289990661-30126-20-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                               ` [PATCH 20/49] spi: davinci: check for NULL buffer pointer before using it Sekhar Nori
     [not found]                                                                                 ` <1289990661-30126-21-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                   ` [PATCH 21/49] spi: davinci: remove unnecessary disable of SPI Sekhar Nori
     [not found]                                                                                     ` <1289990661-30126-22-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                       ` [PATCH 22/49] spi: davinci: remove unnecessary 'count' variable in driver private data Sekhar Nori
     [not found]                                                                                         ` <1289990661-30126-23-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                           ` [PATCH 23/49] spi: davinci: do not treat Tx interrupt being set as error Sekhar Nori
     [not found]                                                                                             ` <1289990661-30126-24-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                               ` [PATCH 24/49] spi: davinci: remove unnecessary completion variable initialization Sekhar Nori
     [not found]                                                                                                 ` <1289990661-30126-25-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                                   ` [PATCH 25/49] spi: davinci: remove non-useful interrupt mode support Sekhar Nori
     [not found]                                                                                                     ` <1289990661-30126-26-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                                       ` [PATCH 26/49] spi: davinci: simplify poll mode transfers Sekhar Nori
     [not found]                                                                                                         ` <1289990661-30126-27-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:43                                                                                                           ` [PATCH 27/49] spi: davinci: add support for interrupt mode Sekhar Nori
     [not found]                                                                                                             ` <1289990661-30126-28-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                               ` [PATCH 28/49] spi: davinci: configure the invariable bits in spipc0 only once Sekhar Nori
     [not found]                                                                                                                 ` <1289990661-30126-29-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                   ` [PATCH 29/49] spi: davinci: remove unnecessary function davinci_spi_bufs_prep() Sekhar Nori
     [not found]                                                                                                                     ` <1289990661-30126-30-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                       ` [PATCH 30/49] spi: davinci: remove unnecessary call to davinci_spi_setup_transfer() Sekhar Nori
     [not found]                                                                                                                         ` <1289990661-30126-31-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                           ` [PATCH 31/49] spi: davinci: do not store DMA channel information per chip select Sekhar Nori
     [not found]                                                                                                                             ` <1289990661-30126-32-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                               ` [PATCH 32/49] spi: davinci: always start transmit DMA Sekhar Nori
     [not found]                                                                                                                                 ` <1289990661-30126-33-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                   ` [PATCH 33/49] spi: davinci: do not use temporary buffer if no transmit data provided Sekhar Nori
     [not found]                                                                                                                                     ` <1289990661-30126-34-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                       ` [PATCH 34/49] spi: davinci: always start receive DMA Sekhar Nori
     [not found]                                                                                                                                         ` <1289990661-30126-35-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                           ` [PATCH 35/49] spi: davinci: use edma_write_slot() to setup EDMA PaRAM slot Sekhar Nori
     [not found]                                                                                                                                             ` <1289990661-30126-36-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                               ` [PATCH 36/49] spi: davinci: fix DMA event generation stoppage Sekhar Nori
     [not found]                                                                                                                                                 ` <1289990661-30126-37-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                   ` [PATCH 37/49] spi: davinci: do not allocate DMA channels during SPI device setup Sekhar Nori
     [not found]                                                                                                                                                     ` <1289990661-30126-38-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                       ` [PATCH 38/49] spi: davinci: fix EDMA CC errors at end of transfers Sekhar Nori
     [not found]                                                                                                                                                         ` <1289990661-30126-39-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                           ` [PATCH 39/49] spi: davinci: handle DMA completion errors correctly Sekhar Nori
     [not found]                                                                                                                                                             ` <1289990661-30126-40-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                               ` [PATCH 40/49] spi: davinci: remove usage of additional completion variables for DMA Sekhar Nori
     [not found]                                                                                                                                                                 ` <1289990661-30126-41-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                   ` [PATCH 41/49] spi: davinci: let DMA operation be specified on per-device basis Sekhar Nori
     [not found]                                                                                                                                                                     ` <1289990661-30126-42-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                       ` [PATCH 42/49] spi: davinci: remove non-useful "clk_internal" platform data Sekhar Nori
     [not found]                                                                                                                                                                         ` <1289990661-30126-43-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                           ` [PATCH 43/49] spi: davinci: enable and power-up SPI only when required Sekhar Nori
     [not found]                                                                                                                                                                             ` <1289990661-30126-44-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                               ` [PATCH 44/49] spi: davinci: setup the driver owner Sekhar Nori
     [not found]                                                                                                                                                                                 ` <1289990661-30126-45-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                                   ` [PATCH 45/49] spi: davinci: add additional comments Sekhar Nori
     [not found]                                                                                                                                                                                     ` <1289990661-30126-46-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                                       ` [PATCH 46/49] spi: davinci: add EF Johnson Technologies copyright Sekhar Nori
     [not found]                                                                                                                                                                                         ` <1289990661-30126-47-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                                           ` [PATCH 47/49] spi: davinci: remove unnecessary private data member 'region_size' Sekhar Nori
     [not found]                                                                                                                                                                                             ` <1289990661-30126-48-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                                               ` [PATCH 48/49] spi: davinci: shorten variable names Sekhar Nori
     [not found]                                                                                                                                                                                                 ` <1289990661-30126-49-git-send-email-nsekhar-l0cyMroinI0@public.gmane.org>
2010-11-17 10:44                                                                                                                                                                                                   ` [PATCH 49/49] spi: davinci: kconfig: add manufacturer name to prompt string Sekhar Nori
2010-11-17 11:15                       ` [PATCH 05/49] spi: davinci: remove unnecessary typecast Sergei Shtylyov
     [not found]                         ` <4CE3B93A.7090408-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2010-11-17 11:35                           ` Nori, Sekhar
2010-11-17 15:24   ` [PATCH 00/49] spi: davinci: re-write existing driver Grant Likely
     [not found]     ` <20101117152426.GA5757-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org>
2010-11-18  6:53       ` Nori, Sekhar
     [not found]         ` <B85A65D85D7EB246BE421B3FB0FBB5930247388244-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-11-18 11:31           ` Nori, Sekhar
     [not found]             ` <B85A65D85D7EB246BE421B3FB0FBB59302473884F7-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-11-18 13:14               ` Nori, Sekhar
     [not found]                 ` <B85A65D85D7EB246BE421B3FB0FBB59302473885A3-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-11 15:34                   ` Michael Williamson
     [not found]                     ` <4D0399EB.6070204-wZX4cNJlHJ2sVWG7oymsAA@public.gmane.org>
2010-12-11 20:54                       ` Grant Likely

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).