[PATCH 0/4] mtd: nand: atmel: Rework DT representation of NFC/NAND

2014-12-04 Thread Boris Brezillon
chip device which then reference the NFC using the atmel,nfc property. The series does not implement multi-chip support, but at least the new representation should make it possible. Best Regards, Boris [1]https://lkml.org/lkml/2014/12/3/806 Boris Brezillon (4): mtd: nand: atmel: Rework driver

[PATCH 4/4] ARM: at91/dt: sama5: move NAND nodes into board dts/dtsi

2014-12-04 Thread Boris Brezillon
the NAND chip definition should be part of the board description because we cannot guess at the SoC level which CS will be chosen by the board designer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 18 +- arch/arm/boot

[PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2014-12-04 Thread Boris Brezillon
ranges. Move the NFC node outside of the NAND node, to get a more future-proof model. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/atmel-nand.txt | 46 -- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git

[PATCH 1/4] mtd: nand: atmel: Rework driver to separate nfc and nand nodes

2014-12-04 Thread Boris Brezillon
space, while the NFC references several registers outside of these EBI ranges. Move the NFC node outside of the NAND node, to get a more future-proof DT representation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/mtd/nand/atmel_nand.c | 76

[PATCH 3/4] ARM: at91/dt: sama5: move NFC nodes outside of NAND nodes

2014-12-04 Thread Boris Brezillon
We have updated the atmel-nand binding to get a better representation of the NAND/NFC relationship. Update the DTs defining those NFC nodes accordingly. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 19 --- arch/arm/boot

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-15 Thread Boris Brezillon
Hi Alexander, On Tue, 09 Dec 2014 21:53:12 +0100 Alexander Stein alexander...@web.de wrote: Hi, On Monday 01 December 2014, 11:27:21 wrote Boris Brezillon: +static int at91_ebi_probe(struct platform_device *pdev) +{ + const struct of_device_id *match; + struct device_node *child

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 11:29:14 +0100 Alexander Stein alexander...@web.de wrote: On Monday 15 December 2014 11:22:30, Boris Brezillon wrote: Hi Alexander, On Tue, 09 Dec 2014 21:53:12 +0100 Alexander Stein alexander...@web.de wrote: Hi, On Monday 01 December 2014, 11:27:21

[PATCH 0/4] usb: atmel_usba_udc: Rework errata handling

2014-12-15 Thread Boris Brezillon
not apply cleanly on those stable branches. I'll send a backport of this series once it is merged in mainline. Regards, Boris Boris Brezillon (4): usb: atmel_usba_udc: Rework at91sam9rl errata handling usb: atmel_usba_udc: Add at91sam9g45 and at91sam9x5 errata handling ARM: at91/dt: update udc

[PATCH 2/4] usb: atmel_usba_udc: Add at91sam9g45 and at91sam9x5 errata handling

2014-12-15 Thread Boris Brezillon
at91sam9g45 and at91sam9x5 SoCs have an hardware bug forcing us to generate a pulse on the BIAS signal on USB end of reset” and “USB end of resume events. Reported-by: Patrice VILCHEZ patrice.vilc...@atmel.com Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb

[PATCH 1/4] usb: atmel_usba_udc: Rework at91sam9rl errata handling

2014-12-15 Thread Boris Brezillon
removed. Rework the toggle_bias implementation to attach it to the at91sam9rl-udc compatible string. Add new compatible strings to avoid executing at91sam9rl erratum handling on other SoCs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/usb/atmel

[PATCH 3/4] ARM: at91/dt: update udc compatible strings

2014-12-15 Thread Boris Brezillon
at91sam9g45, at91sam9x5 and sama5 SoCs should not use atmel,at91sam9rl-udc for their USB device compatible property since this compatible is attached to a specific hardware bug fix. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 2

[PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable with the interrupt enabled register value. Reported-by: Patrice VILCHEZ patrice.vilc...@atmel.com Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/gadget

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 13:34:56 + David Laight david.lai...@aculab.com wrote: From: Sergei Shtylyov Hello. On 12/15/2014 4:03 PM, Boris Brezillon wrote: Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
Hi David, On Mon, 15 Dec 2014 13:34:56 + David Laight david.lai...@aculab.com wrote: From: Sergei Shtylyov Hello. On 12/15/2014 4:03 PM, Boris Brezillon wrote: Avoid interpreting useless status flags when we're not waiting for such events by masking the status variable

Re: [PATCH 4/4] usb: atmel_usba_udc: mask status with enabled irqs

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 17:22:04 + David Laight david.lai...@aculab.com wrote: From: Boris Brezillon Hi David, On Mon, 15 Dec 2014 13:34:56 + David Laight david.lai...@aculab.com wrote: From: Sergei Shtylyov Hello. On 12/15/2014 4:03 PM, Boris Brezillon wrote

Re: [PATCH 4/4] ARM: at91/dt: sama5: move NAND nodes into board dts/dtsi

2014-12-29 Thread Boris Brezillon
Hi Josh, On Fri, 26 Dec 2014 17:45:51 +0800 Josh Wu josh...@atmel.com wrote: Hi, Boris On 12/5/2014 6:30 AM, Boris Brezillon wrote: sama5d3 and sama5d4 SoCs provides several CS to interface with external memories, and in particular NAND chips. The NAND flash controller embedded

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2014-12-29 Thread Boris Brezillon
one DT maintainer first. Thanks, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263

2014-12-29 Thread Boris Brezillon
. Unless there are other changes in the EBI/SMC bindings (which I'm not sure since the EBI driver has not been accepted yet) you have my Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http

[PATCH v3 1/5] genirq: Authorize chained handlers to remain disabled when initialized

2015-01-23 Thread Boris Brezillon
-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/irq.h| 26 ++ kernel/irq/chip.c | 12 +++- kernel/irq/irqdomain.c | 2 +- kernel/irq/msi.c | 3 ++- 4 files changed, 32 insertions(+), 11 deletions(-) diff --git a/include

[PATCH v3 2/5] irqchip: add dumb demultiplexer implementation

2015-01-23 Thread Boris Brezillon
on a given interrupt. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/irqchip/Kconfig | 4 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-dumb-demux.c | 72 include/linux/irq.h

[PATCH v3 3/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-23 Thread Boris Brezillon
Add documentation for the dumb demuxer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../bindings/interrupt-controller/dumb-demux.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

[PATCH v3 4/5] ARM: at91/dt: select DUMB_IRQ_DEMUX for all at91 SoCs

2015-01-23 Thread Boris Brezillon
Older at91 SoCs need a virtual dumb irq demuxer to gracefully support the fact that irq1 is shared by several devices and a timer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file

[PATCH v3 5/5] ARM: at91/dt: define a dumb irq demultiplexer chip connected on irq1

2015-01-23 Thread Boris Brezillon
IRQ is multiplexing several peripheral IRQs, but there's no way to properly demultiplex those IRQs. Use a dumb irq demux chip to achieve this demultiplexing operation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20

[PATCH v3 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-01-23 Thread Boris Brezillon
of trying to fix the current shared irq code Boris Brezillon (5): genirq: Authorize chained handlers to remain disabled when initialized irqchip: add dumb demultiplexer implementation irqchip: Add DT binding doc for dumb demuxer chips ARM: at91/dt: select DUMB_IRQ_DEMUX for all at91 SoCs

Re: [PATCH v3 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-01-24 Thread Boris Brezillon
Hi Thomas, On Sat, 24 Jan 2015 17:37:48 +0100 (CET) Thomas Gleixner t...@linutronix.de wrote: On Fri, 23 Jan 2015, Boris Brezillon wrote: - change the compatible string to clearly show that this chip is purely virtual So we probably want to do : s/dumb/virt/ for both DT and code

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-02 Thread Boris Brezillon
rebasing this series. On Thu, Dec 04, 2014 at 11:30:12PM +0100, Boris Brezillon wrote: The NAND and NFC (NAND Flash Controller) were linked together with a parent - child relationship. This model has several drawbacks: - it does not allow for multiple NAND chip handling while

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-04 Thread Boris Brezillon
Hi Josh, On Wed, 4 Feb 2015 18:06:37 +0800 Josh Wu josh...@atmel.com wrote: Hi, Boris Thanks a lot for your explanation, check my reply for more description for my suggestion. On 2/3/2015 5:37 PM, Boris Brezillon wrote: On Tue, 3 Feb 2015 16:46:15 +0800 Josh Wu josh...@atmel.com

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-03 Thread Boris Brezillon
On Tue, 3 Feb 2015 16:46:15 +0800 Josh Wu josh...@atmel.com wrote: Hi, Boris, Brian On 2/2/2015 5:42 PM, Boris Brezillon wrote: Hi Brian, On Sun, 1 Feb 2015 23:57:37 -0800 Brian Norris computersforpe...@gmail.com wrote: Hi Boris, BTW, this series has a few conflicts with other

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Boris Brezillon
* IRQ_TYPE_EDGE_FALLING; */ /* ... */ }; Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free

Re: [PATCH v2 2/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-14 Thread Boris Brezillon
Hi Jason, On Wed, 14 Jan 2015 13:56:19 -0500 Jason Cooper ja...@lakedaemon.net wrote: Hey Boris, On Tue, Jan 13, 2015 at 09:52:07PM +0100, Boris Brezillon wrote: On Tue, 13 Jan 2015 14:00:50 -0500 Jason Cooper ja...@lakedaemon.net wrote: On Tue, Jan 13, 2015 at 07:46:18PM +0100

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Boris Brezillon
Hi Rob, On Wed, 14 Jan 2015 16:24:32 -0600 Rob Herring robherri...@gmail.com wrote: On Wed, Jan 14, 2015 at 4:36 AM, Thomas Gleixner t...@linutronix.de wrote: On Tue, 13 Jan 2015, Rob Herring wrote: On Tue, Jan 13, 2015 at 12:46 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote

Re: [PATCH] AT91: DT: Watchdog, remove property idle halt by default

2015-01-18 Thread Boris Brezillon
SoCs (here is a patch doing it [1]) ? Apart from that you can add my: Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Best Regards, Boris [1]http://code.bulix.org/weg3zv-87745 --- arch/arm/boot/dts/at91sam9x5.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm

Re: [PATCH] ARM: at91: dts: sama5d3/sama5d4: reduce NFC command registers memory region

2015-01-15 Thread Boris Brezillon
: 0x7000 0x0800 Best Regards, Boris [1]http://code.bulix.org/2noozv-87724 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message

Re: [PATCH] ARM: at91: dts: sama5d3/sama5d4: reduce NFC command registers memory region

2015-01-15 Thread Boris Brezillon
Hi Josh, On Thu, 15 Jan 2015 17:59:15 +0800 Josh Wu josh...@atmel.com wrote: Hi, Boris Thanks for the review. On 1/15/2015 4:45 PM, Boris Brezillon wrote: Hi Josh, On Thu, 15 Jan 2015 15:08:03 +0800 Josh Wu josh...@atmel.com wrote: To get NFC status, we need to read the NFC

Re: [PATCHv2 1/2] dts: Documentation: AT91 Watchdog, explain what atmel,idle-halt property really do

2015-01-22 Thread Boris Brezillon
at all of the CPU stop working while it is in idle state, which is probably not what you want. Signed-off-by: Sylvain Rochet sylvain.roc...@finsecur.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/watchdog/atmel-wdt.txt | 5 + 1 file

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 17:42:22 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
flag :-(). -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 17:13:13 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 04:42:22PM +, Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
this for other purposes not related to timers. In the end a name is a name, and if you think IRQF_SHARED_TIMER_OK is better I shan't complain. The fundamental issue I'm concerned with is addressed by this approach. Okay then, is anyone taking care of submitting such a patch (Mark ?) ? -- Boris

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 16:32:31 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 15:55:47 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, February 11, 2015 01:24:37 PM Boris Brezillon wrote: Hi Mark, On Wed, 11 Feb 2015 11:11:06 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 08:53:39AM +, Boris

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Boris Brezillon
Hello Peter, On Tue, 10 Feb 2015 16:00:13 +0100 Peter Zijlstra pet...@infradead.org wrote: On Thu, Jan 29, 2015 at 11:33:37AM +0100, Boris Brezillon wrote: +#ifdef CONFIG_VIRT_IRQ_DEMUX_CHIP +/** + * struct irq_chip_virt_demux - Dumb demultiplexer irq chip data structure s/Dumb/Virtual

[PATCH] genirq: fix virtual irq demuxer related comments

2015-02-10 Thread Boris Brezillon
Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in kerneldoc headers. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/irq.h | 8 +--- kernel/irq/Kconfig | 2 +- kernel/irq/chip.c| 7

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
I'm fixing my own answer :-) On Tue, 10 Feb 2015 16:52:01 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
On Tue, 10 Feb 2015 16:16:00 + Mark Rutland mark.rutl...@arm.com wrote: On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-12 Thread Boris Brezillon
and desc-nr_actions, I don't think we win much. These cases should be rare in practice, the tests only performed when we request the irq, and there shouldn't be that many actions to loop over. Sure, never mind, as I said, I'm not sure extra optimization is needed here. Regards, Boris -- Boris

Re: [PATCH 0/4] ARM: at91: at91sam9x5: enable ISI and ov2640 support

2015-02-12 Thread Boris Brezillon
On Thu, 12 Feb 2015 16:06:22 +0800 Josh Wu josh...@atmel.com wrote: This patch series will enable ISI and ov2640 sensor support for at91sam9g25ek board. This series looks good to me. Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Josh Wu (4): ARM: at91: at91sam9x5/dts

Re: [PATCH 2/2] mtd: nand: driver for Conexant Digicolor NAND Flash Controller

2015-02-19 Thread Boris Brezillon
Hi Baruch, On Thu, 19 Feb 2015 11:43:01 +0200 Baruch Siach bar...@tkos.co.il wrote: Hi Boris, On Thu, Feb 19, 2015 at 12:17:04AM +0100, Boris Brezillon wrote: On Thu, 12 Feb 2015 13:10:19 +0200 Baruch Siach bar...@tkos.co.il wrote: This commit adds driver for the NAND flash controller

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-20 Thread Boris Brezillon
Hi Mark, On Fri, 20 Feb 2015 14:22:08 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Wed, Feb 11, 2015 at 04:38:23PM +, Boris Brezillon wrote: [...] For the list of impacted drivers, you can have a look at this series [1] (patches 2 to 5), and I'll take care

Re: [PATCH 2/2] mtd: nand: driver for Conexant Digicolor NAND Flash Controller

2015-02-18 Thread Boris Brezillon
infrastructure (no specific cmdfunc, seems to support raw accesses, ...) The only missing parts are: - proper timing configuration - replace active waits (polling) by passive waits (interrupt + waitqueue) But that should be fixed quite easily. Best Regards, Boris -- Boris Brezillon, Free

[PATCH v4 1/5] genirq: Authorize chained handlers to remain disabled when initialized

2015-01-29 Thread Boris Brezillon
-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/irq.h| 26 ++ kernel/irq/chip.c | 12 +++- kernel/irq/irqdomain.c | 2 +- kernel/irq/msi.c | 3 ++- 4 files changed, 32 insertions(+), 11 deletions(-) diff --git a/include

[PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-01-29 Thread Boris Brezillon
on a given interrupt. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/irqchip/Kconfig | 4 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-virt-demux.c | 72 include/linux/irq.h

[PATCH v4 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-01-29 Thread Boris Brezillon
for an dumb irq demuxer approach instead of trying to fix the current shared irq code Boris Brezillon (5): genirq: Authorize chained handlers to remain disabled when initialized irqchip: add virtual demultiplexer implementation irqchip: Add DT binding doc for the virtual irq demuxer chip

[PATCH v4 4/5] ARM: at91/dt: select VIRT_IRQ_DEMUX for all at91 SoCs

2015-01-29 Thread Boris Brezillon
Older at91 SoCs need a virtual irq demuxer to gracefully support the fact that irq1 is shared by several devices and a timer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file changed, 2

[PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-01-29 Thread Boris Brezillon
Add documentation for the virtual irq demuxer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../bindings/interrupt-controller/dumb-demux.txt | 41 ++ 1 file changed, 41 insertions(+) create mode

[PATCH v4 5/5] ARM: at91/dt: define a virtual irq demultiplexer chip connected on irq1

2015-01-29 Thread Boris Brezillon
IRQ1 is multiplexing several peripheral IRQs, but there's no way to properly demultiplex those IRQs. Use a virtual irq demux chip to achieve this demultiplexing operation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20

Re: [PATCH 1/4] mtd: nand: add NVIDIA Tegra NAND Flash controller driver

2015-01-10 Thread Boris Brezillon
/Documentation/devicetree/bindings/mtd/sunxi-nand.txt?id=refs/tags/v3.19-rc3 [2]http://code.bulix.org/tljno2-87698 [3]https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/mtd/nand/sunxi_nand.c?id=refs/tags/v3.19-rc3 -- Boris Brezillon, Free Electrons Embedded Linux

Re: [PATCH 1/4] mtd: nand: add NVIDIA Tegra NAND Flash controller driver

2015-01-10 Thread Boris Brezillon
ECC for all accesses, which means ecc.read/write_page_raw are probably not working correctly. -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord

Re: [PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver

2015-01-11 Thread Boris Brezillon
Hi Lee, On Wed, 3 Dec 2014 21:44:04 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Boris Brezillon
Hi Rob, On Tue, 13 Jan 2015 21:26:42 -0600 Rob Herring robherri...@gmail.com wrote: On Tue, Jan 13, 2015 at 12:46 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: Some interrupt controllers are multiplexing several peripheral IRQs on a single interrupt line. While

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Boris Brezillon
On Wed, 14 Jan 2015 14:36:42 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 13/01/2015 19:46, Boris Brezillon a écrit : Some interrupt controllers are multiplexing several peripheral IRQs on a single interrupt line. While this is not a problem for most IRQs (as long as all

Re: [PATCH v4 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-02-09 Thread Boris Brezillon
Hi Thomas, Any chance this could go in the next kernel release ? More and more people are complaining about this backtrace :-/. Regards, Boris On Thu, 29 Jan 2015 11:33:35 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: Commit cab303be91dc47942bc25de33dc1140123540800 [1

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
Hi Mark, On Tue, 10 Feb 2015 20:48:36 + Mark Rutland mark.rutl...@arm.com wrote: On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
Hi Mark, On Wed, 11 Feb 2015 11:11:06 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 08:53:39AM +, Boris Brezillon wrote: Hi Mark, On Tue, 10 Feb 2015 20:48:36 + Mark Rutland mark.rutl...@arm.com wrote: On Tue, Feb 10, 2015 at 03:52:01PM +

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: Add documentation for the virtual irq demuxer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked

[PATCH 0/5] USB: atmel: rework clock handling

2015-03-17 Thread Boris Brezillon
Hello, This series reworks clock handling in atmel USB host drivers, and while doing so fixes a regression introduced by 3440ef1 (ARM: at91/dt: fix USB high-speed clock to select UTMI). Best Regards, Boris Boris Brezillon (5): USB: ehci-atmel: rework clk handling USB: host: ohci-at91

[PATCH 1/5] USB: ehci-atmel: rework clk handling

2015-03-17 Thread Boris Brezillon
the CLK_SET_RATE_GATE flag, which means the rate cannot be changed once the clock is prepared 2/ The EHCI driver was retrieving and preparing/enabling the uhpck clock which was in turn preparing its parent clock (the usb clock), thus preventing any rate change because of 1/ Signed-off-by: Boris

[PATCH 2/5] USB: host: ohci-at91: remove useless uclk clock

2015-03-17 Thread Boris Brezillon
Now that the system clock driver is forwarding set_rate request to the parent clock, we can safely call clk_set_rate on the system clk and get rid of the uclk field. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/usb/host/ohci-at91.c | 18 +++--- 1 file

[PATCH 3/5] USB: atmel: update DT bindings documentation

2015-03-17 Thread Boris Brezillon
Add documentation for the missing clocks, clock-names, reg and interrupts properties. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/usb/atmel-usb.txt | 25 ++ 1 file changed, 25 insertions(+) diff --git a/Documentation

[PATCH 4/5] ARM: at91/dt: remove useless uhpck clock references from ehci defintions

2015-03-17 Thread Boris Brezillon
The uhpck is useless for High-Speed communications, remove the reference to this clock in all ehci definitions. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 4 ++-- arch/arm/boot/dts/at91sam9x5.dtsi | 4 ++-- arch/arm/boot/dts

[PATCH 5/5] ARM: at91/dt: remove useless usb clock

2015-03-17 Thread Boris Brezillon
The ohci driver now calls clk_set_rate on the uhpck clock (which forwards set_rate requests to its parent: the usb clock). Remove useless references to usb clocks from ohci definitions. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 4

[PATCH v2 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-06 Thread Boris Brezillon
embedded in at91 SoCs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 32 +--- drivers/net/ethernet/cadence/macb.h | 2 ++ 2 files changed

[PATCH v2 2/3] ARM: at91/dt: fix macb compatible strings

2015-03-06 Thread Boris Brezillon
Some at91 SoCs embed a 10/100 Mbit Ethernet IP, that is based on the at91sam9260 SoC. Fix at91 DTs accordingly. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 2

[PATCH v2 0/3] net: macb: rework at91 specific handling

2015-03-06 Thread Boris Brezillon
as Alexandre suggested Boris Brezillon (3): net/macb: Update DT bindings documentation ARM: at91/dt: fix macb compatible strings net: macb: remove #if defined(CONFIG_ARCH_AT91) sections Documentation/devicetree/bindings/net/macb.txt | 5 +++- arch/arm/boot/dts/at91sam9260.dtsi | 2

[PATCH v2 1/3] net/macb: Update DT bindings documentation

2015-03-06 Thread Boris Brezillon
Add missing cdns,at91sam9260-macb, atmel,sama5d3-gem and atmel,sama5d4-gem compatible strings. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/net/macb.txt | 5 - 1

Re: [PATCH 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-06 Thread Boris Brezillon
On Thu, 5 Mar 2015 20:44:18 +0100 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: On 05/03/2015 at 17:27:22 +0100, Boris Brezillon wrote : @@ -2388,21 +2392,20 @@ static int macb_probe(struct platform_device *pdev) bp-phy_interface = err; } + config

[PATCH v3 2/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
...@atmel.com Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Tested-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/Kconfig | 8 - drivers/net/ethernet/cadence/Makefile | 1 - drivers/net/ethernet/cadence/at91_ether.c | 481

[PATCH v3 0/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
Hello, The rm9200 boards use the dedicated at91_ether driver instead of the regular macb driver. Both the macb and at91_ether drivers can be compiled as separated modules. Since the at91_ether driver uses code from the macb driver, at91_ether.ko depends on macb.ko. However the macb.ko module

[PATCH v3 1/2] net/macb: unify clock management

2015-03-06 Thread Boris Brezillon
management and avoid the need to test tx_clk value. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 31

Re: [PATCH] pinctrl: dt: at91: new binding

2015-03-06 Thread Boris Brezillon
either: you'll have to split pinconf definitions and that definitely doesn't improve readability. Others already do so and this is not complex at all Could you point out these bindings (and real examples please). Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel

[PATCH] net/macb: Update DT bindings documentation

2015-03-06 Thread Boris Brezillon
Add missing cdns,at91sam9260-macb, atmel,sama5d3-gem and atmel,sama5d4-gem compatible strings. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation

Re: [PATCH v3 0/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
Hello Dave, On Fri, 06 Mar 2015 15:18:30 -0500 (EST) David Miller da...@davemloft.net wrote: From: Boris Brezillon boris.brezil...@free-electrons.com Date: Fri, 6 Mar 2015 11:48:39 +0100 Changes since v2: - rebase after changed brought by [1] Ugh, actually I'm tossing all of your

[PATCH v4 1/4] ARM: at91/dt: fix macb compatible strings

2015-03-06 Thread Boris Brezillon
Some at91 SoCs embed a 10/100 Mbit Ethernet IP, that is based on the at91sam9260 SoC. Fix at91 DTs accordingly. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 2

[PATCH v4 4/4] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
...@atmel.com Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Tested-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/Kconfig | 8 - drivers/net/ethernet/cadence/Makefile | 1 - drivers/net/ethernet/cadence/at91_ether.c | 481

[PATCH v4 2/4] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-06 Thread Boris Brezillon
embedded in at91 SoCs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Reviewed-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 32 +--- drivers/net/ethernet/cadence/macb.h | 2 ++ 2 files changed

[PATCH v4 0/4] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
: remove #if defined(CONFIG_ARCH_AT91) sections Changes since v1: - rework probe functions to share common probing logic Boris Brezillon (2): ARM: at91/dt: fix macb compatible strings net: macb: remove #if defined(CONFIG_ARCH_AT91) sections Cyrille Pitchen (2): net/macb: unify clock

[PATCH v4 3/4] net/macb: unify clock management

2015-03-06 Thread Boris Brezillon
management and avoid the need to test tx_clk value. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 31

Re: [PATCH v2 1/2] mtd: nand: dt binding documentation for digicolor NFC

2015-03-02 Thread Boris Brezillon
-- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/3] ARM: at91/dt: fix macb compatible strings

2015-03-05 Thread Boris Brezillon
Some at91 SoCs embed a 10/100 Mbit Ethernet IP, that is based on the at91sam9260 SoC. Fix at91 DTs accordingly. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 2 +- arch/arm/boot/dts/at91sam9263.dtsi | 2 +- arch/arm/boot/dts

[PATCH 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-05 Thread Boris Brezillon
embedded in at91 SoCs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 33 ++--- drivers/net/ethernet/cadence/macb.h | 2 ++ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/drivers/net/ethernet

[PATCH 0/3] net: macb: rework at91 specific handling

2015-03-05 Thread Boris Brezillon
Hello, This removes the #if defined(ARCH_AT91) sections to prevent any problem when enabling ARM multi-platform support. The at91 specific logic is now activated when the at91sam9260-macb compatible string is found. Best Regards, Boris Boris Brezillon (3): net/macb: Update DT bindings

[PATCH 1/3] net/macb: Update DT bindings documentation

2015-03-05 Thread Boris Brezillon
Add missing cdns,at91sam9260-macb, atmel,sama5d3-gem and atmel,sama5d4-gem compatible strings. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/net/macb.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-23 Thread Boris Brezillon
://lxr.free-electrons.com/source/kernel/irq/chip.c#L348 [2]http://lxr.free-electrons.com/source/kernel/irq/chip.c#L386 [3]http://code.bulix.org/gboee1-87936 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-23 Thread Boris Brezillon
, share your opinion on this proposal, and feel free to propose any other solution. Hopefully the above covers that! Yes it does. Thanks for the review. Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-24 Thread Boris Brezillon
was Thomas concern regarding this suspended action list approach ? Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/3] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2015-02-26 Thread Boris Brezillon
Hi Jean-Christophe, On Thu, 26 Feb 2015 19:49:09 +0800 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On Feb 26, 2015, at 5:18 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: Hi Josh, On Tue, 10 Feb 2015 14:14:43 +0800 Josh Wu josh...@atmel.com

Re: [PATCH 1/3] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2015-02-26 Thread Boris Brezillon
, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v6 4/4] crypto: Add Allwinner Security System crypto accelerator

2015-03-26 Thread Boris Brezillon
/scatterlist.c#L621 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH v2 1/2] net/macb: unify clock management

2015-03-05 Thread Boris Brezillon
management and avoid the need to test tx_clk value. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/ethernet/cadence/macb.c | 31

[PATCH v2 2/2] net/macb: merge at91_ether driver into macb driver

2015-03-05 Thread Boris Brezillon
...@atmel.com Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/net/ethernet/cadence/Kconfig | 8 - drivers/net/ethernet/cadence/Makefile | 1 - drivers/net/ethernet/cadence/at91_ether.c | 481 -- drivers/net/ethernet/cadence/macb.c | 641

<    4   5   6   7   8   9   10   11   >