All of lore.kernel.org
 help / color / mirror / Atom feed
* amba_pl022 spi->mode fix/cleanup patches
@ 2010-09-10 16:19 ` wellsk40 at gmail.com
  0 siblings, 0 replies; 26+ messages in thread
From: wellsk40 @ 2010-09-10 16:19 UTC (permalink / raw)
  To: linus.walleij, spi-devel-general
  Cc: sameo, rabin.vincent, srinidhi.kasagar, linux-kernel, linux,
	u.kleine-koenig, linux-arm-kernel, tj, grant.likely, Lukasz.Baj,
	quentinyang05

This patch series updates drivers and platforms that depend on the
amba_pl022 driver and use the pl022_config_chip structure for
setting up the SPI mode and data transfer width.

The SPI configuration (CPOL/CPHA mode, bit send order, data bits per
word, and loopback mode) were previously setup as part of board
specific data in the pl022_config_chip structure. This has been
changed to now use the .mode field in spi_board_info structure (or
drivers that setup the mode). The SPI transfer's data width is now
configured from spi->bits_per_word.

The SPI driver changes have been previously submitted to the SPI ML.
This patch series need to be layered on that patch series.

These changes add or fix the .mode field in the plats/boards that use the
driver (u300, ux500, lpc32xx). The patches also move the data width
from the board specific area to the driver for mfd/ab8500. As the
fields in the pl022_config_chip structure are no longer needed, they
are removed in the last patch.

These changes have been tested on the phy3250 platform (lpc32xx). I
was able to test the ab8500 driver to some degree, but I only have a
standard pl022. I am unable to test u300 and ux500 changes, but the
u300 changes compiled fine.

[PATCH 1/5] mfd/ab8500: Setup SPI transfer for 24 bits
[PATCH 2/5] ARM: LPC32XX: Add missing SPI mode and remove unused fields
[PATCH 3/5] ARM: U300: spi->mode and spi_bits_per_words updates
[PATCH 4/5] ARM: Ux500: Change SPI mode and remove unused fields
[PATCH 5/5] spi: amba_pl022: Remove unused fields from pl022_config_chip

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

end of thread, other threads:[~2010-09-16  3:14 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-10 16:19 amba_pl022 spi->mode fix/cleanup patches wellsk40
2010-09-10 16:19 ` wellsk40 at gmail.com
2010-09-10 16:19 ` [PATCH 1/5] mfd/ab8500: Setup SPI transfer for 24 bits wellsk40
2010-09-10 16:19   ` wellsk40 at gmail.com
2010-09-10 16:19 ` [PATCH 2/5] ARM: LPC32XX: Add missing SPI mode and remove unused fields wellsk40
2010-09-10 16:19   ` wellsk40 at gmail.com
2010-09-10 16:19   ` wellsk40-Re5JQEeQqe8AvxtiuMwx3w
2010-09-10 16:19 ` [PATCH 3/5] ARM: U300: spi->mode and spi_bits_per_words updates wellsk40
2010-09-10 16:19   ` wellsk40 at gmail.com
2010-09-10 16:19 ` [PATCH 4/5] ARM: Ux500: Change SPI mode and remove unused fields wellsk40
2010-09-10 16:19   ` wellsk40 at gmail.com
2010-09-10 16:19   ` wellsk40-Re5JQEeQqe8AvxtiuMwx3w
2010-09-10 16:19 ` [PATCH 5/5] spi: amba_pl022: Remove unused fields from pl022_config_chip wellsk40
2010-09-10 16:19   ` wellsk40 at gmail.com
2010-09-13 13:22   ` Linus Walleij
2010-09-13 13:22     ` Linus Walleij
2010-09-13 14:55     ` Linus Walleij
2010-09-13 14:55       ` Linus Walleij
2010-09-13 15:19 ` amba_pl022 spi->mode fix/cleanup patches Linus Walleij
2010-09-13 15:19   ` Linus Walleij
2010-09-13 15:19   ` Linus Walleij
2010-09-13 16:52   ` Kevin Wells
2010-09-13 16:52     ` Kevin Wells
2010-09-13 16:52     ` Kevin Wells
2010-09-16  3:14 ` Grant Likely
2010-09-16  3:14   ` Grant Likely

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.