]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
drivers: ata: Move sata port phy oob settings to device-tree
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Thu, 5 Nov 2015 11:51:36 +0000 (17:21 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 18 Nov 2015 09:11:39 +0000 (10:11 +0100)
commitb345ce837b1f2bb56c5fe0c5fc68a56a5cd64317
treeda429f872308074cce713a126754094ff4e494c0
parent5c19effdea3a09e3c419825021552737bf464481
drivers: ata: 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>
drivers/ata/ahci_ceva.c