All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SPI flash for Aramda 370 and XP dev board
@ 2013-02-05 20:54 ` Gregory CLEMENT
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: Jason Cooper, Andrew Lunn, Gregory Clement
  Cc: Lior Amsalem, Ike Pan, Nadav Haklai, David Marlin,
	Yehuda Yitschak, Tawfik Bayouk, Dan Frazier, Eran Ben-Avi,
	Leif Lindholm, Sebastian Hesselbarth, Jon Masters,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Chris Van Hoof, Maen Suleiman, Shadi Ammouri,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

Following the Ezequiel's patches this patch set add support for SPI
data Flash for two other development board from Marvell.

This pacthes depend on the SPI serie of Ezequiel [1], and also on the
selection of CONFIG_MTD_M25P80=y in the config file.

[1] http://thread.gmane.org/gmane.linux.kernel.spi.devel/12568

Gregory CLEMENT (2):
  arm: mvebu: Add SPI flash on Armada XP-DB board
  arm: mvebu: Add SPI flash on Armada 370 DB board

 arch/arm/boot/dts/armada-370-db.dts |   11 +++++++++++
 arch/arm/boot/dts/armada-xp-db.dts  |   12 ++++++++++++
 2 files changed, 23 insertions(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 0/2] Add SPI flash for Aramda 370 and XP dev board
@ 2013-02-05 20:54 ` Gregory CLEMENT
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Following the Ezequiel's patches this patch set add support for SPI
data Flash for two other development board from Marvell.

This pacthes depend on the SPI serie of Ezequiel [1], and also on the
selection of CONFIG_MTD_M25P80=y in the config file.

[1] http://thread.gmane.org/gmane.linux.kernel.spi.devel/12568

Gregory CLEMENT (2):
  arm: mvebu: Add SPI flash on Armada XP-DB board
  arm: mvebu: Add SPI flash on Armada 370 DB board

 arch/arm/boot/dts/armada-370-db.dts |   11 +++++++++++
 arch/arm/boot/dts/armada-xp-db.dts  |   12 ++++++++++++
 2 files changed, 23 insertions(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board
  2013-02-05 20:54 ` Gregory CLEMENT
@ 2013-02-05 20:54     ` Gregory CLEMENT
  -1 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: Jason Cooper, Andrew Lunn, Gregory Clement
  Cc: Lior Amsalem, Ike Pan, Nadav Haklai, David Marlin,
	Yehuda Yitschak, Tawfik Bayouk, Dan Frazier, Eran Ben-Avi,
	Ezequiel Garcia, Leif Lindholm, Sebastian Hesselbarth,
	Arnd Bergmann, Jon Masters,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Thomas Petazzoni, Chris Van Hoof, Nicolas Pitre, Maen Suleiman,
	Shadi Ammouri, Olof Johansson,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5ug

This patch add support for the SPI flash M25P64 which is present on
the Armada XP DB board. This flash stores the bootloader and its
environment.

Signed-off-by: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 arch/arm/boot/dts/armada-xp-db.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index c7035c5..e5dfb4f 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -97,5 +97,17 @@
 			status = "okay";
 			/* No CD or WP GPIOs */
 		};
+
+		spi0: spi@d0010600 {
+			status = "okay";
+
+			spi-flash@0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "m25p64";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <20000000>;
+			};
+		};
 	};
 };
-- 
1.7.9.5


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board
@ 2013-02-05 20:54     ` Gregory CLEMENT
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: linux-arm-kernel

This patch add support for the SPI flash M25P64 which is present on
the Armada XP DB board. This flash stores the bootloader and its
environment.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 arch/arm/boot/dts/armada-xp-db.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index c7035c5..e5dfb4f 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -97,5 +97,17 @@
 			status = "okay";
 			/* No CD or WP GPIOs */
 		};
+
+		spi0: spi at d0010600 {
+			status = "okay";
+
+			spi-flash at 0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "m25p64";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <20000000>;
+			};
+		};
 	};
 };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] arm: mvebu: Add SPI flash on Armada 370 DB board
  2013-02-05 20:54 ` Gregory CLEMENT
@ 2013-02-05 20:54     ` Gregory CLEMENT
  -1 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: Jason Cooper, Andrew Lunn, Gregory Clement
  Cc: Lior Amsalem, Ike Pan, Nadav Haklai, David Marlin,
	Yehuda Yitschak, Tawfik Bayouk, Dan Frazier, Eran Ben-Avi,
	Ezequiel Garcia, Leif Lindholm, Sebastian Hesselbarth,
	Arnd Bergmann, Jon Masters,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Thomas Petazzoni, Chris Van Hoof, Nicolas Pitre, Maen Suleiman,
	Shadi Ammouri, Olof Johansson,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5ug

This patch add support for the SPI flash MX25l25635E which is present
on the Armada 370 DB board. This flash stores the bootloader and its
environment.

Signed-off-by: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 arch/arm/boot/dts/armada-370-db.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index 8e66a7c..d3ff947 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -74,5 +74,16 @@
 			status = "disabled";
 			/* No CD or WP GPIOs */
 		};
+		spi0: spi@d0010600 {
+			status = "okay";
+
+			spi-flash@0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "mx25l25635e";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <50000000>;
+			};
+		};
 	};
 };
-- 
1.7.9.5


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] arm: mvebu: Add SPI flash on Armada 370 DB board
@ 2013-02-05 20:54     ` Gregory CLEMENT
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2013-02-05 20:54 UTC (permalink / raw)
  To: linux-arm-kernel

This patch add support for the SPI flash MX25l25635E which is present
on the Armada 370 DB board. This flash stores the bootloader and its
environment.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 arch/arm/boot/dts/armada-370-db.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index 8e66a7c..d3ff947 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -74,5 +74,16 @@
 			status = "disabled";
 			/* No CD or WP GPIOs */
 		};
+		spi0: spi at d0010600 {
+			status = "okay";
+
+			spi-flash at 0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "mx25l25635e";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <50000000>;
+			};
+		};
 	};
 };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board
  2013-02-05 20:54     ` Gregory CLEMENT
@ 2013-02-16 15:20         ` Jason Cooper
  -1 siblings, 0 replies; 8+ messages in thread
From: Jason Cooper @ 2013-02-16 15:20 UTC (permalink / raw)
  To: Gregory CLEMENT
  Cc: Lior Amsalem, Andrew Lunn, Ike Pan, Nadav Haklai, David Marlin,
	Yehuda Yitschak, Tawfik Bayouk, Dan Frazier, Eran Ben-Avi,
	Ezequiel Garcia, Leif Lindholm, Sebastian Hesselbarth,
	Arnd Bergmann, Jon Masters,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Thomas Petazzoni, Chris Van Hoof, Nicolas Pitre, Maen Suleiman,
	Shadi Ammouri, Olof Johansson, spi

On Tue, Feb 05, 2013 at 09:54:54PM +0100, Gregory CLEMENT wrote:
> This patch add support for the SPI flash M25P64 which is present on
> the Armada XP DB board. This flash stores the bootloader and its
> environment.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
>  arch/arm/boot/dts/armada-xp-db.dts |   12 ++++++++++++
>  1 file changed, 12 insertions(+)

Both 1 and 2 of this series applied to mvebu/dt, resolved add/add
conflicts in both (usb).

thx,

Jason.

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board
@ 2013-02-16 15:20         ` Jason Cooper
  0 siblings, 0 replies; 8+ messages in thread
From: Jason Cooper @ 2013-02-16 15:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Feb 05, 2013 at 09:54:54PM +0100, Gregory CLEMENT wrote:
> This patch add support for the SPI flash M25P64 which is present on
> the Armada XP DB board. This flash stores the bootloader and its
> environment.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  arch/arm/boot/dts/armada-xp-db.dts |   12 ++++++++++++
>  1 file changed, 12 insertions(+)

Both 1 and 2 of this series applied to mvebu/dt, resolved add/add
conflicts in both (usb).

thx,

Jason.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-16 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-05 20:54 [PATCH 0/2] Add SPI flash for Aramda 370 and XP dev board Gregory CLEMENT
2013-02-05 20:54 ` Gregory CLEMENT
     [not found] ` <1360097695-32663-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-05 20:54   ` [PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board Gregory CLEMENT
2013-02-05 20:54     ` Gregory CLEMENT
     [not found]     ` <1360097695-32663-2-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-16 15:20       ` Jason Cooper
2013-02-16 15:20         ` Jason Cooper
2013-02-05 20:54   ` [PATCH 2/2] arm: mvebu: Add SPI flash on Armada 370 DB board Gregory CLEMENT
2013-02-05 20:54     ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.