ata: ceva: Move sata port phy oob settings to device-tree
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Mon, 21 Aug 2017 11:17:17 +0000 (13:17 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 23 Oct 2017 14:09:26 +0000 (07:09 -0700)
commitfe8365bbf8ac58f98a9a85105a6df468e1a4d489
tree308ae078367e875090119cbc26c21ed47d3597c8
parent9053f4b9855c91f8905114c2108d5397be83bcf3
ata: ceva: Move sata port phy oob settings to device-tree

In SATA Speed negotiation happens with  OOB(Out of Band) signals. These OOB
signal timing values are configured through vendor specific registers in the
SATA controller. These OOB timings depends on the generator and detector clock
frequency, which varies from board to board (ex: ep108 and zc1751 has different
clock frequencies).
To avoid maintaing these OOB settings in the driver, it is better to move these
settings to the device-tree node and read from the device-tree.

This patch does the same.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_ceva.c