And don't forget to compile the SPI flash driver, CONFIG_MTD_M25P80=y
Hi Ezequiel
Maybe it makes sense to provide a patch to mvebu_defconfig to add
CONFIG_MTD_M25P80=y ?
Andrew
--
Free Next-Gen Firewall
On Mon, Feb 04, 2013 at 01:51:20PM -0300, Ezequiel Garcia wrote:
Hi,
This patchset adds support for the SPI controller
available in Armada 370 and Armada XP SoC.
Hi Ezequiel
Do any of the boards we have with mainline support have any devices on
the SPI busses? Its hard to test otherwise.
Hi Jason
I tested your patch to add SPI_CHPA and SPI_CPOL on a QNAP box which
has SPI NAND. No problems seen.
Tested-by: Andrew Lunn and...@lunn.ch
Andrew
--
LogMeIn Rescue: Anywhere, Anytime Remote support
On Fri, Jul 06, 2012 at 08:08:23PM +, Arnd Bergmann wrote:
On Thursday 05 July 2012, Andrew Lunn wrote:
I think the latter one needs to be
+static int __initdata gpio1_irqs[4] = {
+ IRQ_DOVE_HIGH_GPIO,
+ IRQ_DOVE_HIGH_GPIO,
+ IRQ_DOVE_HIGH_GPIO
On Wed, Jul 04, 2012 at 09:49:33PM +0200, Florian Fainelli wrote:
Hello Andrew,
On Tuesday 03 July 2012 18:58:39 Andrew Lunn wrote:
On Tue, Jul 03, 2012 at 05:59:13PM +0200, Florian Fainelli wrote:
Hello Andrew,
On Tuesday 03 July 2012 16:22:40 Andrew Lunn wrote:
Extends
On Thu, Jul 05, 2012 at 11:02:51AM +0200, Thomas Petazzoni wrote:
Hello Andrew,
Le Tue, 3 Jul 2012 16:22:34 +0200,
Andrew Lunn and...@lunn.ch a ??crit :
Both IRQ and GPIO controllers can now be represented in DT. The IRQ
controllers are setup first, and then the GPIO controllers
I've looked at the datasheet for the 88F6281, and the GPIO registers
look fairly similar with Armada 370/XP, except that:
* On 88F6281, there are two GPIO banks, while on Armada 370/XP it's a
continuous range of registers that control the GPIOs. But it can be
assimilated as one bank
Hi Thomas
Yes. I am not sure yet how to describe those in the DT, or even if it
is actually useful to describe them. Wouldn't it be simpler to just
leave to the user of the GPIO to use a GPIO that's appropriate for its
usage, i.e not use a GPO when input is needed?
We assume the hardware
On Thu, Jul 05, 2012 at 02:58:01PM +0200, Thomas Petazzoni wrote:
Hello,
Le Thu, 5 Jul 2012 11:48:24 +0200,
Andrew Lunn and...@lunn.ch a ??crit :
The biggest problem i had, is the interaction between generic chip
interrupts and irqdomain. There has been work to integrate the two
On Thu, Jul 05, 2012 at 04:14:50PM +0200, Sebastian Hesselbarth wrote:
On 07/05/2012 03:08 PM, Andrew Lunn wrote:
The issue is knowing what IRQ number to use for the secondary
interrupts.
Orion use generic chip interrupts, both for the main interrupts and
the GPIO interrupts. This does
Replace the deprecated master-transfer with transfer_one_message()
and allow the SPI subsystem handle all the queuing of messages.
Signed-off-by: Andrew Lunn and...@lunn.ch
Acked-by: Linus Walleij linus.wall...@linaro.org
---
drivers/spi/spi-orion.c | 209
support. The
GPIO interrupts are also handled using an IRQ generic chip, thus a
similar layering is made. This applies to both DT and none DT IRQ and
GPIO controllers.
White space problem as pointed out by Michael Walle have been
corrected.
Andrew Lunn (8):
ARM: Orion: DT support for IRQ
From: Michael Walle mich...@walle.cc
Signed-off-by: Michael Walle mich...@walle.cc
Signed-off-by: Andrew Lunn and...@lunn.ch
Acked-by: Jason Cooper ja...@lakedaemon.net
---
Documentation/devicetree/bindings/spi/spi-orion.txt |5 +
drivers/spi/spi-orion.c
From: Michael Walle mich...@walle.cc
Populate the devices with auxdata to set the device names which are used by
clkdev to lookup the clocks.
Signed-off-by: Michael Walle mich...@walle.cc
Signed-off-by: Andrew Lunn and...@lunn.ch
---
arch/arm/boot/dts/kirkwood.dtsi |9 +
arch/arm
From: Michael Walle mich...@walle.cc
Use the device tree for the SPI driver and partition layout.
Signed-off-by: Michael Walle mich...@walle.cc
Signed-off-by: Andrew Lunn and...@lunn.ch
---
arch/arm/boot/dts/kirkwood-dreamplug.dts | 29 +
arch/arm/mach-kirkwood/board
Extends the driver to get properties from device tree. Also extend the
kirkwood DT support to supply the needed properties.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Documentation/devicetree/bindings/i2c/mrvl-i2c.txt | 32 -
arch/arm/boot/dts/kirkwood.dtsi
Add device tree support to the Orion watchdog timer, and enable its
use in the kirkwood devices using device tree.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Documentation/devicetree/bindings/watchdog/marvel.txt | 14 ++
arch/arm/boot/dts/kirkwood.dtsi
Convert boards using DT, but the old way of configuring SATA to now
use properties in there DT file.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
arch/arm/boot/dts/kirkwood-dns320.dts|5 +
arch/arm/boot/dts/kirkwood-dns325.dts|5 +
arch/arm/boot/dts/kirkwood
Add support for instantiating this driver from device tree, and add
the necassary DT information to the kirkwood.dtsi file.
This is based on previous work by Michael Walle and Jason Cooper.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Documentation/devicetree/bindings/ata/marvell.txt | 16
On Tue, Jul 03, 2012 at 10:52:17AM -0400, Josh Coombs wrote:
On Tue, Jul 3, 2012 at 10:22 AM, Andrew Lunn and...@lunn.ch wrote:
Convert boards using DT, but the old way of configuring SATA to now
use properties in there DT file.
Andrew, should I be updating my GoFlex patch set to work
On Tue, Jul 03, 2012 at 05:59:13PM +0200, Florian Fainelli wrote:
Hello Andrew,
On Tuesday 03 July 2012 16:22:40 Andrew Lunn wrote:
Extends the driver to get properties from device tree. Also extend the
kirkwood DT support to supply the needed properties.
Signed-off-by: Andrew Lunn
On Tue, Jul 03, 2012 at 05:50:02PM +0200, Florian Fainelli wrote:
Hello Andrew,
On Tuesday 03 July 2012 16:22:45 Andrew Lunn wrote:
Based on work by Michael Waller and Jason Cooper.
Added support for getting the interrupt number from DT.
Signed-off-by: Andrew Lunn and...@lunn.ch
On Tue, Jul 03, 2012 at 05:47:57PM +0200, Florian Fainelli wrote:
Hi Andrew,
On Tuesday 03 July 2012 16:22:41 Andrew Lunn wrote:
The two different variants of QNAP TS devices, varying by SoC, put the
GPIO keys on different GPIO lines. Hence we need two different DT
board descriptions
On Tue, Jun 26, 2012 at 03:03:56PM +0100, Ben Dooks wrote:
On 10/06/12 11:31, Andrew Lunn wrote:
Extends the driver to get properties from device tree. Also extend the
kirkwood DT support to supply the needed properties.
Signed-off-by: Andrew Lunnand...@lunn.ch
---
Documentation
On Wed, Jun 13, 2012 at 09:10:30PM +, Arnd Bergmann wrote:
On Sunday 10 June 2012, Andrew Lunn wrote:
@@ -26,6 +26,11 @@ static struct of_device_id kirkwood_dt_match_table[]
__initdata = {
{ }
};
+struct of_dev_auxdata kirkwood_auxdata_lookup[] __initdata
+ spi@10600 {
+ compatible = marvell,orion-spi;
+ #address-cells = 1;
+ #size-cells = 0;
+ cell-index = 0;
+ reg = 0x10600 0x28;
+ status = disabled;
+ };
The two different variants of QNAP TS devices, varying by SoC, put the
GPIO keys on different GPIO lines. Hence we need two different DT
board descriptions, which share the same board-ts219.c file.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
arch/arm/boot/dts/kirkwood-ts219-6281.dts | 21
From: Michael Walle mich...@walle.cc
Signed-off-by: Michael Walle mich...@walle.cc
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Documentation/devicetree/bindings/spi/spi-orion.txt |5 +
drivers/spi/spi-orion.c |9 +
2 files changed, 14 insertions
The GPIO controllers can now be described in DT. Origionally GPIO
controllers were instantiated during IRQ setup. The origional none-DT
code has been split out, and is only called if no DT GPIO controllers
are found.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
.../devicetree/bindings/gpio/mrvl
From: Michael Walle mich...@walle.cc
Use the device tree for the SPI driver and partition layout.
Signed-off-by: Michael Walle mich...@walle.cc
Signed-off-by: Andrew Lunn and...@lunn.ch
---
arch/arm/boot/dts/kirkwood-dreamplug.dts | 29 +
arch/arm/mach-kirkwood/board
Extends the driver to get properties from device tree. Also extend the
kirkwood DT support to supply the needed properties.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Documentation/devicetree/bindings/i2c/mrvl-i2c.txt | 35 +-
arch/arm/boot/dts/kirkwood.dtsi
Replace the deprecated master-transfer with transfer_one_message()
and allow the SPI subsystem handle all the queuing of messages.
Signed-off-by: Andrew Lunn and...@lunn.ch
Acked-by: Linus Walleij linus.wall...@linaro.org
---
drivers/spi/spi-orion.c | 209
Signed-off-by: Andrew Lunn and...@lunn.ch
---
.../devicetree/bindings/arm/mrvl/intc.txt | 20 ++
arch/arm/boot/dts/kirkwood.dtsi|9
arch/arm/mach-kirkwood/board-dt.c | 22 +++-
3 files changed, 50
needs.
Andrew Lunn (5):
ARM: Kirkwood: Add interrupt controller support for DT boards
SPI: Refactor spi-orion to use SPI framework queue.
I2C: MV64XXX: Add Device Tree support
ARM: Kirkwood: Add DT support for GPIO controllers
Kirkwood: Add basic device tree support for QNAP TS219.
Michael
On Thu, May 10, 2012 at 09:24:55PM -0600, Grant Likely wrote:
On Thu, 10 May 2012 16:01:27 +0200, Linus Walleij linus.wall...@linaro.org
wrote:
On Thu, May 10, 2012 at 3:50 PM, Shubhrajyoti D shubhrajy...@ti.com wrote:
Currently the prepare/unprepare transfer are called unconditionally.
Replace the deprecated master-transfer with transfer_one_message()
and allow the SPI subsystem handle all the queuing of messages.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
Note: This patch depends on clk-next and clk-next-orion held by Mike
Turquette and soon to be pushed upstream. So
36 matches
Mail list logo