Commit d19f9aaf authored by Tang Yuantian's avatar Tang Yuantian Committed by Tejun Heo

ahci: qoriq: Rename LS2085A SoC support code to LS2080A

Freescale is renaming the LS2085A SoC to LS2080A.
This patch addresses the same.
Signed-off-by: default avatarTang Yuantian <Yuantian.Tang@freescale.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 5f8e7f17
...@@ -3,7 +3,7 @@ Binding for Freescale QorIQ AHCI SATA Controller ...@@ -3,7 +3,7 @@ Binding for Freescale QorIQ AHCI SATA Controller
Required properties: Required properties:
- reg: Physical base address and size of the controller's register area. - reg: Physical base address and size of the controller's register area.
- compatible: Compatibility string. Must be 'fsl,<chip>-ahci', where - compatible: Compatibility string. Must be 'fsl,<chip>-ahci', where
chip could be ls1021a, ls2085a, ls1043a etc. chip could be ls1021a, ls2080a, ls1043a etc.
- clocks: Input clock specifier. Refer to common clock bindings. - clocks: Input clock specifier. Refer to common clock bindings.
- interrupts: Interrupt specifier. Refer to interrupt binding. - interrupts: Interrupt specifier. Refer to interrupt binding.
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
enum ahci_qoriq_type { enum ahci_qoriq_type {
AHCI_LS1021A, AHCI_LS1021A,
AHCI_LS1043A, AHCI_LS1043A,
AHCI_LS2085A, AHCI_LS2080A,
}; };
struct ahci_qoriq_priv { struct ahci_qoriq_priv {
...@@ -57,7 +57,7 @@ struct ahci_qoriq_priv { ...@@ -57,7 +57,7 @@ struct ahci_qoriq_priv {
static const struct of_device_id ahci_qoriq_of_match[] = { static const struct of_device_id ahci_qoriq_of_match[] = {
{ .compatible = "fsl,ls1021a-ahci", .data = (void *)AHCI_LS1021A}, { .compatible = "fsl,ls1021a-ahci", .data = (void *)AHCI_LS1021A},
{ .compatible = "fsl,ls1043a-ahci", .data = (void *)AHCI_LS1043A}, { .compatible = "fsl,ls1043a-ahci", .data = (void *)AHCI_LS1043A},
{ .compatible = "fsl,ls2085a-ahci", .data = (void *)AHCI_LS2085A}, { .compatible = "fsl,ls2080a-ahci", .data = (void *)AHCI_LS2080A},
{}, {},
}; };
MODULE_DEVICE_TABLE(of, ahci_qoriq_of_match); MODULE_DEVICE_TABLE(of, ahci_qoriq_of_match);
...@@ -159,7 +159,7 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv) ...@@ -159,7 +159,7 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv)
break; break;
case AHCI_LS1043A: case AHCI_LS1043A:
case AHCI_LS2085A: case AHCI_LS2080A:
writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment