[v4] ahci: imx: setup power saving methods

Tejun Heo tj at kernel.org
Tue Oct 15 08:47:50 EDT 2013


On Tue, Oct 15, 2013 at 10:44:54AM +0800, Richard Zhu wrote:
> From: Richard Zhu <r65037 at freescale.com>
> 
> In order to save power consumption amap.
> * Disable sata phy internal pll reference clock when
> sysetem enter into suspend mode, enable it after resume.
> * Setup module parameter used to enable imx ahci test power down
> mode(PDDQ) or not, when there is no device detected on the port
> * minor modifications:
>   - The format of the copyright is changed, because that the
>   original one can't pass fsl internal patch reivew without
>   the character '(c)'.
>   - exports ahci_platform_ops and ahci_error_handler
> 
> NOTE:
> - The hot-plug can't be supported when PDDQ mode is
> ever enabled.
> - module parameter usage how-to:
>   * default: enable PDDQ mode when no device detected.
>   * add "ahci-imx.hotplug=1" into kernel command line if
>   your don't want to enable PDDQ mode when no device
>   detected on the port.
> 
> Signed-off-by: Richard Zhu <r65037 at freescale.com>

Applied to libata/for-3.13 with minor modifications.

Thanks.

-- 
tejun



More information about the linux-arm-kernel mailing list