diff options
author | Suman Tripathi <stripathi@apm.com> | 2014-07-29 02:54:51 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-07-29 10:25:58 -0400 |
commit | 0185b1b787962db38fdf74e1cab9b7a2619490a1 (patch) | |
tree | acbb498fadfa1aaa635aa87a7f14303591f8c6f6 /drivers/ata | |
parent | aeae4dcac5a91de9546c42a3be09c96479bfc3ff (diff) |
ahci_xgene: Use correct OOB tunning parameters for APM X-Gene SoC AHCI SATA Host controller driver.
APM X-Gene SoC AHCI SATA Host controller driver requires
some correction of Phy Control OOB timing for the
COMINIT/COMWAKE parameters to correctly interoperate with
different kinds of disks.
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci_xgene.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 3db8eaae1576..997b4178249a 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c | |||
@@ -163,11 +163,11 @@ static void xgene_ahci_set_phy_cfg(struct xgene_ahci_context *ctx, int channel) | |||
163 | /* Disable fix rate */ | 163 | /* Disable fix rate */ |
164 | writel(0x0001fffe, mmio + PORTPHY1CFG); | 164 | writel(0x0001fffe, mmio + PORTPHY1CFG); |
165 | readl(mmio + PORTPHY1CFG); /* Force a barrier */ | 165 | readl(mmio + PORTPHY1CFG); /* Force a barrier */ |
166 | writel(0x5018461c, mmio + PORTPHY2CFG); | 166 | writel(0x28183219, mmio + PORTPHY2CFG); |
167 | readl(mmio + PORTPHY2CFG); /* Force a barrier */ | 167 | readl(mmio + PORTPHY2CFG); /* Force a barrier */ |
168 | writel(0x1c081907, mmio + PORTPHY3CFG); | 168 | writel(0x13081008, mmio + PORTPHY3CFG); |
169 | readl(mmio + PORTPHY3CFG); /* Force a barrier */ | 169 | readl(mmio + PORTPHY3CFG); /* Force a barrier */ |
170 | writel(0x1c080815, mmio + PORTPHY4CFG); | 170 | writel(0x00480815, mmio + PORTPHY4CFG); |
171 | readl(mmio + PORTPHY4CFG); /* Force a barrier */ | 171 | readl(mmio + PORTPHY4CFG); /* Force a barrier */ |
172 | /* Set window negotiation */ | 172 | /* Set window negotiation */ |
173 | val = readl(mmio + PORTPHY5CFG); | 173 | val = readl(mmio + PORTPHY5CFG); |