public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/5] kirkwood spi_claim/release_bus support
@ 2012-05-31 14:17 Valentin Longchamp
  2012-05-31 14:17 ` [U-Boot] [PATCH v3 1/5] kirkwood: add save functionality kirkwood_mpp_conf function Valentin Longchamp
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Valentin Longchamp @ 2012-05-31 14:17 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

Changes for v3:
	- moved mpp_read function functionality into mpp_conf function
	- fixed all calls to mpp_conf so that they are compliant with the
	newly necessary mpp_conf prototype	

Valentin Longchamp (5):
  kirkwood: add save functionality kirkwood_mpp_conf function
  kirkwood: fix calls to kirkwood_mpp_conf
  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           |   14 ++++-
 arch/arm/include/asm/arch-kirkwood/mpp.h        |    2 +-
 arch/arm/include/asm/arch-kirkwood/spi.h        |   11 ++++
 board/LaCie/net2big_v2/net2big_v2.c             |    2 +-
 board/LaCie/netspace_v2/netspace_v2.c           |    2 +-
 board/Marvell/dreamplug/dreamplug.c             |    2 +-
 board/Marvell/guruplug/guruplug.c               |    2 +-
 board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c |    2 +-
 board/Marvell/openrd/openrd.c                   |    2 +-
 board/Marvell/rd6281a/rd6281a.c                 |    2 +-
 board/Marvell/sheevaplug/sheevaplug.c           |    2 +-
 board/Seagate/dockstar/dockstar.c               |    2 +-
 board/cloudengines/pogo_e02/pogo_e02.c          |    2 +-
 board/d-link/dns325/dns325.c                    |    2 +-
 board/keymile/km_arm/km_arm.c                   |    6 +-
 board/raidsonic/ib62x0/ib62x0.c                 |    2 +-
 drivers/spi/kirkwood_spi.c                      |   64 +++++++++++++++++++----
 17 files changed, 93 insertions(+), 28 deletions(-)

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

end of thread, other threads:[~2012-06-07  9:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 14:17 [U-Boot] [PATCH v3 0/5] kirkwood spi_claim/release_bus support Valentin Longchamp
2012-05-31 14:17 ` [U-Boot] [PATCH v3 1/5] kirkwood: add save functionality kirkwood_mpp_conf function Valentin Longchamp
2012-05-31 23:02   ` Luka Perkov
2012-06-01  7:03     ` Valentin Longchamp
2012-06-01  8:46       ` Prafulla Wadaskar
2012-06-01  9:03         ` [U-Boot] [PATCH v4 " Valentin Longchamp
2012-06-01  9:09           ` Prafulla Wadaskar
2012-06-01  9:25         ` [U-Boot] [PATCH v4 0/5] kirkwood spi_claim/release_bus support Valentin Longchamp
2012-06-01 11:30           ` [U-Boot] [PATCH v4 1/5] kirkwood: add save functionality kirkwood_mpp_conf function Valentin Longchamp
2012-06-01 11:31           ` [U-Boot] [PATCH v4 2/5] kirkwood: fix calls to kirkwood_mpp_conf Valentin Longchamp
2012-06-01 11:31           ` [U-Boot] [PATCH v4 3/5] kw_spi: backup and reset the MPP of the chosen CS pin Valentin Longchamp
2012-06-01 11:31           ` [U-Boot] [PATCH v4 4/5] kw_spi: support spi_claim/release_bus functions Valentin Longchamp
2012-06-01 11:31           ` [U-Boot] [PATCH v4 5/5] kw_spi: add weak functions board_spi_claim/release_bus Valentin Longchamp
2012-06-05 14:21             ` [U-Boot] [PATCH v4 5/5] wispy: " Prafulla Wadaskar
2012-06-07  9:44               ` Valentin Longchamp
2012-05-31 14:17 ` [U-Boot] [PATCH v3 2/5] kirkwood: fix calls to kirkwood_mpp_conf Valentin Longchamp
2012-05-31 14:17 ` [U-Boot] [PATCH v3 3/5] kw_spi: backup and reset the MPP of the chosen CS pin Valentin Longchamp
2012-05-31 14:17 ` [U-Boot] [PATCH v3 4/5] kw_spi: support spi_claim/release_bus functions Valentin Longchamp
2012-05-31 14:17 ` [U-Boot] [PATCH v3 5/5] kw_spi: add weak functions board_spi_claim/release_bus Valentin Longchamp

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