* [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on
@ 2014-03-24 4:23 Yuvaraj Kumar C D
2014-03-24 4:29 ` Jaehoon Chung
0 siblings, 1 reply; 5+ messages in thread
From: Yuvaraj Kumar C D @ 2014-03-24 4:23 UTC (permalink / raw)
To: linux-arm-kernel
The mmc part in exynos supports SDIO interrupts and they work fine, so
turn the capability on. With this I see download speeds increase
about 10x.
This V1 of this patch is posted to LKML at
https://patchwork.kernel.org/patch/2429661/) by Doug Anderson.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
---
drivers/mmc/host/dw_mmc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 0c56faa..240949d 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
if (of_get_property(np, "cd-inverted", NULL))
pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;
+ if (of_find_property(np, "cap-sdio-irq", NULL))
+ pdata->caps |= MMC_CAP_SDIO_IRQ;
+
return pdata;
}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on
2014-03-24 4:23 [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on Yuvaraj Kumar C D
@ 2014-03-24 4:29 ` Jaehoon Chung
2014-03-24 4:42 ` Yuvaraj Kumar
0 siblings, 1 reply; 5+ messages in thread
From: Jaehoon Chung @ 2014-03-24 4:29 UTC (permalink / raw)
To: linux-arm-kernel
Hi, Yuvaraj.
NACK. we can use "mmc_of_parese()".
I have sent the patch that use "mmc_of_parse()".
https://patchwork.kernel.org/patch/3750681/
Best Regards,
Jaehoon Chung
On 03/24/2014 01:23 PM, Yuvaraj Kumar C D wrote:
> The mmc part in exynos supports SDIO interrupts and they work fine, so
> turn the capability on. With this I see download speeds increase
> about 10x.
>
> This V1 of this patch is posted to LKML at
> https://patchwork.kernel.org/patch/2429661/) by Doug Anderson.
>
> Signed-off-by: Doug Anderson <dianders@chromium.org>
> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
> ---
> drivers/mmc/host/dw_mmc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 0c56faa..240949d 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
> if (of_get_property(np, "cd-inverted", NULL))
> pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;
>
> + if (of_find_property(np, "cap-sdio-irq", NULL))
> + pdata->caps |= MMC_CAP_SDIO_IRQ;
> +
> return pdata;
> }
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on
2014-03-24 4:29 ` Jaehoon Chung
@ 2014-03-24 4:42 ` Yuvaraj Kumar
2014-04-23 4:12 ` Alim Akhtar
0 siblings, 1 reply; 5+ messages in thread
From: Yuvaraj Kumar @ 2014-03-24 4:42 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 24, 2014 at 9:59 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> Hi, Yuvaraj.
>
> NACK. we can use "mmc_of_parese()".
Thanks Jaehoon for the pointer.I will use "mmc_of_parse()".
>
> I have sent the patch that use "mmc_of_parse()".
> https://patchwork.kernel.org/patch/3750681/
>
> Best Regards,
> Jaehoon Chung
>
> On 03/24/2014 01:23 PM, Yuvaraj Kumar C D wrote:
>> The mmc part in exynos supports SDIO interrupts and they work fine, so
>> turn the capability on. With this I see download speeds increase
>> about 10x.
>>
>> This V1 of this patch is posted to LKML at
>> https://patchwork.kernel.org/patch/2429661/) by Doug Anderson.
>>
>> Signed-off-by: Doug Anderson <dianders@chromium.org>
>> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
>> ---
>> drivers/mmc/host/dw_mmc.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
>> index 0c56faa..240949d 100644
>> --- a/drivers/mmc/host/dw_mmc.c
>> +++ b/drivers/mmc/host/dw_mmc.c
>> @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
>> if (of_get_property(np, "cd-inverted", NULL))
>> pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;
>>
>> + if (of_find_property(np, "cap-sdio-irq", NULL))
>> + pdata->caps |= MMC_CAP_SDIO_IRQ;
>> +
>> return pdata;
>> }
>>
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on
2014-03-24 4:42 ` Yuvaraj Kumar
@ 2014-04-23 4:12 ` Alim Akhtar
2014-04-23 6:54 ` Yuvaraj Cd
0 siblings, 1 reply; 5+ messages in thread
From: Alim Akhtar @ 2014-04-23 4:12 UTC (permalink / raw)
To: linux-arm-kernel
Hi Yuvaraj,
On Mon, Mar 24, 2014 at 10:12 AM, Yuvaraj Kumar <yuvaraj.cd@gmail.com> wrote:
> On Mon, Mar 24, 2014 at 9:59 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> Hi, Yuvaraj.
>>
>> NACK. we can use "mmc_of_parese()".
> Thanks Jaehoon for the pointer.I will use "mmc_of_parse()".
Are you planning to re-spin this patch? Now Jaehoon's changes for
using mmc_of_parse() is landed in mmc-next.
Thanks!!
>>
>> I have sent the patch that use "mmc_of_parse()".
>> https://patchwork.kernel.org/patch/3750681/
>>
>> Best Regards,
>> Jaehoon Chung
>>
>> On 03/24/2014 01:23 PM, Yuvaraj Kumar C D wrote:
>>> The mmc part in exynos supports SDIO interrupts and they work fine, so
>>> turn the capability on. With this I see download speeds increase
>>> about 10x.
>>>
>>> This V1 of this patch is posted to LKML at
>>> https://patchwork.kernel.org/patch/2429661/) by Doug Anderson.
>>>
>>> Signed-off-by: Doug Anderson <dianders@chromium.org>
>>> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
>>> ---
>>> drivers/mmc/host/dw_mmc.c | 3 +++
>>> 1 file changed, 3 insertions(+)
>>>
>>> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
>>> index 0c56faa..240949d 100644
>>> --- a/drivers/mmc/host/dw_mmc.c
>>> +++ b/drivers/mmc/host/dw_mmc.c
>>> @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
>>> if (of_get_property(np, "cd-inverted", NULL))
>>> pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;
>>>
>>> + if (of_find_property(np, "cap-sdio-irq", NULL))
>>> + pdata->caps |= MMC_CAP_SDIO_IRQ;
>>> +
>>> return pdata;
>>> }
>>>
>>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Regards,
Alim
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on
2014-04-23 4:12 ` Alim Akhtar
@ 2014-04-23 6:54 ` Yuvaraj Cd
0 siblings, 0 replies; 5+ messages in thread
From: Yuvaraj Cd @ 2014-04-23 6:54 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Apr 23, 2014 at 9:42 AM, Alim Akhtar <alim.akhtar@gmail.com> wrote:
> Hi Yuvaraj,
>
> On Mon, Mar 24, 2014 at 10:12 AM, Yuvaraj Kumar <yuvaraj.cd@gmail.com> wrote:
>> On Mon, Mar 24, 2014 at 9:59 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>>> Hi, Yuvaraj.
>>>
>>> NACK. we can use "mmc_of_parese()".
>> Thanks Jaehoon for the pointer.I will use "mmc_of_parse()".
> Are you planning to re-spin this patch? Now Jaehoon's changes for
> using mmc_of_parse() is landed in mmc-next.
As its already added mmc_of_parse(),no respin of this.
Just we need to use it in DT.
> Thanks!!
>>>
>>> I have sent the patch that use "mmc_of_parse()".
>>> https://patchwork.kernel.org/patch/3750681/
>>>
>>> Best Regards,
>>> Jaehoon Chung
>>>
>>> On 03/24/2014 01:23 PM, Yuvaraj Kumar C D wrote:
>>>> The mmc part in exynos supports SDIO interrupts and they work fine, so
>>>> turn the capability on. With this I see download speeds increase
>>>> about 10x.
>>>>
>>>> This V1 of this patch is posted to LKML at
>>>> https://patchwork.kernel.org/patch/2429661/) by Doug Anderson.
>>>>
>>>> Signed-off-by: Doug Anderson <dianders@chromium.org>
>>>> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
>>>> ---
>>>> drivers/mmc/host/dw_mmc.c | 3 +++
>>>> 1 file changed, 3 insertions(+)
>>>>
>>>> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
>>>> index 0c56faa..240949d 100644
>>>> --- a/drivers/mmc/host/dw_mmc.c
>>>> +++ b/drivers/mmc/host/dw_mmc.c
>>>> @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
>>>> if (of_get_property(np, "cd-inverted", NULL))
>>>> pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;
>>>>
>>>> + if (of_find_property(np, "cap-sdio-irq", NULL))
>>>> + pdata->caps |= MMC_CAP_SDIO_IRQ;
>>>> +
>>>> return pdata;
>>>> }
>>>>
>>>>
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Regards,
> Alim
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-23 6:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 4:23 [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on Yuvaraj Kumar C D
2014-03-24 4:29 ` Jaehoon Chung
2014-03-24 4:42 ` Yuvaraj Kumar
2014-04-23 4:12 ` Alim Akhtar
2014-04-23 6:54 ` Yuvaraj Cd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox