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: Preetham Chandru R <pchandru@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
01fbf60b0e
commit
294840feef
1 changed files with 9 additions and 1 deletions
|
@ -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 = {
|
||||||
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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue