Commit 294840fe authored by Preetham Ramchandra's avatar Preetham Ramchandra Committed by Tejun Heo

ata: ahci_tegra: Add AHCI support for Tegra210

Add support for the AHCI-compliant Serial ATA host controller on the
Tegra210 system-on-chip.
Signed-off-by: default avatarPreetham Chandru R <pchandru@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 01fbf60b
...@@ -465,11 +465,19 @@ static const struct tegra_ahci_soc tegra124_ahci_soc = { ...@@ -465,11 +465,19 @@ static const struct tegra_ahci_soc tegra124_ahci_soc = {
.ops = &tegra124_ahci_ops, .ops = &tegra124_ahci_ops,
}; };
static const struct tegra_ahci_soc tegra210_ahci_soc = {
.supports_devslp = false,
};
static const struct of_device_id tegra_ahci_of_match[] = { static const struct of_device_id tegra_ahci_of_match[] = {
{ {
.compatible = "nvidia,tegra124-ahci", .compatible = "nvidia,tegra124-ahci",
.data = &tegra124_ahci_soc .data = &tegra124_ahci_soc
}, },
{
.compatible = "nvidia,tegra210-ahci",
.data = &tegra210_ahci_soc
},
{} {}
}; };
MODULE_DEVICE_TABLE(of, tegra_ahci_of_match); MODULE_DEVICE_TABLE(of, tegra_ahci_of_match);
...@@ -584,5 +592,5 @@ static struct platform_driver tegra_ahci_driver = { ...@@ -584,5 +592,5 @@ static struct platform_driver tegra_ahci_driver = {
module_platform_driver(tegra_ahci_driver); module_platform_driver(tegra_ahci_driver);
MODULE_AUTHOR("Mikko Perttunen <mperttunen@nvidia.com>"); MODULE_AUTHOR("Mikko Perttunen <mperttunen@nvidia.com>");
MODULE_DESCRIPTION("Tegra124 AHCI SATA driver"); MODULE_DESCRIPTION("Tegra AHCI SATA driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment