* [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform
2014-04-22 15:38 [PATCH 0/6] ARM: berlin: add AHCI support Antoine Ténart
@ 2014-04-22 15:38 ` Antoine Ténart
2014-04-22 16:27 ` Thomas Petazzoni
2014-04-22 17:21 ` Sebastian Hesselbarth
2014-04-22 15:38 ` [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q Antoine Ténart
` (3 subsequent siblings)
4 siblings, 2 replies; 14+ messages in thread
From: Antoine Ténart @ 2014-04-22 15:38 UTC (permalink / raw)
To: sebastian.hesselbarth, tj
Cc: Antoine Ténart, alexandre.belloni, zmxu, jszhang,
linux-arm-kernel, devicetree, linux-ide, linux-kernel
The berlin-achi driver allows Berlin SoCs to support their AHCI SATA controller.
Add the compatible to the device tree bindings documentation.
Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
Documentation/devicetree/bindings/ata/ahci-platform.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt
index 48b285ffa3a6..9987b63aaa10 100644
--- a/Documentation/devicetree/bindings/ata/ahci-platform.txt
+++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt
@@ -7,7 +7,8 @@ Required properties:
- compatible : compatible list, one of "snps,spear-ahci",
"snps,exynos5440-ahci", "ibm,476gtr-ahci",
"allwinner,sun4i-a10-ahci", "fsl,imx53-ahci"
- "fsl,imx6q-ahci" or "snps,dwc-ahci"
+ "fsl,imx6q-ahci", "snps,dwc-ahci" or
+ "marvell,berlin-ahci"
- interrupts : <interrupt mapping for SATA IRQ>
- reg : <registers mapping>
--
1.8.3.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform
2014-04-22 15:38 ` [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform Antoine Ténart
@ 2014-04-22 16:27 ` Thomas Petazzoni
2014-04-22 17:21 ` Sebastian Hesselbarth
1 sibling, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-04-22 16:27 UTC (permalink / raw)
To: Antoine Ténart
Cc: sebastian.hesselbarth, tj, zmxu, jszhang, devicetree,
linux-kernel, linux-ide, alexandre.belloni, linux-arm-kernel
Dear Antoine Ténart,
On Tue, 22 Apr 2014 17:38:21 +0200, Antoine Ténart wrote:
> The berlin-achi driver allows Berlin SoCs to support their AHCI SATA controller.
> Add the compatible to the device tree bindings documentation.
>
> Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Typo in the commit title: s/achi/ahci.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform
2014-04-22 15:38 ` [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform Antoine Ténart
2014-04-22 16:27 ` Thomas Petazzoni
@ 2014-04-22 17:21 ` Sebastian Hesselbarth
1 sibling, 0 replies; 14+ messages in thread
From: Sebastian Hesselbarth @ 2014-04-22 17:21 UTC (permalink / raw)
To: Antoine Ténart, tj
Cc: alexandre.belloni, zmxu, jszhang, linux-arm-kernel, devicetree,
linux-ide, linux-kernel
On 04/22/2014 05:38 PM, Antoine Ténart wrote:
> The berlin-achi driver allows Berlin SoCs to support their AHCI SATA controller.
> Add the compatible to the device tree bindings documentation.
>
> Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
> ---
> Documentation/devicetree/bindings/ata/ahci-platform.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt
> index 48b285ffa3a6..9987b63aaa10 100644
> --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt
> +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt
> @@ -7,7 +7,8 @@ Required properties:
> - compatible : compatible list, one of "snps,spear-ahci",
> "snps,exynos5440-ahci", "ibm,476gtr-ahci",
> "allwinner,sun4i-a10-ahci", "fsl,imx53-ahci"
> - "fsl,imx6q-ahci" or "snps,dwc-ahci"
> + "fsl,imx6q-ahci", "snps,dwc-ahci" or
> + "marvell,berlin-ahci"
Besides the typo Thomas already mentioned, it looks like the compatibles
are indented by spaces while you have tabs.
Sebastian
> - interrupts : <interrupt mapping for SATA IRQ>
> - reg : <registers mapping>
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q
2014-04-22 15:38 [PATCH 0/6] ARM: berlin: add AHCI support Antoine Ténart
2014-04-22 15:38 ` [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform Antoine Ténart
@ 2014-04-22 15:38 ` Antoine Ténart
2014-04-22 16:28 ` Thomas Petazzoni
2014-04-22 16:28 ` Thomas Petazzoni
2014-04-22 15:38 ` [PATCH 4/6] ARM: berlin: enable the eSATA interface on the BG2Q DMP Antoine Ténart
` (2 subsequent siblings)
4 siblings, 2 replies; 14+ messages in thread
From: Antoine Ténart @ 2014-04-22 15:38 UTC (permalink / raw)
To: sebastian.hesselbarth, tj
Cc: zmxu, jszhang, devicetree, Antoine Ténart, linux-kernel,
linux-ide, alexandre.belloni, linux-arm-kernel
The BG2Q has an AHCI SATA controller. Add the corresponding node
in its device tree.
Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
arch/arm/boot/dts/berlin2q.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 07452a7483fa..8e58aae73365 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -183,6 +183,18 @@
};
};
+ ahci: sata@e90000 {
+ compatible = "marvell,berlin-ahci";
+ reg = <0xe90000 0x10000>;
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disable";
+ };
+
+ generic-regs@ea0110 {
+ compatible = "marvell,berlin-generic-regs", "syscon";
+ reg = <0xea0110 0x10>;
+ };
+
apb@fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
--
1.8.3.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q
2014-04-22 15:38 ` [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q Antoine Ténart
@ 2014-04-22 16:28 ` Thomas Petazzoni
2014-04-22 17:22 ` Sebastian Hesselbarth
2014-04-22 16:28 ` Thomas Petazzoni
1 sibling, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2014-04-22 16:28 UTC (permalink / raw)
To: Antoine Ténart
Cc: sebastian.hesselbarth, tj, zmxu, jszhang, devicetree,
linux-kernel, linux-ide, alexandre.belloni, linux-arm-kernel
Dear Antoine Ténart,
On Tue, 22 Apr 2014 17:38:22 +0200, Antoine Ténart wrote:
> The BG2Q has an AHCI SATA controller. Add the corresponding node
> in its device tree.
I believe the commit log should explain why an apparently unrelated
generic-regs@ node gets added in this commit.
Thanks!
Thomas
> diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
> index 07452a7483fa..8e58aae73365 100644
> --- a/arch/arm/boot/dts/berlin2q.dtsi
> +++ b/arch/arm/boot/dts/berlin2q.dtsi
> @@ -183,6 +183,18 @@
> };
> };
>
> + ahci: sata@e90000 {
> + compatible = "marvell,berlin-ahci";
> + reg = <0xe90000 0x10000>;
> + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disable";
> + };
> +
> + generic-regs@ea0110 {
> + compatible = "marvell,berlin-generic-regs", "syscon";
> + reg = <0xea0110 0x10>;
> + };
> +
> apb@fc0000 {
> compatible = "simple-bus";
> #address-cells = <1>;
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q
2014-04-22 16:28 ` Thomas Petazzoni
@ 2014-04-22 17:22 ` Sebastian Hesselbarth
0 siblings, 0 replies; 14+ messages in thread
From: Sebastian Hesselbarth @ 2014-04-22 17:22 UTC (permalink / raw)
To: Thomas Petazzoni, Antoine Ténart
Cc: tj, zmxu, jszhang, devicetree, linux-kernel, linux-ide,
alexandre.belloni, linux-arm-kernel
On 04/22/2014 06:28 PM, Thomas Petazzoni wrote:
> Dear Antoine Ténart,
>
> On Tue, 22 Apr 2014 17:38:22 +0200, Antoine Ténart wrote:
>> The BG2Q has an AHCI SATA controller. Add the corresponding node
>> in its device tree.
>
> I believe the commit log should explain why an apparently unrelated
> generic-regs@ node gets added in this commit.
generic-regs@ is from another patch, please drop it entirely.
Sebastian
>> diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
>> index 07452a7483fa..8e58aae73365 100644
>> --- a/arch/arm/boot/dts/berlin2q.dtsi
>> +++ b/arch/arm/boot/dts/berlin2q.dtsi
>> @@ -183,6 +183,18 @@
>> };
>> };
>>
>> + ahci: sata@e90000 {
>> + compatible = "marvell,berlin-ahci";
>> + reg = <0xe90000 0x10000>;
>> + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
>> + status = "disable";
>> + };
>> +
>> + generic-regs@ea0110 {
>> + compatible = "marvell,berlin-generic-regs", "syscon";
>> + reg = <0xea0110 0x10>;
>> + };
>> +
>> apb@fc0000 {
>> compatible = "simple-bus";
>> #address-cells = <1>;
>
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q
2014-04-22 15:38 ` [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q Antoine Ténart
2014-04-22 16:28 ` Thomas Petazzoni
@ 2014-04-22 16:28 ` Thomas Petazzoni
1 sibling, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-04-22 16:28 UTC (permalink / raw)
To: Antoine Ténart
Cc: sebastian.hesselbarth, tj, zmxu, jszhang, devicetree,
linux-kernel, linux-ide, alexandre.belloni, linux-arm-kernel
Dear Antoine Ténart,
On Tue, 22 Apr 2014 17:38:22 +0200, Antoine Ténart wrote:
> + ahci: sata@e90000 {
> + compatible = "marvell,berlin-ahci";
> + reg = <0xe90000 0x10000>;
> + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disable";
Should be:
status = "disabled";
And ditto for patches 5 and 6.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 4/6] ARM: berlin: enable the eSATA interface on the BG2Q DMP
2014-04-22 15:38 [PATCH 0/6] ARM: berlin: add AHCI support Antoine Ténart
2014-04-22 15:38 ` [PATCH 2/6] Documentation: bindings: add the berlin-achi compatible to the ahci platform Antoine Ténart
2014-04-22 15:38 ` [PATCH 3/6] ARM: berlin: add the AHCI node for the BG2Q Antoine Ténart
@ 2014-04-22 15:38 ` Antoine Ténart
2014-04-22 15:38 ` [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2 Antoine Ténart
2014-04-22 15:38 ` [PATCH 6/6] ARM: berlin: add the AHCI node for the BG2CD Antoine Ténart
4 siblings, 0 replies; 14+ messages in thread
From: Antoine Ténart @ 2014-04-22 15:38 UTC (permalink / raw)
To: sebastian.hesselbarth, tj
Cc: zmxu, jszhang, devicetree, Antoine Ténart, linux-kernel,
linux-ide, alexandre.belloni, linux-arm-kernel
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it.
Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
index 2da9c41e29d8..26047ceed603 100644
--- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
+++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
@@ -26,3 +26,8 @@
&uart0 {
status = "okay";
};
+
+&ahci {
+ status = "okay";
+ marvell,force-port-map = <1>;
+};
--
1.8.3.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2
2014-04-22 15:38 [PATCH 0/6] ARM: berlin: add AHCI support Antoine Ténart
` (2 preceding siblings ...)
2014-04-22 15:38 ` [PATCH 4/6] ARM: berlin: enable the eSATA interface on the BG2Q DMP Antoine Ténart
@ 2014-04-22 15:38 ` Antoine Ténart
2014-04-23 2:45 ` Jisheng Zhang
2014-04-22 15:38 ` [PATCH 6/6] ARM: berlin: add the AHCI node for the BG2CD Antoine Ténart
4 siblings, 1 reply; 14+ messages in thread
From: Antoine Ténart @ 2014-04-22 15:38 UTC (permalink / raw)
To: sebastian.hesselbarth, tj
Cc: Antoine Ténart, alexandre.belloni, zmxu, jszhang,
linux-arm-kernel, devicetree, linux-ide, linux-kernel
The BG2 has an AHCI SATA controller. Add the corresponding node
in its device tree.
Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
arch/arm/boot/dts/berlin2.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi
index 56a1af2f1052..3e98d9fa9ec7 100644
--- a/arch/arm/boot/dts/berlin2.dtsi
+++ b/arch/arm/boot/dts/berlin2.dtsi
@@ -176,6 +176,13 @@
};
};
+ ahci: sata@e90000 {
+ compatible = "marvell,berlin-ahci";
+ reg = <0xe90000 0x10000>;
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disable";
+ };
+
apb@fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2
2014-04-22 15:38 ` [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2 Antoine Ténart
@ 2014-04-23 2:45 ` Jisheng Zhang
2014-04-23 8:58 ` Antoine Ténart
0 siblings, 1 reply; 14+ messages in thread
From: Jisheng Zhang @ 2014-04-23 2:45 UTC (permalink / raw)
To: Antoine Ténart
Cc: sebastian.hesselbarth@gmail.com, tj@kernel.org,
alexandre.belloni@free-electrons.com, Jimmy Xu,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Hi Antoine
On Tue, 22 Apr 2014 08:38:24 -0700
Antoine Ténart <antoine.tenart@free-electrons.com> wrote:
> The BG2 has an AHCI SATA controller. Add the corresponding node
> in its device tree.
The AHCI IP of BG2 is different with BG2Q, so the driver in the series of patch
doesn't work on BG2.
Thanks
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2
2014-04-23 2:45 ` Jisheng Zhang
@ 2014-04-23 8:58 ` Antoine Ténart
0 siblings, 0 replies; 14+ messages in thread
From: Antoine Ténart @ 2014-04-23 8:58 UTC (permalink / raw)
To: Jisheng Zhang
Cc: sebastian.hesselbarth@gmail.com, tj@kernel.org,
alexandre.belloni@free-electrons.com, Jimmy Xu,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Jisheng,
On Wed, Apr 23, 2014 at 10:45:39AM +0800, Jisheng Zhang wrote:
> On Tue, 22 Apr 2014 08:38:24 -0700
> Antoine Ténart <antoine.tenart@free-electrons.com> wrote:
>
> > The BG2 has an AHCI SATA controller. Add the corresponding node
> > in its device tree.
>
> The AHCI IP of BG2 is different with BG2Q, so the driver in the series of patch
> doesn't work on BG2.
Thanks for the info! I'll drop BG2 and BG2CD nodes in the v2.
Antoine
--
Antoine Ténart, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 6/6] ARM: berlin: add the AHCI node for the BG2CD
2014-04-22 15:38 [PATCH 0/6] ARM: berlin: add AHCI support Antoine Ténart
` (3 preceding siblings ...)
2014-04-22 15:38 ` [PATCH 5/6] ARM: berlin: add the AHCI node for the BG2 Antoine Ténart
@ 2014-04-22 15:38 ` Antoine Ténart
2014-04-23 2:43 ` Jisheng Zhang
4 siblings, 1 reply; 14+ messages in thread
From: Antoine Ténart @ 2014-04-22 15:38 UTC (permalink / raw)
To: sebastian.hesselbarth, tj
Cc: zmxu, jszhang, devicetree, Antoine Ténart, linux-kernel,
linux-ide, alexandre.belloni, linux-arm-kernel
The BG2CD has an AHCI SATA controller. Add the corresponding node
in its device tree.
Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
arch/arm/boot/dts/berlin2cd.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
index 094968c27533..3974a5cafccf 100644
--- a/arch/arm/boot/dts/berlin2cd.dtsi
+++ b/arch/arm/boot/dts/berlin2cd.dtsi
@@ -169,6 +169,13 @@
};
};
+ ahci: sata@e90000 {
+ compatible = "marvell,berlin-ahci";
+ reg = <0xe90000 0x10000>;
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disable";
+ };
+
apb@fc0000 {
compatible = "simple-bus";
#address-cells = <1>;
--
1.8.3.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 6/6] ARM: berlin: add the AHCI node for the BG2CD
2014-04-22 15:38 ` [PATCH 6/6] ARM: berlin: add the AHCI node for the BG2CD Antoine Ténart
@ 2014-04-23 2:43 ` Jisheng Zhang
0 siblings, 0 replies; 14+ messages in thread
From: Jisheng Zhang @ 2014-04-23 2:43 UTC (permalink / raw)
To: Antoine Ténart
Cc: sebastian.hesselbarth@gmail.com, tj@kernel.org,
alexandre.belloni@free-electrons.com, Jimmy Xu,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Hi Antoine,
On Tue, 22 Apr 2014 08:38:25 -0700
Antoine Ténart <antoine.tenart@free-electrons.com> wrote:
> The BG2CD has an AHCI SATA controller. Add the corresponding node
> in its device tree.
BG2CD doesn't has AHCI controller.
Thanks
^ permalink raw reply [flat|nested] 14+ messages in thread