public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/4] kirkwood spi_claim/release_bus support
@ 2012-05-30 15:42 Valentin Longchamp
  2012-05-30 15:42 ` [U-Boot] [PATCH v2 1/4] kirkwood: add kirkwood_mpp_read function Valentin Longchamp
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Valentin Longchamp @ 2012-05-30 15:42 UTC (permalink / raw)
  To: u-boot

This series adds generic support for the spi_claim/release_bus functions for
the kirkwood processors.

The implementation was already discussed in another thread following my first
board specific submission of the patch.

The series adds two functions to the kirkwood mpp code to be able to temporarily
save and then restore the mpp configuration.

Changes for v2:
	- save MPP configuration with mpp_read function as dicussed on ML
	- moved CS pin MPP config to spi_setup_slave only
	- add backup fo CS pin in spi_setup_slave and reset in spi_free_slave

Valentin Longchamp (4):
  kirkwood: add kirkwood_mpp_read function
  kw_spi: backup and reset the MPP of the chosen CS pin
  kw_spi: support spi_claim/release_bus functions
  kw_spi: add weak functions board_spi_claim/release_bus

 arch/arm/cpu/arm926ejs/kirkwood/mpp.c    |   41 +++++++++++++++++++
 arch/arm/include/asm/arch-kirkwood/mpp.h |    1 +
 arch/arm/include/asm/arch-kirkwood/spi.h |   11 +++++
 drivers/spi/kirkwood_spi.c               |   65 +++++++++++++++++++++++++----
 4 files changed, 109 insertions(+), 9 deletions(-)

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

end of thread, other threads:[~2012-05-31 14:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 15:42 [U-Boot] [PATCH v2 0/4] kirkwood spi_claim/release_bus support Valentin Longchamp
2012-05-30 15:42 ` [U-Boot] [PATCH v2 1/4] kirkwood: add kirkwood_mpp_read function Valentin Longchamp
2012-05-31  8:30   ` Prafulla Wadaskar
2012-05-31  8:43     ` Valentin Longchamp
2012-05-31  8:49       ` Prafulla Wadaskar
2012-05-31 14:04         ` Valentin Longchamp
2012-05-30 15:42 ` [U-Boot] [PATCH v2 2/4] kw_spi: backup and reset the MPP of the chosen CS pin Valentin Longchamp
2012-05-31  8:36   ` Prafulla Wadaskar
2012-05-31  8:45     ` Valentin Longchamp
2012-05-30 15:42 ` [U-Boot] [PATCH v2 3/4] kw_spi: support spi_claim/release_bus functions Valentin Longchamp
2012-05-31  8:44   ` Prafulla Wadaskar
2012-05-30 15:42 ` [U-Boot] [PATCH v2 4/4] kw_spi: add weak functions board_spi_claim/release_bus Valentin Longchamp
2012-05-31  8:45   ` Prafulla Wadaskar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox