* [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375
2016-01-27 15:24 [PATCH 0/2] ARM: mvebu: misc DT improvements Thomas Petazzoni
@ 2016-01-27 15:24 ` Thomas Petazzoni
2016-01-27 17:13 ` Andrew Lunn
0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-01-27 15:24 UTC (permalink / raw)
To: linux-arm-kernel
From: Lior Amsalem <alior@marvell.com>
The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which
requires the PHY speed to be set in the LP_PHY_CTL register for SATA
hotplug to work.
Therefore, this commit updates the compatible string used to describe
the SATA IP in Armada 375 from marvell,orion-sata to
marvell,armada-370-sata.
Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-375.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index 7ccce75..cc952cf 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -529,7 +529,7 @@
};
sata at a0000 {
- compatible = "marvell,orion-sata";
+ compatible = "marvell,armada-370-sata";
reg = <0xa0000 0x5000>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gateclk 14>, <&gateclk 20>;
--
2.6.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375
2016-01-27 15:24 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
@ 2016-01-27 17:13 ` Andrew Lunn
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Lunn @ 2016-01-27 17:13 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 27, 2016 at 04:24:46PM +0100, Thomas Petazzoni wrote:
> From: Lior Amsalem <alior@marvell.com>
>
> The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which
> requires the PHY speed to be set in the LP_PHY_CTL register for SATA
> hotplug to work.
Hi Thomas
Should this have a fixes: tag?
Andrew
>
> Therefore, this commit updates the compatible string used to describe
> the SATA IP in Armada 375 from marvell,orion-sata to
> marvell,armada-370-sata.
>
> Signed-off-by: Lior Amsalem <alior@marvell.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> arch/arm/boot/dts/armada-375.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index 7ccce75..cc952cf 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -529,7 +529,7 @@
> };
>
> sata at a0000 {
> - compatible = "marvell,orion-sata";
> + compatible = "marvell,armada-370-sata";
> reg = <0xa0000 0x5000>;
> interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&gateclk 14>, <&gateclk 20>;
> --
> 2.6.4
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375
@ 2016-02-10 16:29 Thomas Petazzoni
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2016-02-10 16:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Lior Amsalem <alior@marvell.com>
The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which
requires the PHY speed to be set in the LP_PHY_CTL register for SATA
hotplug to work.
Therefore, this commit updates the compatible string used to describe
the SATA IP in Armada 375 from marvell,orion-sata to
marvell,armada-370-sata.
Fixes: 4de59085091f753d08c8429d756b46756ab94665 ("ARM: mvebu: add Device Tree description of the Armada 375 SoC")
Cc: <stable@vger.kernel.org>
Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
- Add Fixes: tag, and add stable@ in Cc, as suggested by Andrew Lunn.
---
arch/arm/boot/dts/armada-375.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index 7ccce75..cc952cf 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -529,7 +529,7 @@
};
sata at a0000 {
- compatible = "marvell,orion-sata";
+ compatible = "marvell,armada-370-sata";
reg = <0xa0000 0x5000>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gateclk 14>, <&gateclk 20>;
--
2.6.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB
2016-02-10 16:29 [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
@ 2016-02-10 16:29 ` Thomas Petazzoni
2016-02-10 17:18 ` Andrew Lunn
2016-02-12 16:50 ` Gregory CLEMENT
2016-02-10 17:17 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Andrew Lunn
2016-02-12 16:49 ` Gregory CLEMENT
2 siblings, 2 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2016-02-10 16:29 UTC (permalink / raw)
To: linux-arm-kernel
This commit adds the Device Tree description for the 1GB NAND flash
present in the Armada 370 DB and Armada XP DB evaluation boards from
Marvell.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
- Use the new MTD partitions DT binding, with all partitions grouped
into a 'partitions' subnode. Suggested by Andrew Lunn.
---
arch/arm/boot/dts/armada-370-db.dts | 27 +++++++++++++++++++++++++++
arch/arm/boot/dts/armada-xp-db.dts | 28 ++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index bb280de..2364fc5 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -168,6 +168,33 @@
spi-max-frequency = <50000000>;
};
};
+
+ nand at d0000 {
+ status = "okay";
+ num-cs = <1>;
+ marvell,nand-keep-config;
+ marvell,nand-enable-arbiter;
+ nand-on-flash-bbt;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ label = "U-Boot";
+ reg = <0 0x800000>;
+ };
+ partition at 800000 {
+ label = "Linux";
+ reg = <0x800000 0x800000>;
+ };
+ partition at 1000000 {
+ label = "Filesystem";
+ reg = <0x1000000 0x3f000000>;
+ };
+ };
+ };
};
pcie-controller {
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index f774101..96aaaed 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -229,6 +229,34 @@
spi-max-frequency = <20000000>;
};
};
+
+ nand at d0000 {
+ status = "okay";
+ num-cs = <1>;
+ marvell,nand-keep-config;
+ marvell,nand-enable-arbiter;
+ nand-on-flash-bbt;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ label = "U-Boot";
+ reg = <0 0x800000>;
+ };
+ partition at 800000 {
+ label = "Linux";
+ reg = <0x800000 0x800000>;
+ };
+ partition at 1000000 {
+ label = "Filesystem";
+ reg = <0x1000000 0x3f000000>;
+
+ };
+ };
+ };
};
};
};
--
2.6.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375
2016-02-10 16:29 [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
@ 2016-02-10 17:17 ` Andrew Lunn
2016-02-12 16:49 ` Gregory CLEMENT
2 siblings, 0 replies; 8+ messages in thread
From: Andrew Lunn @ 2016-02-10 17:17 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 10, 2016 at 05:29:15PM +0100, Thomas Petazzoni wrote:
> From: Lior Amsalem <alior@marvell.com>
>
> The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which
> requires the PHY speed to be set in the LP_PHY_CTL register for SATA
> hotplug to work.
>
> Therefore, this commit updates the compatible string used to describe
> the SATA IP in Armada 375 from marvell,orion-sata to
> marvell,armada-370-sata.
>
> Fixes: 4de59085091f753d08c8429d756b46756ab94665 ("ARM: mvebu: add Device Tree description of the Armada 375 SoC")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Lior Amsalem <alior@marvell.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Thanks for adding the tags,
Andrew
> ---
> Changes since v1:
> - Add Fixes: tag, and add stable@ in Cc, as suggested by Andrew Lunn.
> ---
> arch/arm/boot/dts/armada-375.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index 7ccce75..cc952cf 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -529,7 +529,7 @@
> };
>
> sata at a0000 {
> - compatible = "marvell,orion-sata";
> + compatible = "marvell,armada-370-sata";
> reg = <0xa0000 0x5000>;
> interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&gateclk 14>, <&gateclk 20>;
> --
> 2.6.4
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
@ 2016-02-10 17:18 ` Andrew Lunn
2016-02-12 16:50 ` Gregory CLEMENT
1 sibling, 0 replies; 8+ messages in thread
From: Andrew Lunn @ 2016-02-10 17:18 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 10, 2016 at 05:29:16PM +0100, Thomas Petazzoni wrote:
> This commit adds the Device Tree description for the 1GB NAND flash
> present in the Armada 370 DB and Armada XP DB evaluation boards from
> Marvell.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Thanks
Andrew
> ---
> Changes since v1:
> - Use the new MTD partitions DT binding, with all partitions grouped
> into a 'partitions' subnode. Suggested by Andrew Lunn.
> ---
> arch/arm/boot/dts/armada-370-db.dts | 27 +++++++++++++++++++++++++++
> arch/arm/boot/dts/armada-xp-db.dts | 28 ++++++++++++++++++++++++++++
> 2 files changed, 55 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
> index bb280de..2364fc5 100644
> --- a/arch/arm/boot/dts/armada-370-db.dts
> +++ b/arch/arm/boot/dts/armada-370-db.dts
> @@ -168,6 +168,33 @@
> spi-max-frequency = <50000000>;
> };
> };
> +
> + nand at d0000 {
> + status = "okay";
> + num-cs = <1>;
> + marvell,nand-keep-config;
> + marvell,nand-enable-arbiter;
> + nand-on-flash-bbt;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "U-Boot";
> + reg = <0 0x800000>;
> + };
> + partition at 800000 {
> + label = "Linux";
> + reg = <0x800000 0x800000>;
> + };
> + partition at 1000000 {
> + label = "Filesystem";
> + reg = <0x1000000 0x3f000000>;
> + };
> + };
> + };
> };
>
> pcie-controller {
> diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
> index f774101..96aaaed 100644
> --- a/arch/arm/boot/dts/armada-xp-db.dts
> +++ b/arch/arm/boot/dts/armada-xp-db.dts
> @@ -229,6 +229,34 @@
> spi-max-frequency = <20000000>;
> };
> };
> +
> + nand at d0000 {
> + status = "okay";
> + num-cs = <1>;
> + marvell,nand-keep-config;
> + marvell,nand-enable-arbiter;
> + nand-on-flash-bbt;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "U-Boot";
> + reg = <0 0x800000>;
> + };
> + partition at 800000 {
> + label = "Linux";
> + reg = <0x800000 0x800000>;
> + };
> + partition at 1000000 {
> + label = "Filesystem";
> + reg = <0x1000000 0x3f000000>;
> +
> + };
> + };
> + };
> };
> };
> };
> --
> 2.6.4
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375
2016-02-10 16:29 [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
2016-02-10 17:17 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Andrew Lunn
@ 2016-02-12 16:49 ` Gregory CLEMENT
2 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2016-02-12 16:49 UTC (permalink / raw)
To: linux-arm-kernel
Hi Thomas,
On mer., f?vr. 10 2016, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> From: Lior Amsalem <alior@marvell.com>
>
> The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which
> requires the PHY speed to be set in the LP_PHY_CTL register for SATA
> hotplug to work.
>
> Therefore, this commit updates the compatible string used to describe
> the SATA IP in Armada 375 from marvell,orion-sata to
> marvell,armada-370-sata.
>
> Fixes: 4de59085091f753d08c8429d756b46756ab94665 ("ARM: mvebu: add Device Tree description of the Armada 375 SoC")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Lior Amsalem <alior@marvell.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Applied on mvebu/dt, I renamed the patch to: " ARM: dts: armada-375: use
armada-370-sata for SATA" to unify the way we labl the dt related patch.
I also adde the reviwed-by tag from Andrew.
Thanks,
Gregory
> ---
> Changes since v1:
> - Add Fixes: tag, and add stable@ in Cc, as suggested by Andrew Lunn.
> ---
> arch/arm/boot/dts/armada-375.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index 7ccce75..cc952cf 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -529,7 +529,7 @@
> };
>
> sata at a0000 {
> - compatible = "marvell,orion-sata";
> + compatible = "marvell,armada-370-sata";
> reg = <0xa0000 0x5000>;
> interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&gateclk 14>, <&gateclk 20>;
> --
> 2.6.4
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
2016-02-10 17:18 ` Andrew Lunn
@ 2016-02-12 16:50 ` Gregory CLEMENT
1 sibling, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2016-02-12 16:50 UTC (permalink / raw)
To: linux-arm-kernel
Hi Thomas,
On mer., f?vr. 10 2016, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> This commit adds the Device Tree description for the 1GB NAND flash
> present in the Armada 370 DB and Armada XP DB evaluation boards from
> Marvell.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Applied on mvebu/dt, I renamed the patch to: "ARM: dts: mvebu: add NAND
description to Armada 370 DB and Armada XP DB" to unify the way we label
the dt related patch. I also added the reviewed-by tag from Andrew.
Thanks,
Gregory
> ---
> Changes since v1:
> - Use the new MTD partitions DT binding, with all partitions grouped
> into a 'partitions' subnode. Suggested by Andrew Lunn.
> ---
> arch/arm/boot/dts/armada-370-db.dts | 27 +++++++++++++++++++++++++++
> arch/arm/boot/dts/armada-xp-db.dts | 28 ++++++++++++++++++++++++++++
> 2 files changed, 55 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
> index bb280de..2364fc5 100644
> --- a/arch/arm/boot/dts/armada-370-db.dts
> +++ b/arch/arm/boot/dts/armada-370-db.dts
> @@ -168,6 +168,33 @@
> spi-max-frequency = <50000000>;
> };
> };
> +
> + nand at d0000 {
> + status = "okay";
> + num-cs = <1>;
> + marvell,nand-keep-config;
> + marvell,nand-enable-arbiter;
> + nand-on-flash-bbt;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "U-Boot";
> + reg = <0 0x800000>;
> + };
> + partition at 800000 {
> + label = "Linux";
> + reg = <0x800000 0x800000>;
> + };
> + partition at 1000000 {
> + label = "Filesystem";
> + reg = <0x1000000 0x3f000000>;
> + };
> + };
> + };
> };
>
> pcie-controller {
> diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
> index f774101..96aaaed 100644
> --- a/arch/arm/boot/dts/armada-xp-db.dts
> +++ b/arch/arm/boot/dts/armada-xp-db.dts
> @@ -229,6 +229,34 @@
> spi-max-frequency = <20000000>;
> };
> };
> +
> + nand at d0000 {
> + status = "okay";
> + num-cs = <1>;
> + marvell,nand-keep-config;
> + marvell,nand-enable-arbiter;
> + nand-on-flash-bbt;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "U-Boot";
> + reg = <0 0x800000>;
> + };
> + partition at 800000 {
> + label = "Linux";
> + reg = <0x800000 0x800000>;
> + };
> + partition at 1000000 {
> + label = "Filesystem";
> + reg = <0x1000000 0x3f000000>;
> +
> + };
> + };
> + };
> };
> };
> };
> --
> 2.6.4
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-02-12 16:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-10 16:29 [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
2016-02-10 17:18 ` Andrew Lunn
2016-02-12 16:50 ` Gregory CLEMENT
2016-02-10 17:17 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Andrew Lunn
2016-02-12 16:49 ` Gregory CLEMENT
-- strict thread matches above, loose matches on Subject: below --
2016-01-27 15:24 [PATCH 0/2] ARM: mvebu: misc DT improvements Thomas Petazzoni
2016-01-27 15:24 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-01-27 17:13 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).