davinci: da850: add support for SATA interface
commitcbb2c9617ae80c99a7b290dbe5cf48ebf9a36ad9
authorSekhar Nori <nsekhar@ti.com>
Wed, 6 Jul 2011 06:01:23 +0000 (6 06:01 +0000)
committerSekhar Nori <nsekhar@ti.com>
Fri, 8 Jul 2011 05:43:08 +0000 (8 11:13 +0530)
treece7c6593adeac4044b5875a04d0ccae648791a6b
parentaad70de20fc69970a3080e7e8f02b54a4a3fe3e6
davinci: da850: add support for SATA interface

Add support for SATA controller on the
DA850/OMAP-L138/AM18x devices.

The patch adds the necessary clocks, platform
resources and a routine to initialize the SATA
controller.

The PHY configuration in this patch is
courtesy the work done by Zegeye Alemu,
Swaminathan and Mansoor Ahamed from TI.

While testing this patch, enable port multiplier
support iff you are actually using one. The
reasons of this behaviour are discussed
here: http://patchwork.ozlabs.org/patch/78163/

ChangeLog:
v3:
Removed fields which were being initialized
to zero in PHY configuration. Moved SATA base
address definition to the top of the file to
make it inline with what is done for the rest
of the modules.
v2:
Addressed comments from Sergei. Removed unnecessary
braces and removed unnecessary else after goto.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/include/mach/da8xx.h