summaryrefslogtreecommitdiff
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorYen Lin <yelin@nvidia.com>2012-03-12 17:07:58 -0700
committerWinnie Hsu <whsu@nvidia.com>2012-05-25 17:05:20 -0700
commit0352b8b063253b3462766fc5a1c33c5f42c41662 (patch)
tree6e261e6a9abd8af590d43826045f302e4b2da96d /drivers/ata/Kconfig
parenta082676078a953f3e3de626898c215181cf09e0a (diff)
arm: tegra: ahci/sata: Add SATA driver
Upgrade the Tegra 3 SATA driver to support kernel 3.1. The driver supports runtime_pm when doing power-gating during idle. A new CONFIG_TEGRA_SATA_IDLE_POWERGATE is provided to enable/disable power-gating during idle. When sata clocks (sata, sata-oob and pll_e clocks) are in the core_dvfs_table[] table, CONFIG_TEGRA_SATA_IDLE_POWERGATE must not be enabled. Currently, sata clocks are in the core_dvfs_table[]. Those clocks will not be in that table in the future. By then, CONFIG_TEGRA_SATA_IDLE_POWERGATE can then be enabled. Change-Id: I15b585713bfd891f8827fd028b21bf3e5c2b80d9 Signed-off-by: Yen Lin <yelin@nvidia.com> (cherry picked from commit b2f19ec92974fd45680300c6f2d8896afa96156d) Reviewed-on: http://git-master/r/104798 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r--drivers/ata/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 5987e0ba8c2d..3807e572aef7 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -83,6 +83,23 @@ config SATA_AHCI_PLATFORM
If unsure, say N.
+config SATA_AHCI_TEGRA
+ tristate "TEGRA AHCI SATA support"
+ depends on ARCH_TEGRA_3x_SOC
+ help
+ This option enables support for TEGRA AHCI Serial ATA.
+
+ If unsure, say N.
+
+config TEGRA_SATA_IDLE_POWERGATE
+ bool "TEGRA SATA idle power-gating"
+ depends on SATA_AHCI_TEGRA && PM && PM_RUNTIME
+ help
+ This option enables power-gating during SATA idling.
+ This option should not be enabled if sata clocks are in dvfs_table.
+
+ If unsure, say N.
+
config SATA_FSL
tristate "Freescale 3.0Gbps SATA support"
depends on FSL_SOC