public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] mmc: sdhi: Allow waiting for idle
@ 2011-06-20  6:06 Simon Horman
  2011-06-20  6:06 ` [PATCH 1/5] mmc: tmio: name 0xd8 as CTL_DMA_ENABLE Simon Horman
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Simon Horman @ 2011-06-20  6:06 UTC (permalink / raw)
  To: linux-mmc, linux-sh
  Cc: Magnus Damm, Guennadi Liakhovetski, Paul Mundt, Chris Ball

Some SDHI controllers require waiting for the SD bus to become
idle before writing to some registers. This series allows
this to occur by:
	* ensuring all relevant accesses are made via sd_ctrl_write16()
	* Adding a hook to sd_ctrl_write16()
	* Supplying a hook that implements waiting for idle

The series also includes some clean-ups of related code.

The first three patches are intended for the mmc tree
	* [PATCH 1/5] mmc: tmio: name 0xd8 as CTL_DMA_ENABLE
	* [PATCH 2/5] mmc: tmio: Share register access functions
	* [PATCH 3/5] mmc: sdhi: Add write16_hook

The remaining two patches are intended for the rmobile tree
	* [PATCH 4/5] ARM: mach-shmobile: ag5evm: consistently name sdhi info
	* [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for

I am not aware of any dependencies on patches outside this series.
Dependencies on patches within the series are noted inline.


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH 0/5 v2] mmc: sdhi: Allow waiting for idle
@ 2011-06-20 23:00 Simon Horman
  2011-06-20 23:00 ` [PATCH 3/5] mmc: sdhi: Add write16_hook Simon Horman
  0 siblings, 1 reply; 20+ messages in thread
From: Simon Horman @ 2011-06-20 23:00 UTC (permalink / raw)
  To: linux-mmc, linux-sh
  Cc: Magnus Damm, Guennadi Liakhovetski, Paul Mundt, Chris Ball

Some SDHI controllers require waiting for the SD bus to become
idle before writing to some registers. This series allows
this to occur by:
	* ensuring all relevant accesses are made via sd_ctrl_write16()
	* Adding a hook to sd_ctrl_write16()
	* Supplying a hook that implements waiting for idle

The series also includes some clean-ups of related code.

The first three patches are intended for the mmc tree
	* [PATCH 1/5] mmc: tmio: name 0xd8 as CTL_DMA_ENABLE
	* [PATCH 2/5] mmc: tmio: Share register access functions
	* [PATCH 3/5] mmc: sdhi: Add write16_hook

The remaining two patches are intended for the rmobile tree
	* [PATCH 4/5] ARM: mach-shmobile: ag5evm: consistently name sdhi info
	* [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for

I am not aware of any dependencies on patches outside this series.
Dependencies on patches within the series are noted inline.

This is v2 of this patch series, issues addressed since v1 are
all in [PATCH 3/5] mmc: sdhi: Add write16_hook:
	* Include linux/delay.h instead of asm/delay.h
	* Skip write if sh_mobile_sdhi_wait_idle() times out
	  - The bus will probably be in an inconsistent state and writing
	    may lock up the bus
	* Only set hook if TMIO_MMC_HAS_IDLE_WAIT is set in platform data
	  rather than checking for TMIO_MMC_HAS_IDLE_WAIT each time the
	  hook is called.


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

end of thread, other threads:[~2011-06-21  2:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20  6:06 [PATCH 0/5] mmc: sdhi: Allow waiting for idle Simon Horman
2011-06-20  6:06 ` [PATCH 1/5] mmc: tmio: name 0xd8 as CTL_DMA_ENABLE Simon Horman
2011-06-20  6:06 ` [PATCH 2/5] mmc: tmio: Share register access functions Simon Horman
2011-06-20  6:06 ` [PATCH 3/5] mmc: sdhi: Add write16_hook Simon Horman
2011-06-20  6:25   ` Paul Mundt
2011-06-20 13:42     ` Simon Horman
2011-06-20  6:29   ` Guennadi Liakhovetski
2011-06-20 13:40     ` Simon Horman
2011-06-20  7:04   ` Magnus Damm
2011-06-20 13:40     ` Simon Horman
2011-06-20  6:06 ` [PATCH 4/5] ARM: mach-shmobile: ag5evm: consistently name sdhi info structures Simon Horman
2011-06-20  6:06 ` [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for idle Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2011-06-20 23:00 [PATCH 0/5 v2] mmc: sdhi: Allow " Simon Horman
2011-06-20 23:00 ` [PATCH 3/5] mmc: sdhi: Add write16_hook Simon Horman
2011-06-21  0:36   ` Magnus Damm
2011-06-21  0:50     ` Simon Horman
2011-06-21  0:59       ` Magnus Damm
2011-06-21  1:13         ` Simon Horman
2011-06-21  1:36           ` Magnus Damm
2011-06-21  2:09             ` Simon Horman
2011-06-21  2:34               ` Magnus Damm

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