diff options
author | Richard Zhu <r65037@freescale.com> | 2011-06-01 13:49:52 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-06-03 16:45:38 -0500 |
commit | a2c91bef91680fa94e4e629c4bc1dd6a8225b1ca (patch) | |
tree | 723b77d2880ebae7c4ec5f4c3b4f91cc24a2102b | |
parent | 960378fcf074074858047cbd50702098ff7500ee (diff) |
ENGR00144104-2 AHCI: Some usb related clocks are always on even without USB disk
In order to decrease the pwr consumption, release the CLK
resources such as usb_phy1_clk, when there is no SATA device
adaptored into the AHCI SATA port. The HOTPLUG feature can't
be enabled in this situation.
Modify the AHCI confiuration to control the configurations of
AHCI_SAVE_PWR_WITHOUT_HOTPLUG macro used in AHCI driver.
Signed-off-by: Richard Zhu <r65037@freescale.com>
-rw-r--r-- | drivers/ata/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index c3205953863e..873dcf919ba4 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -75,6 +75,18 @@ config SATA_AHCI_PLATFORM If unsure, say N. +config SATA_AHCI_FSL_NO_HOTPLUG_MODE + bool "Freescale i.MX SATA AHCI NO HOTPLUG mode" + depends on SATA_AHCI_PLATFORM != n + default n + help + In order to decrease the pwr consumption, release the CLK resources + such as usb_phy1_clk, when there is no SATA device adaptored into the + AHCI SATA port. The HOTPLUG feature can't be enabled in this situation. + Please disable this option if the HOTPLUG is mandatory required. + + If unsure, say N. + config SATA_FSL tristate "Freescale 3.0Gbps SATA support" depends on FSL_SOC |