Thread (2 messages) 2 messages, 2 authors, 2014-10-28
STALE4280d

[PATCH v3] ata: sata_rcar: Add r8a7793 device support

From: Yoshihiro Kaneko <hidden>
Date: 2014-10-28 03:45:32
Also in: linux-ide, linux-sh
Subsystem: libata subsystem (serial and parallel ata drivers), open firmware and flattened device tree bindings, renesas r-car sata driver, the rest · Maintainers: Damien Le Moal, Niklas Cassel, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven, Linus Torvalds

From: Koji Matsuoka <redacted>

Signed-off-by: Koji Matsuoka <redacted>
Signed-off-by: Yoshihiro Kaneko <redacted>
---

This patch is against for-3.19 branch of Tejun's libata repo.

v3 [Yoshihiro Kaneko]
* Rebased on top of for-3.19

v2 [Yoshihiro Kaneko]
* Update the binding documentation

 Documentation/devicetree/bindings/ata/sata_rcar.txt | 3 ++-
 drivers/ata/sata_rcar.c                             | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/ata/sata_rcar.txt b/Documentation/devicetree/bindings/ata/sata_rcar.txt
index 7dd32d3..80ae87a 100644
--- a/Documentation/devicetree/bindings/ata/sata_rcar.txt
+++ b/Documentation/devicetree/bindings/ata/sata_rcar.txt
@@ -5,7 +5,8 @@ Required properties:
 			  - "renesas,sata-r8a7779" for R-Car H1
 			  - "renesas,sata-r8a7790-es1" for R-Car H2 ES1
 			  - "renesas,sata-r8a7790" for R-Car H2 other than ES1
-			  - "renesas,sata-r8a7791" for R-Car M2
+			  - "renesas,sata-r8a7791" for R-Car M2-W
+			  - "renesas,sata-r8a7793" for R-Car M2-N
 - reg			: address and length of the SATA registers;
 - interrupts		: must consist of one interrupt specifier.
 
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c
index 8732e42..ea1fbc1 100644
--- a/drivers/ata/sata_rcar.c
+++ b/drivers/ata/sata_rcar.c
@@ -850,6 +850,10 @@ static struct of_device_id sata_rcar_match[] = {
 		.compatible = "renesas,sata-r8a7791",
 		.data = (void *)RCAR_GEN2_SATA
 	},
+	{
+		.compatible = "renesas,sata-r8a7793",
+		.data = (void *)RCAR_GEN2_SATA
+	},
 	{ },
 };
 MODULE_DEVICE_TABLE(of, sata_rcar_match);
@@ -860,6 +864,7 @@ static const struct platform_device_id sata_rcar_id_table[] = {
 	{ "sata-r8a7790", RCAR_GEN2_SATA },
 	{ "sata-r8a7790-es1", RCAR_R8A7790_ES1_SATA },
 	{ "sata-r8a7791", RCAR_GEN2_SATA },
+	{ "sata-r8a7793", RCAR_GEN2_SATA },
 	{ },
 };
 MODULE_DEVICE_TABLE(platform, sata_rcar_id_table);
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help