Re: [PATCH 1/3] SPI: spi_sh_msiof: cosmetic clean-up

2011-01-24 Thread Paul Mundt
On Mon, Jan 24, 2011 at 10:26:55PM -0700, Grant Likely wrote: > On Mon, Jan 24, 2011 at 10:02 PM, Simon Horman wrote: > > Surely this is a bug in diff. Or perhaps put more politely, > > diff isn't smart enough to realise a) this is C and b) xxx: isn't > > a valid function name in C. > > Oh, perha

Re: [PATCH 1/3] SPI: spi_sh_msiof: cosmetic clean-up

2011-01-24 Thread Grant Likely
On Mon, Jan 24, 2011 at 10:02 PM, Simon Horman wrote: > On Fri, Jan 21, 2011 at 10:02:47AM -0700, Grant Likely wrote: >> On Fri, Jan 21, 2011 at 04:56:37PM +0100, Guennadi Liakhovetski wrote: >> > 1. sort headers alphabetically >> > 2. use fixed-size types u8, u16, u32 for register values and tran

Re: [PATCH 1/3] SPI: spi_sh_msiof: cosmetic clean-up

2011-01-24 Thread Simon Horman
On Fri, Jan 21, 2011 at 10:02:47AM -0700, Grant Likely wrote: > On Fri, Jan 21, 2011 at 04:56:37PM +0100, Guennadi Liakhovetski wrote: > > 1. sort headers alphabetically > > 2. use fixed-size types u8, u16, u32 for register values and transferred > > data > > 3. simplify some arithmetic operations

[PATCH v3] spi: add OpenCores tiny SPI driver

2011-01-24 Thread Thomas Chou
This patch adds support of OpenCores tiny SPI driver. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou --- v2 minor cleanup, same as Grant suggest for spi_altera. v3 rename driver to spi_oc_tiny as Grant suggested. set version to tiny-spi-rtlsvn2 as Jonas suggested. drivers/

Re: [PATCH v2] spi: add OpenCores tiny SPI driver

2011-01-24 Thread Thomas Chou
Hi Jonas, On 01/24/2011 06:59 PM, Jonas Bonn wrote: > We've discussed this a bit internally now and decided that the best way > to version OpenCores cores is to use the SVN commit ID of the rtl/ > directory in the project's repository. So, for your tiny-spi project, > the last SVN commit to updat

Bons plans, taux promo chez Sofinco, allez-y

2011-01-24 Thread Sofinco par PleinTemps
-- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February

Re: [PATCH v5 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-24 Thread Kevin Hilman
Hi Govindraj, "Govindraj.R" writes: > Changes invloves: > > 1) Addition of hwmod data for omap2/3/4. > 2) McSPI driver hwmod adaptation with cleanup of base address >macros and using omap-device API's. > 3) Runtime Conversion of McSPI driver. I accidentally replied to the v

Re: [PATCH v4 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-24 Thread Kevin Hilman
"Govindraj.R" writes: [...] > Testing Updates: > > Was tested using data transfer test module available at: > http://dev.omapzoom.org/?p=richo/device_driver_test.git;a=blob;f=mcspi/test_code/ > utils/mcspi_modules/omap_mcspi_datatest.c; > h=e42ec10c5c844abdde6a7175a268b379fbbdb6

Re: [PATCH v4 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-24 Thread Kevin Hilman
Hi Govindraj, "Govindraj.R" writes: > Changes invloves: > > 1) Addition of hwmod data for omap2/3/4. > 2) McSPI driver hwmod adaptation with cleanup of base address >macros and using omap-device API's. > 3) Runtime Conversion of McSPI driver. Can you refresh this against cu

[SPAM] Revendez votre électricité ! Calculez vos revenus solaires

2011-01-24 Thread toit solaire
-- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February

Re: [PATCH 0/1] Renaming 'struct flash_platform_data' into 'struct spi_flash_platform_data' in include/linux/spi/flash.h

