linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP
@ 2013-02-06 13:06 Ezequiel Garcia
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-06 13:06 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	Ezequiel Garcia, Gregory Clement, Florian Fainelli

This is second version of the SPI patchset for Armada 370/XP.

This series first adds support for the SPI controller
and then adds the SPI flash for the Armada XP GP board.

This series is based on 3.8-rc5 plus:
 * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
 * "arm: mvebu: i2c come back in defconfig"

Feel free to test or provide any feedback!

Ezequiel Garcia (4):
  arm: mvebu: Add support for SPI controller in Armada 370/XP
  ARM: mvebu: Update defconfig to select SPI support
  arm: mvebu: Add SPI flash on Armada XP-GP board
  ARM: mvebu: Update defconfig to select SPI flash and MTD support

 arch/arm/boot/dts/armada-370-xp.dtsi |   22 ++++++++++++++++++++++
 arch/arm/boot/dts/armada-xp-gp.dts   |   12 ++++++++++++
 arch/arm/configs/mvebu_defconfig     |    5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

Thanks,

    Ezequiel
-- 
1.7.8.6


------------------------------------------------------------------------------
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	[flat|nested] 15+ messages in thread

* [PATCH v2 1/4] arm: mvebu: Add support for SPI controller in Armada 370/XP
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-06 13:06   ` Ezequiel Garcia
       [not found]     ` <1360155984-15397-2-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:06   ` [PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support Ezequiel Garcia
                     ` (3 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-06 13:06 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	Ezequiel Garcia, Gregory Clement, Florian Fainelli

The Armada 370 and Armada XP SoC has an SPI controller.
This patch adds support for this controller in Armada 370
and Armada XP SoC common device tree files.

Note that the Armada XP SPI register length is 0x50 bytes,
while Armada 370 SPI register length is 0x28 bytes,
so we choose the smaller of the two.

Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
Changes from v1:
 * Register offset must be 0x28 instead of 0x50,
   as pointed out by Gregory

 arch/arm/boot/dts/armada-370-xp.dtsi |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 4c0abe8..5cf8fb4 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -131,6 +131,28 @@
 			clocks = <&coreclk 0>;
 			status = "disabled";
 		};
+
+		spi0: spi@d0010600 {
+			compatible = "marvell,orion-spi";
+			reg = <0xd0010600 0x28>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <0>;
+			interrupts = <30>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
+
+		spi1: spi@d0010680 {
+			compatible = "marvell,orion-spi";
+			reg = <0xd0010680 0x28>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <1>;
+			interrupts = <92>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
 	};
 };
 
-- 
1.7.8.6


------------------------------------------------------------------------------
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] 15+ messages in thread

