Re: [PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-21 Thread Masahiro Yamada
Hi Adrian, 2017-08-21 20:48 GMT+09:00 Adrian Hunter : >> +static int sdhci_cdns_resume(struct device *dev) >> +{ >> + struct sdhci_host *host = dev_get_drvdata(dev); >> + struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); >> + struct sdhci_cdns_priv

Re: [PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-21 Thread Masahiro Yamada
Hi Adrian, 2017-08-21 20:48 GMT+09:00 Adrian Hunter : >> +static int sdhci_cdns_resume(struct device *dev) >> +{ >> + struct sdhci_host *host = dev_get_drvdata(dev); >> + struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); >> + struct sdhci_cdns_priv *priv =

Re: [PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-21 Thread Adrian Hunter
On 15/08/17 18:45, Masahiro Yamada wrote: > Currently, the probe function initializes the PHY, but PHY settings > are lost during the sleep state. Restore the PHY registers when > resuming. > > To facilitate this, split sdhci_cdns_phy_init() into the DT parse > part and PHY update part so that

Re: [PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-21 Thread Adrian Hunter
On 15/08/17 18:45, Masahiro Yamada wrote: > Currently, the probe function initializes the PHY, but PHY settings > are lost during the sleep state. Restore the PHY registers when > resuming. > > To facilitate this, split sdhci_cdns_phy_init() into the DT parse > part and PHY update part so that

[PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-15 Thread Masahiro Yamada
Currently, the probe function initializes the PHY, but PHY settings are lost during the sleep state. Restore the PHY registers when resuming. To facilitate this, split sdhci_cdns_phy_init() into the DT parse part and PHY update part so that the latter can be invoked from the resume hook.

[PATCH v3 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-15 Thread Masahiro Yamada
Currently, the probe function initializes the PHY, but PHY settings are lost during the sleep state. Restore the PHY registers when resuming. To facilitate this, split sdhci_cdns_phy_init() into the DT parse part and PHY update part so that the latter can be invoked from the resume hook.