[PATCH] mtd: pxa3xx_nand: fix driver when num_cs is 0

2015-02-08 Thread Robert Jarzmik
a5770060c8441895 ]--- Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/mtd/nand/pxa3xx_nand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 96b0b1d..4a2df63 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-21 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: Very well, Russell and yourself have convinced me. If you fixup the remainder of comments, I'm happy. Cool. Let me a couple of days to gather my wits, cross-check I have not forgotten a comment, make some testing on the board and then post v4. Cheers.

Re: [PATCH v3 1/3] dt-bindings: mfd: add lubbock-io binding

2015-01-19 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: On Fri, 16 Jan 2015, Robert Jarzmik wrote: Add a binding for lubbock motherboard IO board. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- .../devicetree/bindings/mfd/lubbock-io.txt | 26 ++ 1 file changed, 26

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-19 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: On Fri, 16 Jan 2015, Robert Jarzmik wrote: As a fix, move the gpio0 chained handler setup to a place where we have the guarantee that pxa_gpio_probe() was called before, so that lubbock handler becomes the true IRQ chained handler of GPIO0, demuxing

[PATCH v3 1/3] dt-bindings: mfd: add lubbock-io binding

2015-01-16 Thread Robert Jarzmik
Add a binding for lubbock motherboard IO board. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- .../devicetree/bindings/mfd/lubbock-io.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/lubbock-io.txt diff

[PATCH v3 3/3] ARM: pxa: lubbock: use new lubbock_io driver

2015-01-16 Thread Robert Jarzmik
As the interrupt handling was transferred to the lubbock_io driver, make the switch in lubbock platform code. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: change the name from cottula to lubbock_io Dmitry pointed out the Cottula was the pxa25x family name

[PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-16 Thread Robert Jarzmik
, demuxing the lubbock IO board interrupts. This patch moves all that handling to a mfd driver. It's only purpose for the time being is the interrupt handling, but in the future it should encompass all the motherboard CPLDs handling : - leds - switches - hexleds Signed-off-by: Robert Jarzmik

Re: [PATCH] usb: phy: make GPIOs optional for the generic phy

2015-01-16 Thread Robert Jarzmik
...@synopsys.com Reviewed-by: Robert Jarzmik robert.jarz...@free.fr Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc

2015-01-16 Thread Robert Jarzmik
Mike Turquette mturque...@linaro.org writes: Quoting Robert Jarzmik (2014-12-27 05:55:28) Add 2 clocks which were erronously forgotten by the clock framework port, namely : - sa1100-rtc - irda for pxa2xx-ir:UARTCLK Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Acked-by: Michael

Re: [PATCH RESEND] pxa_timer: fix session missmatch warning

2015-01-15 Thread Robert Jarzmik
pxa_timer_common_init() references the function __init clocksource_mmio_init(). This is often because pxa_timer_common_init lacks a __init annotation or the annotation of clocksource_mmio_init is wrong. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com Acked-by: Robert Jarzmik robert.jarz

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-21 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: On Wed, 21 Jan 2015, Robert Jarzmik wrote: platform_get_irq()? No. I need the flags. Where are they used? A couple of lines below, using local irqflags variable : ret = devm_request_irq(pdev-dev, cot-irq, lubbock_irq_handler

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-20 Thread Robert Jarzmik
Russell King - ARM Linux li...@arm.linux.org.uk writes: What I'd suggest (and always have done) is: dev_err(pdev-dev, couldn't request main irq%d: %d\n, irq, ret); I like it, it's even more compact, I'll use it for next patch version. but I guess printing the IRQ number

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-21 Thread robert . jarzmik
- Mail original - De: Lee Jones lee.jo...@linaro.org First of all, this is my web mail interface, so please be kind with my mail formatting ... Looking at one of the other patches in the series it appears the flag you're trying to capture is IORESOURCE_IRQ_LOWEDGE. When I grep for

Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node

2015-02-10 Thread Robert Jarzmik
...@nvidia.com Tested-by: Robert Jarzmik robert.jarz...@free.fr (on arm pxa architecture) Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Robert Jarzmik
Vasily Khoruzhick anars...@gmail.com writes: On Sun, Feb 15, 2015 at 1:47 AM, Robert Jarzmik robert.jarz...@free.fr wrote: In order to slowly transition pxa to dmaengine, the legacy code will now rely on dmaengine to request a channel. Hi Robert, What about dropping old PXA DMA code

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Robert Jarzmik
Vasily Khoruzhick anars...@gmail.com writes: On Mon, Feb 16, 2015 at 7:54 PM, Robert Jarzmik robert.jarz...@free.fr wrote: Oh, do you volunteer ? That would indeed ease up my burden. I only rebased pxa3xx_nand, so any help to submit and push is welcome. At least I can commit to review

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: drivers/mtd/nand/pxa3xx_nand.c | 47 -- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index

Re: [PATCH] mtd: pxa3xx-nand: handle PIO in threaded interrupt

2015-02-18 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: On Tue, Feb 17, 2015 at 09:06:57PM +0100, Robert Jarzmik wrote: Change the handling of the data stage in the driver : don't pump data in the top-half interrupt, but rather schedule a thread for non dma cases. This will enable latencies

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-13 Thread Robert Jarzmik
Linus Walleij linus.wall...@linaro.org writes: On Fri, Feb 13, 2015 at 12:59 AM, Robert Jarzmik robert.jarz...@free.fr wrote: But isn't the real problem that in the device tree case, irq_get_irq_data(ndev-irq) will work becaus parsing an interrupt from the device tree populates it correctly

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-17 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: On Mon, Feb 16, 2015 at 10:36:02PM +0100, Robert Jarzmik wrote: diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index e512902..6e569e9 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand

[PATCH v2 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-17 Thread Robert Jarzmik
, and the other part using the legacy code. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: removed Kconfig selects added the mmp_pdma platform devices for legacy platforms fixed the legacy dma interrupt handler to cooperate with mmp_pdma --- arch/arm/mach-pxa

[PATCH v2 1/2] dma: mmp_dma: add support for legacy transition

2015-02-17 Thread Robert Jarzmik
-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: fix irq handler to not touch legacy reserved dma interrupts --- drivers/dma/mmp_pdma.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 8926f27..1b82bd6

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Robert Jarzmik
Maxime Ripard maxime.rip...@free-electrons.com writes: I don't think an mdelay(256) is acceptable. That's very true that this driver would need some love, but valentine's day was last week. That doesn't cope with the 256ms mdelay. And a potential big mdelay is not what I'd call a bug fix, see

[PATCH] mtd: pxa3xx-nand: handle PIO in threaded interrupt

2015-02-17 Thread Robert Jarzmik
be served while pumping data. No throughput degradation was observed, at least on the zylonite platform, while a slight degradation was being expected. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/mtd/nand/pxa3xx_nand.c | 23 --- 1 file changed, 20 insertions

Re: [PATCH v2 1/2] dma: mmp_dma: add support for legacy transition

2015-02-19 Thread Robert Jarzmik
Daniel Mack dan...@zonque.org writes: Hi Robert, Thanks for pushing this topic :) One minor nit: +int mmp_pdma_toggle_reserved_channel(int legacy_channel) +{ +if (legacy_unavailable (1 legacy_channel)) +return -EBUSY; +legacy_reserved ^= 1 legacy_channel; +

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-19 Thread Robert Jarzmik
David Miller da...@davemloft.net writes: Now if you can make it in -rc2 or -rc3, this revert should be forgotten. But if you can't make it for 3.20, I'll push for the revert. So I think it's up to you now, and let's see what Gregh says about it. What is the current status of this? I'd

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-16 Thread robert . jarzmik
- Mail original - De: Lee Jones lee.jo...@linaro.org À: Robert Jarzmik robert.jarz...@free.fr Cc: Rob Herring robh...@kernel.org, Pawel Moll pawel.m...@arm.com, Mark Rutland mark.rutl...@arm.com, Ian Campbell ijc+devicet...@hellion.org.uk, Kumar Gala ga...@codeaurora.org, Daniel Mack

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-16 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: What's all this? Please configure your mail client correctly. For advice, see: Documentation/email-clients.txt While at day work, I have only access to web mail ... 2) after v2, we _both_ agreed that the accurate name is cplds which exactly

Re: [PATCH] mtd: pxa3xx-nand: handle PIO in threaded interrupt

2015-02-18 Thread Robert Jarzmik
Ezequiel Garcia ezequiel.gar...@free-electrons.com writes: +static irqreturn_t pxa3xx_nand_irq_thread(int irq, void *data) +{ +struct pxa3xx_nand_info *info = data; + +handle_data_pio(info); + +info-state = STATE_CMD_DONE; Are you sure you need to set the state here? Euh no,

Re: [PATCH] ARM: pxa: Fix typo in zeus.c

2015-01-31 Thread Robert Jarzmik
Masanari Iida standby2...@gmail.com writes: This patch fix a typo in struct platform_device can_regulator_device. Signed-off-by: Masanari Iida standby2...@gmail.com Applied to pxa/fixes, thanks. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH v4 3/4] ARM: pxa: lubbock: use new lubbock_cplds driver

2015-01-24 Thread Robert Jarzmik
As the interrupt handling was transferred to the lubbock_cplds driver, make the switch in lubbock platform code. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: change the name from cottula to lubbock_io Dmitry pointed out the Cottula was the pxa25x family name

[PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-01-24 Thread Robert Jarzmik
, demuxing the lubbock IO board interrupts. This patch moves all that handling to a mfd driver. It's only purpose for the time being is the interrupt handling, but in the future it should encompass all the motherboard CPLDs handling : - leds - switches - hexleds Signed-off-by: Robert Jarzmik

[PATCH v4 4/4] MAINTAINERS: add entry for lubbock-cplds

2015-01-24 Thread Robert Jarzmik
Add entry Lubbock cplds driver into the pxa platform scope. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..8c6a49d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7681,6 +7681,7 @@ T

[PATCH v4 1/4] dt-bindings: mfd: add lubbock-cplds binding

2015-01-24 Thread Robert Jarzmik
Add a binding for lubbock motherboard IO board. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v3: name change to lubbock-cplds, Lee's comments taken into account. --- .../devicetree/bindings/mfd/lubbock-cplds.txt | 26 ++ 1 file changed, 26

[PATCH] ARM: pxa: fix pxa interrupts handling in DT

2015-01-31 Thread Robert Jarzmik
and device-tree builds. Fix the broken interrupts in DT case by adding this shift in the DT case too. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/mach-pxa/irq.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach

[PATCH 2/5] ARM: dts: pxa: add clocks

2015-01-31 Thread Robert Jarzmik
disable them automatically (unused clocks shutdown) Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH 3/5] ARM: dts: pxa: add pxa27x-udc to pxa27x

2015-01-31 Thread Robert Jarzmik
Each pxa27x has an embedded usb udc controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-01-31 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-01-31 Thread Robert Jarzmik
Each pxa variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm

[PATCH 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-01-31 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 13 + 1 file changed, 13 insertions

[PATCH] clocksource: pxa: fix section mismatch

2015-01-31 Thread Robert Jarzmik
(.text.unlikely+0x4610): Section mismatch in reference from the function pxa_timer_common_init() to the function .init.text:clocksource_mmio_init() Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clocksource/pxa_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] ARM: pxa: fix pxa interrupts handling in DT

2015-02-01 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: The commit ARM: pxa: arbitrarily set first interrupt number changed the first pxa interrupt to 16. As a consequence, device-tree builds got broken, because : - pxa_mask_irq() and pxa_unmask_irq() are using IRQ_BIT() - IRQ_BIT(x) calculates

[PATCH] ARM: pxa: pxa27x skip default device initialization with DT

2015-01-31 Thread Robert Jarzmik
When booting via DT, the default PXA devices must not have been probed before, otherwise the augmented information from the device tree is ignored. This is the twin commit of commit 82ce44d104dc (ARM: pxa3xx: skip default device initialization when booting via DT). Signed-off-by: Robert Jarzmik

[PATCH] clk: pxa: fix pxa27x_clocks_init scope

2015-01-31 Thread Robert Jarzmik
have to be available before the timer, all of this before initcalls are called). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clk/pxa/clk-pxa27x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/pxa/clk-pxa27x.c b/drivers/clk/pxa/clk-pxa27x.c

Re: [PATCH 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-01 Thread Robert Jarzmik
Mark Rutland mark.rutl...@arm.com writes: On Sat, Jan 31, 2015 at 10:48:30PM +, Robert Jarzmik wrote: +clocksources { +#address-cells = 1; +#size-cells = 1; +ranges; + There is absolutely no need for this container node. Please get rid

[PATCH v2] ARM: pxa: fix pxa interrupts handling in DT

2015-02-01 Thread Robert Jarzmik
interrupts - the virtual to hardware interrupt conversion is fully handled by irq domain mechanics Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: add irq domain to legacy platforms (not DT) irq handling --- arch/arm/mach-pxa/irq.c | 111

Re: [PATCH 3.16.y-ckt 053/168] ARM: pxa: fix hang on startup with DEBUG_LL

2015-01-12 Thread Robert Jarzmik
Luis Henriques luis.henriq...@canonical.com writes: On Sun, Jan 11, 2015 at 10:39:08PM +, Ben Hutchings wrote: Thanks Ben. Robert, do you think this is a problem? I can revert this patch as it has already been released in 3.16.7-ckt3. Hi Luis, No, no problem. It'll be an unused kconfig

Re: [PATCH 0/4] Transition of pxa25x and pxa27x to clock framework

2015-01-12 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Once reviewed, I'd like this serie to go through the pxa tree. Therefore an ack from Mike is necesary for the last patch (add missing pxa27x clocks). This is targeted at 3.20 window. Well, no review is good news ... or not. Mike I still need

Re: [PATCH] arm: pxa: fix pxa27x device-tree support kconfig

2015-01-06 Thread Robert Jarzmik
Paul Bolle pebo...@tiscali.nl writes: Hi Robert, This patch is not urgent, of course, but by now I would have expected it to hit linux-next. So I decided to send out this reminder. Hi Paul, I didn't make the pull request yet. I was waiting for -rc4, but as it looks my tree is stable now, I

Re: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2015-01-13 Thread Robert Jarzmik
Paul Zimmerman paul.zimmer...@synopsys.com writes: The patch below fixes it. And it seems like the right thing to me, since GPIOs should be optional for a generic phy, I would think. But my device tree foo is very weak, so I'm not sure. CCing Robert, who touched the generic phy code last.

Re: [PATCH v3 2/5] ARM: dts: pxa: add clocks

2015-02-09 Thread Robert Jarzmik
+ ffuart: uart@4010 { + clocks = pxa2xx_clks CLK_FFUART; + }; + After another thought about your one line node, I think this can be even improved, so that : - uart clocks are put into pxa2xx.dtsi instead of pxa27x.dtsi - replace all

Re: gpio-pxa: getting GPIOs by devicetree phandle broken

2015-02-09 Thread Robert Jarzmik
Alexandre Courbot gnu...@gmail.com writes: Adding Robert who reported the same thing. On Sat, Feb 7, 2015 at 6:28 AM, Tyler Hall tylerwh...@gmail.com wrote: 1. Require child nodes in DT for each bank This would break DT compatibility. Agreed. 2. Refactor gpio-pxa to only register one

Re: gpio-pxa: getting GPIOs by devicetree phandle broken

2015-02-09 Thread Robert Jarzmik
Tyler Hall tylerwh...@gmail.com writes: The issue with multiple gpiochips per of-node could be worked around as followed I believe, comments? diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 08261f2..43984ab 100644 --- a/drivers/gpio/gpiolib-of.c +++

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-13 Thread Robert Jarzmik
Linus Walleij linus.wall...@linaro.org writes: On Fri, Feb 13, 2015 at 12:59 AM, Robert Jarzmik robert.jarz...@free.fr wrote: But isn't the real problem that in the device tree case, irq_get_irq_data(ndev-irq) will work becaus parsing an interrupt from the device tree populates

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-13 Thread Robert Jarzmik
Linus Walleij linus.wall...@linaro.org writes: On Fri, Feb 13, 2015 at 12:59 AM, Robert Jarzmik robert.jarz...@free.fr wrote: But isn't the real problem that in the device tree case, irq_get_irq_data(ndev-irq) will work becaus parsing an interrupt from the device tree populates

Re: [PATCH v4 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-14 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: pxa27x variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa27x description. Signed-off

[PATCH] clk: pxa: pxa3xx: add missing os timer clock

2015-02-14 Thread Robert Jarzmik
to shift clocks handling to clock framework applied. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/clk/pxa/clk-pxa3xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/pxa/clk-pxa3xx.c b/drivers/clk/pxa/clk-pxa3xx.c index 39f891b..4b93a1e 100644 --- a/drivers/clk

[PATCH v3] ARM: pxa: fix pxa interrupts handling in DT

2015-02-14 Thread Robert Jarzmik
interrupts - the virtual to hardware interrupt conversion is fully handled by irq domain mechanics Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: add irq domain to legacy platforms (not DT) irq handling Since v2: select IRQ_DOMAIN in KConfig and irq 0x1f --- arch/arm/Kconfig

Re: [PATCH] ARM: pxa: pxa27x skip default device initialization with DT

2015-02-14 Thread Robert Jarzmik
Daniel Mack dan...@zonque.org writes: On 02/07/2015 10:18 PM, Robert Jarzmik wrote: When booting via DT, the default PXA devices must not have been probed before, otherwise the augmented information from the device tree is ignored. This is the twin commit of commit 82ce44d104dc (ARM

Re: [PATCH] mtd: pxa3xx_nand: fix driver when num_cs is 0

2015-02-14 Thread Robert Jarzmik
Ezequiel Garcia ezequiel.gar...@free-electrons.com writes: On 02/08/2015 05:02 PM, Robert Jarzmik wrote: As the devicetree binding doesn't require num_cs to exist or be strictly positive, and neither does the platform data case, a bug appear when num_cs is set to 0 and panics the kernel

[PATCH RFC 0/2] Prepare smooth PXA transition to dmaengine

2015-02-14 Thread Robert Jarzmik
split between both APIs This was only compiled for now, I'll make some test shortly. If anybody thinks of something smarter, please let me know. Cheers. -- Robert Robert Jarzmik (2): dma: mmp_dma: add support for legacy transition ARM: pxa: transition to dmaengine phase 1 arch/arm/Kconfig

[PATCH RFC 1/2] dma: mmp_dma: add support for legacy transition

2015-02-14 Thread Robert Jarzmik
-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/dma/mmp_pdma.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 8926f27..d4efbe1 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -232,6

[PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-14 Thread Robert Jarzmik
, and the other part using the legacy code. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/Kconfig | 2 ++ arch/arm/plat-pxa/dma.c | 4 +++- arch/arm/plat-pxa/include/plat/dma.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm

Re: [PATCH v4 1/4] dt-bindings: mfd: add lubbock-cplds binding

2015-02-10 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Add a binding for lubbock motherboard IO board. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v3: name change to lubbock-cplds, Lee's comments taken into account. Hi Lee, I hope I have handled all the comments

Re: [PATCH 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-02-10 Thread Robert Jarzmik
Boris Brezillon boris.brezil...@free-electrons.com writes: On Tue, 27 Jan 2015 15:10:12 +0100 Antoine Tenart antoine.ten...@free-electrons.com wrote: The nand controller on Marvell Berlin SoC reuse the pxa3xx nand driver as it quite close. The process of sending commands can be compared to

Re: [PATCH 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-02-12 Thread Robert Jarzmik
Antoine Tenart antoine.ten...@free-electrons.com writes: All these ifs per variant will add complexity to the current driver, won't they ? Given the current state of this driver I believe this would be a better idea to first rework it to use the nand framework properly. Then it will be

[PATCH v4 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-12 Thread Robert Jarzmik
pxa27x variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa27x description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v2

[PATCH v4 2/5] ARM: dts: pxa: add clocks

2015-02-12 Thread Robert Jarzmik
disable them automatically (unused clocks shutdown) Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v3: change pxa2xx-clks into clks to accomodate pxa3xx as well --- arch/arm/boot/dts/pxa27x.dtsi | 18 ++ arch/arm/boot/dts/pxa2xx.dtsi | 7 ++- arch/arm/boot/dts

[PATCH v4 3/5] ARM: dts: pxa: add pxa27x-udc to pxa27x

2015-02-12 Thread Robert Jarzmik
Each pxa27x has an embedded usb udc controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v3: changed pxa2xx-clks into clks --- arch/arm/boot/dts/pxa27x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm

[PATCH v4 5/5] ARM: dts: pxa: add pxa-timer to pxa27x and pxa3xx

2015-02-12 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Since v1: removed clocksource node, pxa-timer being directly under pxabus

Re: [PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk

2015-02-12 Thread Robert Jarzmik
by Mike or Stephen, the clk-pxa part looks quite straightforward, so : Acked-by: Robert Jarzmik robert.jarz...@free.fr Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-12 Thread Robert Jarzmik
for legacy platforms, while for example in arch/arm/mach-pxa/zylonite.c, in struct resource smc91x_resources[] the irq flag is specified. This breaks zylonite because the interrupt is not setup as triggered, and hardware doesn't provide interrupts. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr

[PATCH v4 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-02-12 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts

[PATCH] dma: mmp_pdma: fix warning about slave caps

2015-02-15 Thread Robert Jarzmik
Fix the dmaengine complaint about missing slave caps : - declare the available bus widths - declare the available transfer types - declare the residue calculation type Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/dma/mmp_pdma.c | 7 +++ 1 file changed, 7 insertions

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread robert . jarzmik
- Mail original - De: Arnd Bergmann a...@arndb.de À: linux-arm-ker...@lists.infradead.org Cc: Robert Jarzmik robert.jarz...@free.fr, Vinod Koul vinod.k...@intel.com, Olof Johansson o...@lixom.net, Daniel Mack zon...@gmail.com, Haojian Zhuang haojian.zhu...@gmail.com, dmaeng

Re: [PATCH v2] mfd: lubbock_io: add lubbock_io board

2015-01-08 Thread Robert Jarzmik
Mark Rutland mark.rutl...@arm.com writes: Hi Robert, Given the addition of an of_device_id table and some (implicit) property parsing, this requires a device tree binding document. Yes, you're right. I'll prepare that. +ret = devm_request_irq(pdev-dev, cot-irq, lubbock_irq_handler, 0,

Re: [PATCH] drivers: platform: parse IRQ flags from resources

2015-03-14 Thread Robert Jarzmik
. Fixes: d52fdbb735c3 (smc91x: retrieve IRQ and trigger flags in a modern way) Tested-by: Robert Jarzmik robert.jarz...@free.fr Signed-off-by: Linus Walleij linus.wall...@linaro.org --- Greg/Grant: I'm a bit uncertain here. It's kind of unintuitive that the platform_get_irq() function go around

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-03-16 Thread Robert Jarzmik
David Miller da...@davemloft.net writes: From: Robert Jarzmik robert.jarz...@free.fr Date: Thu, 19 Feb 2015 21:48:49 +0100 Linus has submitted the patch [1]. I'll be watching carefully until -rc4 that this is applied. If it's not, I'll reping you to apply this revert. Until then, you can

[PATCH 2/5] MAINTAINERS: add pxa dma driver to pxa architecture

2015-03-21 Thread Robert Jarzmik
Add the pxa dma driver as maintained by the pxa architecture maintainers, as it is part of the core IP. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9a76a40..35062a7 100644

[PATCH 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-03-21 Thread Robert Jarzmik
and pxamci. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/dma/Kconfig | 11 + drivers/dma/Makefile|1 + drivers/dma/pxa_dma.c | 1207 +++ include/linux/dma/pxa-dma.h | 27 + 4 files changed, 1246 insertions

[PATCH 0/5] Driver for pxa architectures

2015-03-21 Thread Robert Jarzmik
of the last steps (or so I hope) for pxa architure to be part of the multiplatform ARM architecture, and at the same time keep its legacy platforms operational. It will kill arch/arm/plat-pxa/dma.c in the long term. Cheers. -- Robert Robert Jarzmik (5): Documentation: dmaengine: pxa-dma design

[PATCH 5/5] dmaengine: pxa_dma: add support for legacy transition

2015-03-21 Thread Robert Jarzmik
-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/dma/pxa_dma.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index aec3e71..9b8ca68 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -417,6 +417,15

[PATCH 2/4] media: pxa_camera: move interrupt to tasklet

2015-03-21 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com In preparation for dmaengine conversion, move the camera interrupt handling into a tasklet. This won't change the global flow, as this interrupt is only used to detect the end of frame and activate DMA fifos handling. Signed-off-by: Robert Jarzmik

[PATCH 4/4] media: pxa_camera: conversion to dmaengine

2015-03-21 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com Convert pxa_camera to dmaengine. This removes all DMA registers manipulation in favor of the more generic dmaengine API. The functional level should be the same as before. The biggest change is in the videobuf_sg_splice() function, which splits

[PATCH 1/4] media: pxa_camera: fix the buffer free path

2015-03-21 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com Fix the error path where the video buffer wasn't allocated nor mapped. In this case, in the driver free path don't try to unmap memory which was not mapped in the first place. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/media

[PATCH] dmaengine: virt-dma: don't always free descriptor upon completion

2015-03-21 Thread Robert Jarzmik
in the transfer. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Cc: Lars-Peter Clausen l...@metafoo.de --- drivers/dma/virt-dma.c | 19 +-- drivers/dma/virt-dma.h | 13 - 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/drivers/dma/virt-dma.c b/drivers

[PATCH 1/5] Documentation: dmaengine: pxa-dma design

2015-03-21 Thread Robert Jarzmik
Document the new design of the pxa dma driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Documentation/dmaengine/pxa_dma.txt | 157 1 file changed, 157 insertions(+) create mode 100644 Documentation/dmaengine/pxa_dma.txt diff --git

[PATCH 4/5] dmaengine: pxa_dma: add debug information

2015-03-21 Thread Robert Jarzmik
(d294948c2ce4e1c85f452154469752cc9b8e876d). Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/dma/pxa_dma.c | 240 ++ 1 file changed, 240 insertions(+) diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index fd4a48c..aec3e71 100644 --- a/drivers

[PATCH 0/4] media: pxa_camera conversion to dmaengine

2015-03-21 Thread Robert Jarzmik
is also reviewed. Happy review. -- Robert Robert Jarzmik (4): media: pxa_camera: fix the buffer free path media: pxa_camera: move interrupt to tasklet media: pxa_camera: trivial move of dma irq functions media: pxa_camera: conversion to dmaengine drivers/media/platform/soc_camera

[PATCH 3/4] media: pxa_camera: trivial move of dma irq functions

2015-03-21 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com This moves the dma irq handling functions up in the source file, so that they are available before DMA preparation functions. It prepares the conversion to DMA engine, where the descriptors are populated with these functions as callbacks. Signed-off

Re: [PATCH v3 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-03-09 Thread Robert Jarzmik
Ezequiel Garcia ezequiel.gar...@free-electrons.com writes: Which flash do you have there? The one with 0xba20 id as I said, which is AFAIK a Numonyx NAND02GR4B2C. $ grep 0xBA drivers/mtd/nand/nand_ids.c EXTENDED_ID_NAND(NAND 256MiB 1,8V 16-bit, 0xBA, 256, LP_OPTIONS16), Seems already

Re: [PATCH v3 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-03-08 Thread Robert Jarzmik
Ezequiel Garcia ezequiel.gar...@free-electrons.com writes: I think you'll kill the zylonite board, and I'll nack it if that's the case. At least that's what happened when I tried to use onfi default values last time in barebox development. I can test your changes, but if the specific

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Robert Jarzmik
Lars-Peter Clausen l...@metafoo.de writes: On 03/02/2015 10:19 PM, Robert Jarzmik wrote: diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h index 3772032..2a3da22 100644 --- a/drivers/dma/virt-dma.h +++ b/drivers/dma/virt-dma.h @@ -91,7 +91,7 @@ static inline void

Re: [PATCH 1/7] mtd: docg3: drop dead code

2015-03-02 Thread Robert Jarzmik
. For both changes (condition killing, found++ eradication and found variable declaration) : Acked-by: Robert Jarzmik robert.jarz...@free.fr Cheers. -- Robert -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Robert Jarzmik
When a transfer is completed, the descriptor is moved from issued list to completed list. Fix the list manipulation, from list_add to list_move_tail. The bug was seen with a multiple descriptors issued and completed lists, where the issued list chaining was corrupted. Signed-off-by: Robert

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-03 Thread Robert Jarzmik
Lars-Peter Clausen l...@metafoo.de writes: That will break all drivers which handle this currently correctly and remove the descriptor from any list before calling vchan_cookie_complete. Ah, well well I don't agree. First, let's split the drivers which remove the descriptors and these

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-28 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: Hi Arnd and Greg, It's been a week, backlog ping ? I have this driver I'm upstreaming, which comes out of arch/arm/mach-pxa/lubbock.c. As for the reason it is extracted, see submitted commit [1] for reference. The main question is : where does

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-28 Thread Robert Jarzmik
Greg Kroah-Hartman gre...@linuxfoundation.org writes: On Sat, Feb 28, 2015 at 10:57:30AM +0100, Robert Jarzmik wrote: Robert Jarzmik robert.jarz...@free.fr writes: Hi Arnd and Greg, It's been a week, backlog ping ? If only my backlog was just one week... Ah, that's bad :) And I'm

Re: [PATCH v3 0/4] clk: st: New always-on clock domain

2015-03-02 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: On Sat, 28 Feb 2015, Robert Jarzmik wrote: Lee Jones lee.jo...@linaro.org writes: it doesn't specify which usecase is not covered by CLK_IGNORE_UNUSED, it says, up to my understanding, that is it another way to have to CLK_IGNORE_UNUSED

Re: [PATCH v3 0/4] clk: st: New always-on clock domain

2015-02-27 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: v2 = v3: - Ensure DT actually reflects h/w - i.e. Nodes should not contain a mishmash of different IP blocks, but should identify related h/w. In the current example we use interconnects - Change naming from clkdomain to

<    1   2   3   4   5   6   7   8   9   10   >