* [PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:06   ` [PATCH v2 1/4] arm: mvebu: Add support for SPI controller " Ezequiel Garcia
@ 2013-02-06 13:06   ` Ezequiel Garcia
       [not found]     ` <1360155984-15397-3-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:06   ` [PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board Ezequiel Garcia
                     ` (2 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-06 13:06 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	Ezequiel Garcia, Gregory Clement, Florian Fainelli

Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 arch/arm/configs/mvebu_defconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
index 43a0dbf..322baca 100644
--- a/arch/arm/configs/mvebu_defconfig
+++ b/arch/arm/configs/mvebu_defconfig
@@ -35,6 +35,8 @@ CONFIG_MARVELL_PHY=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_I2C=y
+CONFIG_SPI=y
+CONFIG_SPI_ORION=y
 CONFIG_I2C_MV64XXX=y
 CONFIG_SERIAL_8250_DW=y
 CONFIG_GPIOLIB=y
-- 
1.7.8.6


------------------------------------------------------------------------------
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] 15+ messages in thread

* [PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:06   ` [PATCH v2 1/4] arm: mvebu: Add support for SPI controller " Ezequiel Garcia
  2013-02-06 13:06   ` [PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support Ezequiel Garcia
@ 2013-02-06 13:06   ` Ezequiel Garcia
       [not found]     ` <1360155984-15397-4-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:06   ` [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support Ezequiel Garcia
  2013-02-06 13:16   ` [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP Gregory CLEMENT
  4 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-06 13:06 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	Ezequiel Garcia, Gregory Clement, Florian Fainelli

This patch adds an SPI master device node for Armada XP-GP board.
This master node is an SPI flash controller 'n25q128a13'.

Since there is no 'partitions' node declared, one full sized
partition named as the device will be created.

Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Tested-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
Depends on Gregory's patch for Armada XP GP board:
"arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"

 arch/arm/boot/dts/armada-xp-gp.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts
index 872ed04..b1aa952 100644
--- a/arch/arm/boot/dts/armada-xp-gp.dts
+++ b/arch/arm/boot/dts/armada-xp-gp.dts
@@ -97,5 +97,17 @@
 			phy = <&phy3>;
 			phy-mode = "rgmii-id";
 		};
+
+		spi0: spi@d0010600 {
+			status = "okay";
+
+			spi-flash@0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "n25q128a13";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <108000000>;
+			};
+		};
 	};
 };
-- 
1.7.8.6


------------------------------------------------------------------------------
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] 15+ messages in thread

* [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
                     ` (2 preceding siblings ...)
  2013-02-06 13:06   ` [PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board Ezequiel Garcia
@ 2013-02-06 13:06   ` Ezequiel Garcia
       [not found]     ` <1360155984-15397-5-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  2013-02-06 13:16   ` [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP Gregory CLEMENT
  4 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-06 13:06 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	Ezequiel Garcia, Gregory Clement, Florian Fainelli

The Armada XP DB-MV784MP-GP board has an SPI flash device.
These options allow to access that device over MTD.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
Depends on patch: "arm: mvebu: i2c come back in defconfig"

 arch/arm/configs/mvebu_defconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
index 322baca..3359535 100644
--- a/arch/arm/configs/mvebu_defconfig
+++ b/arch/arm/configs/mvebu_defconfig
@@ -38,6 +38,9 @@ CONFIG_I2C=y
 CONFIG_SPI=y
 CONFIG_SPI_ORION=y
 CONFIG_I2C_MV64XXX=y
+CONFIG_MTD=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_M25P80=y
 CONFIG_SERIAL_8250_DW=y
 CONFIG_GPIOLIB=y
 CONFIG_GPIO_SYSFS=y
-- 
1.7.8.6


------------------------------------------------------------------------------
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] 15+ messages in thread

* Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP
       [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
                     ` (3 preceding siblings ...)
  2013-02-06 13:06   ` [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support Ezequiel Garcia
@ 2013-02-06 13:16   ` Gregory CLEMENT
       [not found]     ` <511257C6.2070604-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  4 siblings, 1 reply; 15+ messages in thread
From: Gregory CLEMENT @ 2013-02-06 13:16 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Jason Cooper, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On 02/06/2013 02:06 PM, Ezequiel Garcia wrote:
> This is second version of the SPI patchset for Armada 370/XP.
> 
> This series first adds support for the SPI controller
> and then adds the SPI flash for the Armada XP GP board.
> 
> This series is based on 3.8-rc5 plus:
>  * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
>  * "arm: mvebu: i2c come back in defconfig"
> 
> Feel free to test or provide any feedback!
> 
Ezequiel,

I reviewed the patches, I have nothing more to say, I can add my:

Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

on the patch that didn't have yet.

Jason,
could you add this series in your incoming pull request?

Thanks,

> Ezequiel Garcia (4):
>   arm: mvebu: Add support for SPI controller in Armada 370/XP
>   ARM: mvebu: Update defconfig to select SPI support
>   arm: mvebu: Add SPI flash on Armada XP-GP board
>   ARM: mvebu: Update defconfig to select SPI flash and MTD support
> 
>  arch/arm/boot/dts/armada-370-xp.dtsi |   22 ++++++++++++++++++++++
>  arch/arm/boot/dts/armada-xp-gp.dts   |   12 ++++++++++++
>  arch/arm/configs/mvebu_defconfig     |    5 +++++
>  3 files changed, 39 insertions(+), 0 deletions(-)
> 
> Thanks,
> 
>     Ezequiel
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

------------------------------------------------------------------------------
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	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP
       [not found]     ` <511257C6.2070604-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-06 13:28       ` Jason Cooper
       [not found]         ` <20130206132850.GC14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Jason Cooper @ 2013-02-06 13:28 UTC (permalink / raw)
  To: Gregory CLEMENT
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Ezequiel Garcia,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 06, 2013 at 02:16:54PM +0100, Gregory CLEMENT wrote:
> On 02/06/2013 02:06 PM, Ezequiel Garcia wrote:
> > This is second version of the SPI patchset for Armada 370/XP.
> > 
> > This series first adds support for the SPI controller
> > and then adds the SPI flash for the Armada XP GP board.
> > 
> > This series is based on 3.8-rc5 plus:
> >  * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
> >  * "arm: mvebu: i2c come back in defconfig"
> > 
> > Feel free to test or provide any feedback!
> > 
> Ezequiel,
> 
> I reviewed the patches, I have nothing more to say, I can add my:
> 
> Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> 
> on the patch that didn't have yet.
> 
> Jason,
> could you add this series in your incoming pull request?

That's the plan.  I'm waiting for a response from Olof to see If I need
to redo /boards and /dt.  In either case, my next round of pull requests
with have this and a bunch of other stuff.

thx,

Jason.

------------------------------------------------------------------------------
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	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP
       [not found]         ` <20130206132850.GC14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
@ 2013-02-13  9:24           ` Ezequiel Garcia
       [not found]             ` <CALF0-+WLh=8QGG4ob8HVq+x4oO_ArdFHd=vH1_OhucH1f9XG3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-13  9:24 UTC (permalink / raw)
  To: Jason Cooper
  Cc: Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory CLEMENT,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Jason,

On Wed, Feb 6, 2013 at 10:28 AM, Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org> wrote:
> On Wed, Feb 06, 2013 at 02:16:54PM +0100, Gregory CLEMENT wrote:
>> On 02/06/2013 02:06 PM, Ezequiel Garcia wrote:
>> > This is second version of the SPI patchset for Armada 370/XP.
>> >
>> > This series first adds support for the SPI controller
>> > and then adds the SPI flash for the Armada XP GP board.
>> >
>> > This series is based on 3.8-rc5 plus:
>> >  * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
>> >  * "arm: mvebu: i2c come back in defconfig"
>> >
>> > Feel free to test or provide any feedback!
>> >
>> Ezequiel,
>>
>> I reviewed the patches, I have nothing more to say, I can add my:
>>
>> Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
>>
>> on the patch that didn't have yet.
>>
>> Jason,
>> could you add this series in your incoming pull request?
>
> That's the plan.  I'm waiting for a response from Olof to see If I need
> to redo /boards and /dt.  In either case, my next round of pull requests
> with have this and a bunch of other stuff.
>

Despite we're almost closed for v3.9 new material,
I hope you don't mind a little ping on the USB and SPI stuff.

I'd *really* love to see these in v3.9, if at all possible.

Thanks,

-- 
    Ezequiel

------------------------------------------------------------------------------
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	[flat|nested] 15+ messages in thread

* Re: [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP
       [not found]             ` <CALF0-+WLh=8QGG4ob8HVq+x4oO_ArdFHd=vH1_OhucH1f9XG3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-02-14 19:34               ` Jason Cooper
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Cooper @ 2013-02-14 19:34 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 13, 2013 at 06:24:14AM -0300, Ezequiel Garcia wrote:
> Hi Jason,
> 
> On Wed, Feb 6, 2013 at 10:28 AM, Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org> wrote:
> > On Wed, Feb 06, 2013 at 02:16:54PM +0100, Gregory CLEMENT wrote:
> >> On 02/06/2013 02:06 PM, Ezequiel Garcia wrote:
> >> > This is second version of the SPI patchset for Armada 370/XP.
> >> >
> >> > This series first adds support for the SPI controller
> >> > and then adds the SPI flash for the Armada XP GP board.
> >> >
> >> > This series is based on 3.8-rc5 plus:
> >> >  * "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
> >> >  * "arm: mvebu: i2c come back in defconfig"
> >> >
> >> > Feel free to test or provide any feedback!
> >> >
> >> Ezequiel,
> >>
> >> I reviewed the patches, I have nothing more to say, I can add my:
> >>
> >> Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> >>
> >> on the patch that didn't have yet.
> >>
> >> Jason,
> >> could you add this series in your incoming pull request?
> >
> > That's the plan.  I'm waiting for a response from Olof to see If I need
> > to redo /boards and /dt.  In either case, my next round of pull requests
> > with have this and a bunch of other stuff.
> >
> 
> Despite we're almost closed for v3.9 new material,
> I hope you don't mind a little ping on the USB and SPI stuff.
> 
> I'd *really* love to see these in v3.9, if at all possible.

Yes, I got called out for a few days and just got back into things
today.  once I've read evreything I'll do what I can.

thx,

Jason.

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

* Re: [PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support
       [not found]     ` <1360155984-15397-3-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-16 15:01       ` Jason Cooper
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Cooper @ 2013-02-16 15:01 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory Clement,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 06, 2013 at 10:06:22AM -0300, Ezequiel Garcia wrote:
> Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
>  arch/arm/configs/mvebu_defconfig |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied to mvebu/boards

thx,

Jason.

> 
> diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
> index 43a0dbf..322baca 100644
> --- a/arch/arm/configs/mvebu_defconfig
> +++ b/arch/arm/configs/mvebu_defconfig
> @@ -35,6 +35,8 @@ CONFIG_MARVELL_PHY=y
>  CONFIG_SERIAL_8250=y
>  CONFIG_SERIAL_8250_CONSOLE=y
>  CONFIG_I2C=y
> +CONFIG_SPI=y
> +CONFIG_SPI_ORION=y
>  CONFIG_I2C_MV64XXX=y
>  CONFIG_SERIAL_8250_DW=y
>  CONFIG_GPIOLIB=y
> -- 
> 1.7.8.6
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

------------------------------------------------------------------------------
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] 15+ messages in thread

* Re: [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support
       [not found]     ` <1360155984-15397-5-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-16 15:02       ` Jason Cooper
       [not found]         ` <20130216150228.GR14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Jason Cooper @ 2013-02-16 15:02 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory Clement,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 06, 2013 at 10:06:24AM -0300, Ezequiel Garcia wrote:
> The Armada XP DB-MV784MP-GP board has an SPI flash device.
> These options allow to access that device over MTD.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> Depends on patch: "arm: mvebu: i2c come back in defconfig"
> 
>  arch/arm/configs/mvebu_defconfig |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Applied to mvebu/boards

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] 15+ messages in thread

* Re: [PATCH v2 1/4] arm: mvebu: Add support for SPI controller in Armada 370/XP
       [not found]     ` <1360155984-15397-2-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-16 15:12       ` Jason Cooper
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Cooper @ 2013-02-16 15:12 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory Clement,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 06, 2013 at 10:06:21AM -0300, Ezequiel Garcia wrote:
> The Armada 370 and Armada XP SoC has an SPI controller.
> This patch adds support for this controller in Armada 370
> and Armada XP SoC common device tree files.
> 
> Note that the Armada XP SPI register length is 0x50 bytes,
> while Armada 370 SPI register length is 0x28 bytes,
> so we choose the smaller of the two.
> 
> Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Acked-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> Changes from v1:
>  * Register offset must be 0x28 instead of 0x50,
>    as pointed out by Gregory
> 
>  arch/arm/boot/dts/armada-370-xp.dtsi |   22 ++++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)

Applied to mvebu/dt, resolved an add/add (i2c, mvsdio, usb) conflict.

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] 15+ messages in thread

* Re: [PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board
       [not found]     ` <1360155984-15397-4-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
@ 2013-02-16 15:13       ` Jason Cooper
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Cooper @ 2013-02-16 15:13 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory Clement,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, Feb 06, 2013 at 10:06:23AM -0300, Ezequiel Garcia wrote:
> This patch adds an SPI master device node for Armada XP-GP board.
> This master node is an SPI flash controller 'n25q128a13'.
> 
> Since there is no 'partitions' node declared, one full sized
> partition named as the device will be created.
> 
> Cc: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Tested-by: Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> Depends on Gregory's patch for Armada XP GP board:
> "arm: mvebu: support for the new Armada XP development board(DB-MV784MP-GP)"
> 
>  arch/arm/boot/dts/armada-xp-gp.dts |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)

Applied to mvebu/dt

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] 15+ messages in thread

* Re: [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support
       [not found]         ` <20130216150228.GR14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
@ 2013-02-16 17:34           ` Ezequiel Garcia
  2013-02-16 17:44             ` Jason Cooper
  0 siblings, 1 reply; 15+ messages in thread
From: Ezequiel Garcia @ 2013-02-16 17:34 UTC (permalink / raw)
  To: Jason Cooper
  Cc: Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Jason,

On Sat, Feb 16, 2013 at 10:02:28AM -0500, Jason Cooper wrote:
> On Wed, Feb 06, 2013 at 10:06:24AM -0300, Ezequiel Garcia wrote:
> > The Armada XP DB-MV784MP-GP board has an SPI flash device.
> > These options allow to access that device over MTD.
> > 
> > Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> > ---
> > Depends on patch: "arm: mvebu: i2c come back in defconfig"
> > 
> >  arch/arm/configs/mvebu_defconfig |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> Applied to mvebu/boards
> 

Great!

Are we still in time for a pull request for v3.9
with all of these stuff?

Thanks a lot,
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

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

* Re: [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support
  2013-02-16 17:34           ` Ezequiel Garcia
@ 2013-02-16 17:44             ` Jason Cooper
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Cooper @ 2013-02-16 17:44 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Thomas Petazzoni, Lior Amsalem, Andrew Lunn,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Gregory Clement,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	Florian Fainelli,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Sat, Feb 16, 2013 at 02:34:47PM -0300, Ezequiel Garcia wrote:
> Hi Jason,
> 
> On Sat, Feb 16, 2013 at 10:02:28AM -0500, Jason Cooper wrote:
> > On Wed, Feb 06, 2013 at 10:06:24AM -0300, Ezequiel Garcia wrote:
> > > The Armada XP DB-MV784MP-GP board has an SPI flash device.
> > > These options allow to access that device over MTD.
> > > 
> > > Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> > > ---
> > > Depends on patch: "arm: mvebu: i2c come back in defconfig"
> > > 
> > >  arch/arm/configs/mvebu_defconfig |    3 +++
> > >  1 files changed, 3 insertions(+), 0 deletions(-)
> > 
> > Applied to mvebu/boards
> > 
> 
> Great!
> 
> Are we still in time for a pull request for v3.9
> with all of these stuff?

With any amount of luck, possibly ;-)

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] 15+ messages in thread

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 13:06 [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP Ezequiel Garcia
     [not found] ` <1360155984-15397-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-06 13:06   ` [PATCH v2 1/4] arm: mvebu: Add support for SPI controller " Ezequiel Garcia
     [not found]     ` <1360155984-15397-2-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-16 15:12       ` Jason Cooper
2013-02-06 13:06   ` [PATCH v2 2/4] ARM: mvebu: Update defconfig to select SPI support Ezequiel Garcia
     [not found]     ` <1360155984-15397-3-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-16 15:01       ` Jason Cooper
2013-02-06 13:06   ` [PATCH v2 3/4] arm: mvebu: Add SPI flash on Armada XP-GP board Ezequiel Garcia
     [not found]     ` <1360155984-15397-4-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-16 15:13       ` Jason Cooper
2013-02-06 13:06   ` [PATCH v2 4/4] ARM: mvebu: Update defconfig to select SPI flash and MTD support Ezequiel Garcia
     [not found]     ` <1360155984-15397-5-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-16 15:02       ` Jason Cooper
     [not found]         ` <20130216150228.GR14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2013-02-16 17:34           ` Ezequiel Garcia
2013-02-16 17:44             ` Jason Cooper
2013-02-06 13:16   ` [PATCH v2 0/4] ARM: mvebu: Add support for SPI flash devices in Armada 370/XP Gregory CLEMENT
     [not found]     ` <511257C6.2070604-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2013-02-06 13:28       ` Jason Cooper
     [not found]         ` <20130206132850.GC14746-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2013-02-13  9:24           ` Ezequiel Garcia
     [not found]             ` <CALF0-+WLh=8QGG4ob8HVq+x4oO_ArdFHd=vH1_OhucH1f9XG3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-14 19:34               ` Jason Cooper

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).