linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow
@ 2015-05-06 16:32 Javier Martinez Canillas
  2015-05-06 16:36 ` Doug Anderson
  0 siblings, 1 reply; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-05-06 16:32 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: Krzysztof Kozlowski, Olof Johansson, Doug Anderson,
	linux-arm-kernel, linux-samsung-soc, linux-kernel,
	Javier Martinez Canillas

The Marvell mwifiex driver prevents the system to enter into a suspend
state if the card power is not preserved during a suspend/resume cycle.

So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow.

Add the keep-power-in-suspend Power Management property to the SDIO/MMC
node so the mwifiex suspend handler doesn't fail and the system is able
to enter into a suspend state.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---

Kukjin and Krzysztof,

I didn't notice that Snow was also missing this property when I did the
same change for Peach Pit and and Pi Chromebooks [0], sorry about that.

Best regards,
Javier

[0]: https://lkml.org/lkml/2015/4/7/377
---
 arch/arm/boot/dts/exynos5250-snow.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 2657e842e5a5..1eca97ee4bd6 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -567,6 +567,7 @@
 	num-slots = <1>;
 	broken-cd;
 	cap-sdio-irq;
+	keep-power-in-suspend;
 	card-detect-delay = <200>;
 	samsung,dw-mshc-ciu-div = <3>;
 	samsung,dw-mshc-sdr-timing = <2 3>;
-- 
2.1.4


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

* Re: [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow
  2015-05-06 16:32 [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow Javier Martinez Canillas
@ 2015-05-06 16:36 ` Doug Anderson
  2015-05-08  0:09   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Anderson @ 2015-05-06 16:36 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: Kukjin Kim, Krzysztof Kozlowski, Olof Johansson,
	linux-arm-kernel, linux-samsung-soc, linux-kernel

Javier,

On Wed, May 6, 2015 at 9:32 AM, Javier Martinez Canillas
<javier.martinez@collabora.co.uk> wrote:
> The Marvell mwifiex driver prevents the system to enter into a suspend
> state if the card power is not preserved during a suspend/resume cycle.
>
> So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow.
>
> Add the keep-power-in-suspend Power Management property to the SDIO/MMC
> node so the mwifiex suspend handler doesn't fail and the system is able
> to enter into a suspend state.
>
> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> ---
>
> Kukjin and Krzysztof,
>
> I didn't notice that Snow was also missing this property when I did the
> same change for Peach Pit and and Pi Chromebooks [0], sorry about that.
>
> Best regards,
> Javier
>
> [0]: https://lkml.org/lkml/2015/4/7/377
> ---
>  arch/arm/boot/dts/exynos5250-snow.dts | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Doug Anderson <dianders@chromium.org>

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

* Re: [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow
  2015-05-06 16:36 ` Doug Anderson
@ 2015-05-08  0:09   ` Krzysztof Kozlowski
  2015-05-08 18:14     ` [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO nodefor Snow Kukjin Kim
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-08  0:09 UTC (permalink / raw)
  To: Doug Anderson
  Cc: Javier Martinez Canillas, Krzysztof Kozlowski, linux-samsung-soc,
	linux-kernel, Kukjin Kim, Olof Johansson, linux-arm-kernel

2015-05-07 1:36 GMT+09:00 Doug Anderson <dianders@chromium.org>:
> Javier,
>
> On Wed, May 6, 2015 at 9:32 AM, Javier Martinez Canillas
> <javier.martinez@collabora.co.uk> wrote:
>> The Marvell mwifiex driver prevents the system to enter into a suspend
>> state if the card power is not preserved during a suspend/resume cycle.
>>
>> So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow.
>>
>> Add the keep-power-in-suspend Power Management property to the SDIO/MMC
>> node so the mwifiex suspend handler doesn't fail and the system is able
>> to enter into a suspend state.
>>
>> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> ---
>>
>> Kukjin and Krzysztof,
>>
>> I didn't notice that Snow was also missing this property when I did the
>> same change for Peach Pit and and Pi Chromebooks [0], sorry about that.
>>
>> Best regards,
>> Javier
>>
>> [0]: https://lkml.org/lkml/2015/4/7/377
>> ---
>>  arch/arm/boot/dts/exynos5250-snow.dts | 1 +
>>  1 file changed, 1 insertion(+)
>
> Reviewed-by: Doug Anderson <dianders@chromium.org>

Thanks, applied to dts-fixes branch, I'll try to push it sooner than
later but it depends on status of previous pull requests.

Best regards,
Krzysztof

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

* Re: [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO nodefor Snow
  2015-05-08  0:09   ` Krzysztof Kozlowski
@ 2015-05-08 18:14     ` Kukjin Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2015-05-08 18:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Doug Anderson, Javier Martinez Canillas, linux-samsung-soc,
	linux-kernel, Kukjin Kim, Olof Johansson, linux-arm-kernel

On 05/08/15 09:09, Krzysztof Kozlowski wrote:
> 2015-05-07 1:36 GMT+09:00 Doug Anderson <dianders@chromium.org>:
>> Javier,
>>
>> On Wed, May 6, 2015 at 9:32 AM, Javier Martinez Canillas
>> <javier.martinez@collabora.co.uk> wrote:
>>> The Marvell mwifiex driver prevents the system to enter into a suspend
>>> state if the card power is not preserved during a suspend/resume cycle.
>>>
>>> So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow.
>>>
>>> Add the keep-power-in-suspend Power Management property to the SDIO/MMC
>>> node so the mwifiex suspend handler doesn't fail and the system is able
>>> to enter into a suspend state.
>>>
>>> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>>> ---
>>>
>>> Kukjin and Krzysztof,
>>>
>>> I didn't notice that Snow was also missing this property when I did the
>>> same change for Peach Pit and and Pi Chromebooks [0], sorry about that.
>>>
No problem and thanks for your effort.

>>> Best regards,
>>> Javier
>>>
>>> [0]: https://lkml.org/lkml/2015/4/7/377
>>> ---
>>>  arch/arm/boot/dts/exynos5250-snow.dts | 1 +
>>>  1 file changed, 1 insertion(+)
>>
>> Reviewed-by: Doug Anderson <dianders@chromium.org>
> 
Doug, thanks for your review.

> Thanks, applied to dts-fixes branch, I'll try to push it sooner than
> later but it depends on status of previous pull requests.
> 
Krzysztof, I've applied this into my tree directly.
Thanks for your gentle reminder and time.

- Kukjin

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

end of thread, other threads:[~2015-05-08 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06 16:32 [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO node for Snow Javier Martinez Canillas
2015-05-06 16:36 ` Doug Anderson
2015-05-08  0:09   ` Krzysztof Kozlowski
2015-05-08 18:14     ` [PATCH 1/1] ARM: dts: Add keep-power-in-suspend to WiFi SDIO nodefor Snow Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).