Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1292780
| From | <Yuantian.Tang@freescale.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] ahci: qoriq: Adjust the default register values on ls1043a |
| Date | 2015-12-16 07:00 +0100 |
| Message-ID | <qGdi3-69M-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Tang Yuantian <Yuantian.Tang@freescale.com> Updated the registers' values to enhance SATA performance and reliability. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> --- drivers/ata/ahci_qoriq.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index d0f9de9..4d613f8 100644 --- a/drivers/ata/ahci_qoriq.c +++ b/drivers/ata/ahci_qoriq.c @@ -39,6 +39,8 @@ #define AHCI_PORT_PHY_4_CFG 0x00480811 #define AHCI_PORT_PHY_5_CFG 0x192c96a4 #define AHCI_PORT_TRANS_CFG 0x08000025 +#define LS1043A_PORT_PHY2 0x28184d1f +#define LS1043A_PORT_PHY3 0x0e081509 #define SATA_ECC_DISABLE 0x00020000 @@ -159,6 +161,12 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv) break; case AHCI_LS1043A: + writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); + writel(LS1043A_PORT_PHY2, reg_base + PORT_PHY2); + writel(LS1043A_PORT_PHY3, reg_base + PORT_PHY3); + writel(AHCI_PORT_TRANS_CFG, reg_base + PORT_TRANS); + break; + case AHCI_LS2080A: writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); break; -- 2.1.0.27.g96db324 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] ahci: qoriq: Adjust the default register values on ls1043a <Yuantian.Tang@freescale.com> - 2015-12-16 07:00 +0100 Re: [PATCH 2/2] ahci: qoriq: Update the default Rx watermark value Tejun Heo <tj@kernel.org> - 2015-12-16 16:30 +0100
csiph-web