From: Chris Ball <cjb@laptop.org>
To: Simon Horman <horms@verge.net.au>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Magnus Damm <magnus.damm@gmail.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for idle
Date: Tue, 21 Jun 2011 12:10:22 -0400 [thread overview]
Message-ID: <m2aadbtbbl.fsf@bob.laptop.org> (raw)
In-Reply-To: <1308610812-3479-6-git-send-email-horms@verge.net.au> (Simon Horman's message of "Tue, 21 Jun 2011 08:00:12 +0900")
Hi Paul,
On Mon, Jun 20 2011, Simon Horman wrote:
> The SDHI block on the ag5evm requires waiting for idle
> before writing to some registers.
>
> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Signed-off-by: Simon Horman <horms@verge.net.au>
>
> ---
>
> Dependencies:
> "mmc: sdhi: Add write16_hook"
> "ARM: mach-shmobile: ag5evm: consistently name sdhi info structures"
> ---
> arch/arm/mach-shmobile/board-ag5evm.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
> index ce5c251..cdfdd62 100644
> --- a/arch/arm/mach-shmobile/board-ag5evm.c
> +++ b/arch/arm/mach-shmobile/board-ag5evm.c
> @@ -341,6 +341,7 @@ static struct platform_device mipidsi0_device = {
> static struct sh_mobile_sdhi_info sdhi0_info = {
> .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
> .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
> + .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
> .tmio_caps = MMC_CAP_SD_HIGHSPEED,
> .tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29,
> };
> @@ -382,7 +383,7 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state)
> }
>
> static struct sh_mobile_sdhi_info sh_sdhi1_info = {
> - .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
> + .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT,
> .tmio_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
> .tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
> .set_pwr = ag5evm_sdhi1_set_pwr,
Could I get your ACK for this one, so that I can merge patches 1/2/3/5
together via the MMC tree?
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
WARNING: multiple messages have this Message-ID (diff)
From: Chris Ball <cjb@laptop.org>
To: Simon Horman <horms@verge.net.au>
Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org,
Magnus Damm <magnus.damm@gmail.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for idle
Date: Tue, 21 Jun 2011 16:10:22 +0000 [thread overview]
Message-ID: <m2aadbtbbl.fsf@bob.laptop.org> (raw)
In-Reply-To: <1308610812-3479-6-git-send-email-horms@verge.net.au> (Simon Horman's message of "Tue, 21 Jun 2011 08:00:12 +0900")
Hi Paul,
On Mon, Jun 20 2011, Simon Horman wrote:
> The SDHI block on the ag5evm requires waiting for idle
> before writing to some registers.
>
> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Signed-off-by: Simon Horman <horms@verge.net.au>
>
> ---
>
> Dependencies:
> "mmc: sdhi: Add write16_hook"
> "ARM: mach-shmobile: ag5evm: consistently name sdhi info structures"
> ---
> arch/arm/mach-shmobile/board-ag5evm.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
> index ce5c251..cdfdd62 100644
> --- a/arch/arm/mach-shmobile/board-ag5evm.c
> +++ b/arch/arm/mach-shmobile/board-ag5evm.c
> @@ -341,6 +341,7 @@ static struct platform_device mipidsi0_device = {
> static struct sh_mobile_sdhi_info sdhi0_info = {
> .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
> .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
> + .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
> .tmio_caps = MMC_CAP_SD_HIGHSPEED,
> .tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29,
> };
> @@ -382,7 +383,7 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state)
> }
>
> static struct sh_mobile_sdhi_info sh_sdhi1_info = {
> - .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
> + .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT,
> .tmio_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
> .tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
> .set_pwr = ag5evm_sdhi1_set_pwr,
Could I get your ACK for this one, so that I can merge patches 1/2/3/5
together via the MMC tree?
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2011-06-21 16:10 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 23:00 [PATCH 0/5 v2] mmc: sdhi: Allow waiting for idle Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-20 23:00 ` [PATCH 1/5] mmc: tmio: name 0xd8 as CTL_DMA_ENABLE Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-20 23:00 ` [PATCH 2/5] mmc: tmio: Share register access functions Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-20 23:00 ` [PATCH 3/5] mmc: sdhi: Add write16_hook Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-21 0:36 ` Magnus Damm
2011-06-21 0:36 ` Magnus Damm
2011-06-21 0:50 ` Simon Horman
2011-06-21 0:50 ` Simon Horman
2011-06-21 0:59 ` Magnus Damm
2011-06-21 0:59 ` Magnus Damm
2011-06-21 1:13 ` Simon Horman
2011-06-21 1:13 ` Simon Horman
2011-06-21 1:36 ` Magnus Damm
2011-06-21 1:36 ` Magnus Damm
2011-06-21 2:09 ` Simon Horman
2011-06-21 2:09 ` Simon Horman
2011-06-21 2:34 ` Magnus Damm
2011-06-21 2:34 ` Magnus Damm
2011-06-20 23:00 ` [PATCH 4/5] ARM: mach-shmobile: ag5evm: consistently name sdhi info structures Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-21 8:50 ` Paul Mundt
2011-06-21 8:50 ` Paul Mundt
2011-06-20 23:00 ` [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires waiting for idle Simon Horman
2011-06-20 23:00 ` Simon Horman
2011-06-21 16:10 ` Chris Ball [this message]
2011-06-21 16:10 ` Chris Ball
2011-06-21 16:27 ` Paul Mundt
2011-06-21 16:27 ` Paul Mundt
2011-06-21 16:37 ` Chris Ball
2011-06-21 16:37 ` Chris Ball
-- strict thread matches above, loose matches on Subject: below --
2011-06-20 6:06 [PATCH 0/5] mmc: sdhi: Allow " Simon Horman
2011-06-20 6:06 ` [PATCH 5/5] ARM: mach-shmobile: ag5evm: SDHI requires " Simon Horman
2011-06-20 6:06 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2aadbtbbl.fsf@bob.laptop.org \
--to=cjb@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=horms@verge.net.au \
--cc=lethal@linux-sh.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.