Skip to content

Commit

Permalink
ata: sata_rcar: Add r8a7793 device support
Browse files Browse the repository at this point in the history
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Koji Matsuoka authored and Tejun Heo committed Oct 28, 2014
1 parent 690000b commit e35b988
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/ata/sata_rcar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
5 changes: 5 additions & 0 deletions drivers/ata/sata_rcar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit e35b988

Please sign in to comment.