]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sata_rcar: Add R-Car Gen2 SATA PHY support
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Fri, 8 Nov 2013 12:09:29 +0000 (16:09 +0400)
committerTejun Heo <tj@kernel.org>
Fri, 29 Nov 2013 20:41:17 +0000 (15:41 -0500)
commite67adb4e669db834c1f95cbdf99bb4e9ec8455b3
treec05f2b59676aeebc7d3d03d17fe46f50b87be03c
parentcb85696d7277592ddbd2897db9a29f3ec6e9fe11
sata_rcar: Add R-Car Gen2 SATA PHY support

R-Car Gen2 SoCs have a different PHY which is not compatible
with the older R-Car H1 (R8A7779) version.
This adds OF/platform device id tables and PHY initialization
callbacks for the following Gen2 SoCs:
  * R-Car H2: R8A7790;
  * R-Car M2: R8A7791.

PHY initialization method is chosen based on the device id.
Default PHY settings are applied for Gen2 SoCs, which should
suit the Gen2 boards available.

While at it, this also adds "sata-r8a7779" compatibility string
for R8A7779 SATA, while keeping the old one for compatibility.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c