Re: [PATCH v14 0/7] fpga area and fpga bridge framework

2015-12-14 Thread Alan Tull
On Mon, Dec 14, 2015 at 11:16 AM, Moritz Fischer wrote: > Hi Alan, > > On Thu, Dec 10, 2015 at 3:37 PM, wrote: >> From: Alan Tull >> >> For v14 I'm dropping the concept of "simple-fpga-bus" for "fpga-area" >> with reworked bindings.

[PATCHv6 1/2] ARM: socfpga: support suspend to ram

2015-06-02 Thread Alan Tull
: $ echo enabled > \ /sys/devices/soc/ffc02000.serial0/tty/ttyS0/power/wakeup $ echo -n mem > /sys/power/state Signed-off-by: Alan Tull Cc: Pavel Machek Cc: Arnd Bergmann Cc: Dinh Nguyen Cc: Steffen Trumtrar --- v2: use Generic on-chip SRAM driver to allocate ocram rm fncpy_align

[PATCHv6 0/2] socfpga: support suspend to ram*

2015-06-02 Thread Alan Tull
DDR in self-refresh mode. Alan Tull (2): ARM: socfpga: support suspend to ram ARM: socfpga: dts: add sdram controller dt binding doc .../arm/altera/socfpga-sdram-controller.txt| 12 ++ arch/arm/mach-socfpga/Kconfig | 10 +- arch/arm/mach-socfpga/Makefile

[PATCHv6 2/2] ARM: socfpga: dts: add sdram controller dt binding doc

2015-06-02 Thread Alan Tull
Add binding doc for Altera SOCFPGA SDRAM controller. Signed-off-by: Alan Tull --- v4: Add bindings doc v5: No change for v5 v6: No change for v6 --- .../arm/altera/socfpga-sdram-controller.txt| 12 1 file changed, 12 insertions(+) create mode 100644 Documentation

[PATCHv5 0/2] socfpga: support suspend to ram

2015-05-28 Thread Alan Tull
DDR in self-refresh mode. Alan Tull (2): ARM: socfpga: support suspend to ram ARM: socfpga: dts: add sdram controller dt binding doc .../arm/altera/socfpga-sdram-controller.txt| 12 ++ arch/arm/mach-socfpga/Kconfig | 10 +- arch/arm/mach-socfpga/Makefile

[PATCHv5 1/2] ARM: socfpga: support suspend to ram

2015-05-28 Thread Alan Tull
: $ echo enabled > \ /sys/devices/soc/ffc02000.serial0/tty/ttyS0/power/wakeup $ echo -n mem > /sys/power/state Signed-off-by: Alan Tull Cc: Pavel Machek Cc: Arnd Bergmann Cc: Dinh Nguyen Cc: Steffen Trumtrar --- v2: use Generic on-chip SRAM driver to allocate ocram rm fncpy_align

[PATCHv5 2/2] ARM: socfpga: dts: add sdram controller dt binding doc

2015-05-28 Thread Alan Tull
Add binding doc for Altera SOCFPGA SDRAM controller. Signed-off-by: Alan Tull --- v4: Add bindings doc v5: No change for v5 --- .../arm/altera/socfpga-sdram-controller.txt| 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm

[PATCH v4 2/2] ARM: socfpga: dts: add sdram controller dt binding doc

2015-05-22 Thread Alan Tull
Add binding doc for Altera SOCFPGA SDRAM controller. Signed-off-by: Alan Tull --- v4: Add bindings doc --- .../arm/altera/socfpga-sdram-controller.txt| 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-sdram

[PATCH v4 1/2] ARM: socfpga: support suspend to ram

2015-05-22 Thread Alan Tull
/power/state Signed-off-by: Alan Tull Cc: Pavel Machek Cc: Arnd Bergmann Cc: Dinh Nguyen Cc: Steffen Trumtrar --- v2: use Generic on-chip SRAM driver to allocate ocram rm fncpy_align since generic allocator handles alignment check __arm_ioremap_exec return code check for NULL po

[PATCH v4 0/2] socfpga: support suspend to ram

2015-05-22 Thread Alan Tull
tree binding document for the Altera SOCFPGA SDRAM controller that is used to put DDR in self-refresh mode. Alan Tull (2): ARM: socfpga: support suspend to ram ARM: socfpga: dts: add sdram controller dt binding doc .../arm/altera/socfpga-sdram-controller.txt| 12 ++ arch

