Commit 9db555f3 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Greg Kroah-Hartman

ARM: dts: apq8064: add ahci ports-implemented mask

commit bb4add2c upstream.

This patch adds new ports-implemented mask, which is required to get
achi working on the mainline. Without this patch value read from
PORTS_IMPL register which is zero would not enable any ports for
software to use.

Fixes: 566d1827 ("libata: disable forced PORTS_IMPL for >= AHCI 1.3")
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarAndy Gross <andy.gross@linaro.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ebb096d0
...@@ -665,7 +665,7 @@ sata_phy0: phy@1b400000 { ...@@ -665,7 +665,7 @@ sata_phy0: phy@1b400000 {
}; };
sata0: sata@29000000 { sata0: sata@29000000 {
compatible = "generic-ahci"; compatible = "qcom,apq8064-ahci", "generic-ahci";
status = "disabled"; status = "disabled";
reg = <0x29000000 0x180>; reg = <0x29000000 0x180>;
interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>; interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
...@@ -687,6 +687,7 @@ sata0: sata@29000000 { ...@@ -687,6 +687,7 @@ sata0: sata@29000000 {
phys = <&sata_phy0>; phys = <&sata_phy0>;
phy-names = "sata-phy"; phy-names = "sata-phy";
ports-implemented = <0x1>;
}; };
/* Temporary fixed regulator */ /* Temporary fixed regulator */
......
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