devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Preetham Chandru Ramchandra <pchandru@nvidia.com>
To: thierry.reding@gmail.com, tj@kernel.org, cyndis@kapsi.fi,
	robh+dt@kernel.org, mark.rutland@arm.com
Cc: preetham260@gmail.com, devicetree@vger.kernel.org,
	linux-tegra@vger.kernel.org, linux-ide@vger.kernel.org,
	vbyravarasu@nvidia.com, pkunapuli@nvidia.com,
	Preetham Ramchandra <pchandru@nvidia.com>
Subject: [PATCH V8 8/9] ata: ahci_tegra: Add AHCI support for Tegra210
Date: Mon, 12 Mar 2018 17:10:37 +0530	[thread overview]
Message-ID: <1520854838-21779-9-git-send-email-pchandru@nvidia.com> (raw)
In-Reply-To: <1520854838-21779-1-git-send-email-pchandru@nvidia.com>

From: Preetham Ramchandra <pchandru@nvidia.com>

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>
---
v8:
* renamed the structure tegra210_ahci_soc_data to tegra210_ahci_soc
v7:
* Added commit message
---
 drivers/ata/ahci_tegra.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c
index 20c1fccbc669..64d848409fe2 100644
--- a/drivers/ata/ahci_tegra.c
+++ b/drivers/ata/ahci_tegra.c
@@ -465,11 +465,19 @@ static const struct tegra_ahci_soc tegra124_ahci_soc = {
 	.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[] = {
 	{
 		.compatible = "nvidia,tegra124-ahci",
 		.data = &tegra124_ahci_soc
 	},
+	{
+		.compatible = "nvidia,tegra210-ahci",
+		.data = &tegra210_ahci_soc
+	},
 	{}
 };
 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_AUTHOR("Mikko Perttunen <mperttunen@nvidia.com>");
-MODULE_DESCRIPTION("Tegra124 AHCI SATA driver");
+MODULE_DESCRIPTION("Tegra AHCI SATA driver");
 MODULE_LICENSE("GPL v2");
-- 
2.7.4

  parent reply	other threads:[~2018-03-12 11:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12 11:40 [PATCH V8 0/9] Refactor and add AHCI support for Tegra210 Preetham Chandru Ramchandra
2018-03-12 11:40 ` [PATCH V8 1/9] dt-bindings: Tegra210: add binding documentation Preetham Chandru Ramchandra
2018-03-12 12:14   ` Thierry Reding
2018-03-18 12:49   ` Rob Herring
2018-03-12 11:40 ` [PATCH V8 2/9] arm64: tegra: Add SATA node for Tegra210 Preetham Chandru Ramchandra
2018-03-12 11:40 ` [PATCH V8 3/9] arm64: tegra: Enable AHCI on Jetson TX1 Preetham Chandru Ramchandra
2018-03-12 11:40 ` [PATCH V8 4/9] ata: ahci_tegra: Update initialization sequence Preetham Chandru Ramchandra
2018-03-12 12:14   ` Thierry Reding
2018-03-12 11:40 ` [PATCH V8 5/9] ata: ahci_tegra: initialize regulators from soc struct Preetham Chandru Ramchandra
2018-03-12 12:14   ` Thierry Reding
2018-03-12 11:40 ` [PATCH V8 6/9] ata: ahci_tegra: disable devslp for Tegra124 Preetham Chandru Ramchandra
2018-03-12 12:15   ` Thierry Reding
2018-03-12 11:40 ` [PATCH V8 7/9] ata: ahci_tegra: disable DIPM Preetham Chandru Ramchandra
2018-03-12 12:15   ` Thierry Reding
2018-03-12 11:40 ` Preetham Chandru Ramchandra [this message]
2018-03-12 12:15   ` [PATCH V8 8/9] ata: ahci_tegra: Add AHCI support for Tegra210 Thierry Reding
2018-03-12 11:40 ` [PATCH V8 9/9] ata: change Tegra124 to Tegra Preetham Chandru Ramchandra
2018-03-12 12:15   ` Thierry Reding
2018-03-13 21:06 ` [PATCH V8 0/9] Refactor and add AHCI support for Tegra210 Tejun Heo
2018-03-13 22:42   ` Thierry Reding
2018-03-14 15:25     ` Tejun Heo
2018-03-14 16:38       ` Thierry Reding
2018-03-14  9:50 ` Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1520854838-21779-9-git-send-email-pchandru@nvidia.com \
    --to=pchandru@nvidia.com \
    --cc=cyndis@kapsi.fi \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pkunapuli@nvidia.com \
    --cc=preetham260@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=tj@kernel.org \
    --cc=vbyravarasu@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).