2011-01-24 Thread Grant Likely
On Mon, Jan 24, 2011 at 8:49 AM, Alexis RODET wrote: > Hi again, > > In facts I don't know which git URL to clone for getting linux-next as patch > base, can you tell me ? > I'm working on last stable release from > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git. git:

Re: [PATCH 0/1] Renaming 'struct flash_platform_data' into 'struct spi_flash_platform_data' in include/linux/spi/flash.h

2011-01-24 Thread Alexis RODET
Hi again, In facts I don't know which git URL to clone for getting linux-next as patch base, can you tell me ? I'm working on last stable release from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git. I wonder also what to do if people keep committing new files with old

Re: [PATCH v2] spi: add OpenCores tiny SPI driver

2011-01-24 Thread Grant Likely
On Mon, Jan 24, 2011 at 10:50:57PM +0800, Thomas Chou wrote: > Hi Jonas, > > On 01/24/2011 06:59 PM, Jonas Bonn wrote: > >We've discussed this a bit internally now and decided that the best way > >to version OpenCores cores is to use the SVN commit ID of the rtl/ > >directory in the project's repo

[PATCH 1/1] Renaming 'struct flash_platform_data' into 'struct spi_flash_platform_data' in include/linux/spi/flash.h

2011-01-24 Thread Alexis RODET
Here is the command line used for doing this: find . \( -name .git -prune -false -o -path ./include/linux/spi/flash.h -o \( -name \*.c -execdir grep -q '#include ' \{\} \; \) \) -execdir sed -i -e 's/struct flash_platform_data/struct spi_flash_platform_data/' \{\} \+ -execdir git add \{\} \+ -pr

Re: [PATCH 0/1] Renaming 'struct flash_platform_data' into 'struct spi_flash_platform_data' in include/linux/spi/flash.h

2011-01-24 Thread Alexis RODET
Hello Grant, On 21/01/2011 20:28, Grant Likely wrote : > Hi Alexis, > > Patch doesn't apply. Looks like it's whitespace damaged (tabs > converted to spaces). Did you try to cut & paste it? git send-email > is a more reliable way to post patches. Yes I did, sorry I hadn't installed git-send-emai

Re: [PATCH v2] spi: add OpenCores tiny SPI driver

2011-01-24 Thread Jonas Bonn
Hi Thomas, > > Versioning of OpenCores cores is not sorted yet. In order to avoid > > clashing with the versioning/naming scheme that's decided on, please > > just use a neutral version number for now (especially as your core is so > > new). e.g. "opencores,tiny-spi-0" > > > > Thanks. I will up

[PATCH/RFC 1/2] SPI: spi_sh_msiof: implement DMA support

2011-01-24 Thread Guennadi Liakhovetski
Use the sh_dma dmaengine driver to support DMA on MSIOF. not-Signed-off-by: Guennadi Liakhovetski --- As explained in patch 0/2, this is not for mainline drivers/spi/spi_sh_msiof.c | 381 +++--- include/linux/spi/sh_msiof.h |8 + 2 files changed, 363

[PATCH/RFC 2/2] sh: use DMA with MSIOF SPI on the sh7724 ecovec board

2011-01-24 Thread Guennadi Liakhovetski
On ecovec MSIOF0 is connected to an SD/MMC slot, this patch adds DMA support on it. not-Signed-off-by: Guennadi Liakhovetski --- FYI only arch/sh/boards/mach-ecovec24/setup.c | 11 ++- arch/sh/include/cpu-sh4/cpu/sh7724.h |4 arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 20

[PATCH/RFC 0/2] SPI: DMA support for MSIOF

2011-01-24 Thread Guennadi Liakhovetski
The MSIOF controller on sh-mobile systems can use DMA for data transfers. This patch implements support for it, using the sh_dma dmaengine driver. Attention: this is only RFC / for information now, because DMA mode is unstable in my stress-tests. So far only tested on ecovec with an SD-card, wh