From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753941AbbJSO5H (ORCPT ); Mon, 19 Oct 2015 10:57:07 -0400 Received: from lucky1.263xmail.com ([211.157.147.131]:57030 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750995AbbJSO5F (ORCPT ); Mon, 19 Oct 2015 10:57:05 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: shawn.lin@rock-chips.com X-FST-TO: devicetree@vger.kernel.org X-SENDER-IP: 220.200.5.162 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: <05ddbc0fef766c29e4c4a5871eb0fa78> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH 1/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan To: Ulf Hansson References: <1441961698-10516-1-git-send-email-shawn.lin@rock-chips.com> <56243E85.2040202@rock-chips.com> <5624AC51.9060907@rock-chips.com> Cc: shawn.lin@rock-chips.com, Michal Simek , S?ren Brinkmann , linux-mmc , "linux-kernel@vger.kernel.org" , "open list:ARM/Rockchip SoC..." , "devicetree@vger.kernel.org" From: Shawn Lin Message-ID: <562504B5.7090206@rock-chips.com> Date: Mon, 19 Oct 2015 22:56:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/10/19 18:54, Ulf Hansson wrote: > [...] > [...] > >> >>> 2) Considering the runtime PM case for the sdhci device. Typically you >>> can gate clocks etc at runtime suspend to save power, but what about >>> the phy? Can you power off it in runtime suspend? >> >> >> yes, we can power off it in runtime suspend. So we can append some patches >> later to introduce runtime pm for sdhci-of-arasan? > > Yes, that's fine. I would thus expect that you want to do phy power > off/on from the runtime PM callbacks, right!? > > If that's the case I think $subject patch should deal with *both* phy > init and phy power on during ->probe(). > yes. I will do phy power_off/on from runtime pm for the next version of $subject patchset. Thanks. > Kind regards > Uffe > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- Best Regards Shawn Lin