[PATCH 2/2] add newhaven lcd tty driver on i2c

2015-03-17 Thread Alan Tull
ghtness can be set from the device tree/plat data. Brightness can be set from a sysfs file, for example: * echo 6 > /sys/devices/soc.0/ffc04000.i2c/i2c-0/0-0028/brightness Signed-off-by: Alan Tull --- drivers/tty/Kconfig|5 + drivers/tty/Makefile

[PATCH 1/2] newhaven lcd: device tree bindings documentation

2015-03-17 Thread Alan Tull
Add documention for the newhaven lcd device tree bindings. Signed-off-by: Alan Tull --- .../devicetree/bindings/tty/newhaven_lcd.txt | 21 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/tty/newhaven_lcd.txt diff --git a

[PATCH 0/2] TTY Driver for Newhaven LCD module

2015-03-17 Thread Alan Tull
Supports a 2 line by 16 character LCD module over I2C. Alan Tull (2): newhaven lcd: device tree bindings documentation add newhaven lcd tty driver on i2c .../devicetree/bindings/tty/newhaven_lcd.txt | 21 + drivers/tty/Kconfig|5 + drivers/tty

Re: [PATCH 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-07-10 Thread Alan Tull
driver. >> Its functionality is very separate from what this driver is doing (we >> are not enabling the bridge in this driver; we are enabling the >> monitoring and resetting the interrupt bit of the EDAC). We wanted to >> specify "syscon" her so that we don'

Re: [PATCHv7 2/3] devicetree: Addition of the Altera SDRAM EDAC.

2014-07-10 Thread Alan Tull
On Wed, Jul 9, 2014 at 3:07 PM, Thor Thayer wrote: > > On Thu, Jun 26, 2014 at 4:45 AM, Mark Rutland wrote: > > On Wed, Jun 25, 2014 at 10:15:26PM +0100, ttha...@altera.com wrote: > >> From: Thor Thayer > >> > >> Add the Altera SDRAM EDAC bindings and device tree changes to the Altera > >> SoC

Re: [PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-28 Thread Alan Tull
On Wed, May 28, 2014 at 2:01 AM, Steffen Trumtrar wrote: > On Tue, May 27, 2014 at 03:57:47PM -0500, Alan Tull wrote: >> On Tue, May 27, 2014 at 2:42 PM, Steffen Trumtrar >> wrote: >> > On Tue, May 27, 2014 at 02:12:17PM -0500, Alan Tull wrote: >> >> On T

Re: [PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-27 Thread Alan Tull
On Tue, May 27, 2014 at 2:42 PM, Steffen Trumtrar wrote: > On Tue, May 27, 2014 at 02:12:17PM -0500, Alan Tull wrote: >> On Tue, May 27, 2014 at 2:11 AM, Steffen Trumtrar >> wrote: >> > On Wed, May 21, 2014 at 10:38:34AM -0500, Thor Thayer wrote: >> >> On T

Re: [PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-27 Thread Alan Tull
On Tue, May 27, 2014 at 2:11 AM, Steffen Trumtrar wrote: > On Wed, May 21, 2014 at 10:38:34AM -0500, Thor Thayer wrote: >> On Tue, May 20, 2014 at 9:44 AM, Steffen Trumtrar >> wrote: >> > Hi! >> > >> > On Tue, May 20, 2014 at 09:31:06AM -0500, Alan Tull

Re: [PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-20 Thread Alan Tull
On Mon, May 19, 2014 at 2:37 PM, Thor Thayer wrote: >>> >> diff --git >>> >> a/Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt >>> >> b/Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt >>> >> new file mode 100644 >>> >> index 000..8f8746b >>> >> --- /dev/null >>

Re: [PATCH 1/7] ARM: dts: socfpga: add gpio pieces

2014-05-06 Thread Alan Tull
two with 29 gpios, the >> last >> one with 27. This patch adds the three controller with the gpio driver which >> is >> now sitting the gpio tree. >> >> Cc: devicetree@vger.kernel.org >> Acked-by: Alan Tull >> Signed-off-by: Sebastian Andrzej Siewio

[PATCH] gpio: gpio-dwapb size-cells should be two

2014-03-14 Thread Alan Tull
From: Alan Tull Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag. Signed-off-by: Alan Tull --- .../devicetree/bindings/gpio/snps-dwapb-gpio.txt |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b

[PATCH] fix build error in gpio-dwapb patch

2014-03-06 Thread Alan Tull
From: Alan Tull fix build error with this message: kernel/irq/Kconfig:41:error: recursive dependency detected! kernel/irq/Kconfig:41: symbol GENERIC_IRQ_CHIP is selected by GPIO_DWAPB drivers/gpio/Kconfig:131: symbol GPIO_DWAPB depends on IRQ_DOMAIN kernel/irq/Kconfig:46: symbol

[PATCH v12] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2014-02-25 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Jamie Iles Signed-off-by: Alan Tull Reviewed-by: Sebastian Hesselbarth v12: - Add irq_startup/shutdown - do

[PATCH v11] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2014-02-06 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Jamie Iles Signed-off-by: Alan Tull Reviewed-by: Sebastian Hesselbarth v11: - Use NULL when checking existence of 'inter

[PATCH v10] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2014-02-06 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Jamie Iles Signed-off-by: Alan Tull Reviewed-by: Sebastian Hesselbarth v10:- in documentation nr-gpio -> nr-gpios

[PATCH v9] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-06 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Jamie Iles Signed-off-by: Alan Tull Reviewed-by: Sebastian Hesselbarth v9: - cleanup in dt bindings doc - use

[PATCH v9] gpio: add a driver for Synopsys DesignWare APB GPIO

2013-12-06 Thread Alan Tull
From: Alan Tull Hi Linus, If you don't have any further comments, can you take this patch? Alan Jamie Iles (1): gpio: add a driver for the Synopsys DesignWare APB GPIO block .../devicetree/bindings/gpio/snps-dwapb-gpio.txt | 59 +++ drivers/gpio/Kc

[PATCH v8] add a driver for the Synopsys DesignWare APB GPIO block

2013-12-03 Thread Alan Tull
From: Alan Tull Minor cleanup from v7 as noted below. Hi Jamie, I changed the interrupt implementation of your driver to work with the current kernel (wouldn't build othewise). Could you please test and let me know if this will work for you? Alan Jamie Iles (1): gpio: add a driver fo

[PATCH v8] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-12-03 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Alan Tull Reviewed-by: Sebastian Hesselbarth v8: - remove socfpga.dtsi changes - minor cleanup in devicetree

[PATCH v7] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-20 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Alan Tull v7: - use irq_generic_chip - support one irq per gpio line or one irq for many - s/bank/port/ and

[PATCH 1/1] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-06 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Alan Tull v6: - (atull) squash the set of patches - use linear irq domain - build fixes. Original driver was

[PATCH 0/1] gpio: add a driver for the Synopsys DesignWare APB GPIO

2013-11-06 Thread Alan Tull
From: Alan Tull Version 6 - Implementing Sebastian's suggestions. To make reviewing more to-the-point, I squashed all three commits into one. I hope that expedites things rather than getting in the way, we will see. I am currently leaving nr-gpios as a required property because I

[PATCH 2/3] gpio: dwapb: add support for GPIO interrupts

2013-11-05 Thread Alan Tull
From: Jamie Iles The controller supports interrupts on bank A (up to 8 interrupt sources). Use the generic IRQ chip to implement interrupt support for this bank. Cc: Grant Likely Cc: Linus Walleij Acked-by: Rob Herring Signed-off-by: Jamie Iles --- drivers/gpio/Kconfig |2 +- driv

[PATCH 1/3] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-05 Thread Alan Tull
From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. v5: - handle sparse bank population correctly v3: - depend on rather than select IRQ_DOMAIN - split IRQ support into a separate pat

[PATCH 3/3] use linear irq domain in gpio-dwapb

2013-11-05 Thread Alan Tull
From: Alan Tull * Changes to get gpio-dwapb (originally v3.2-rc7) driver building and working on current kernel. * Use linear irq domain. * Fix setting irq edge type for 'rising' and 'both'. * Support as a loadable module. * Use bgpio_chip's spinlock during reg

[PATCH 0/3] gpio-dwapb plus irq domain

2013-11-05 Thread Alan Tull
From: Alan Tull Resending Jamie's gpio-dwapb driver patches. Adding a patch to get them building with current irq domain stuff. Alan Tull Alan Tull (1): use linear irq domain in gpio-dwapb Jamie Iles (2): gpio: add a driver for the Synopsys DesignWare APB GPIO block gpio: dwapb