[RFC PATCH 07/13] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-01 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 77e4073..4f3584c 100644 --- a/arch/arm

[RFC PATCH 06/13] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-01 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

[RFC PATCH 12/13] sound: wm8731: rework power management

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre - preserve crystal oscillator across suspend/resume sequence: enabled by default,it should be kept enabled on resume. - if codec is in active state: set the active bit at resume time. Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König ---

[RFC PATCH 09/13] sound: atmel-pcm: don't return ok if pcm-dma is not implemented

2013-07-01 Thread Richard Genoud
If DMA is not selected, atmel_pcm_dma_platform_register() should fail. Like that, the driver knows it can't use it. Signed-off-by: Richard Genoud --- sound/soc/atmel/atmel-pcm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/atmel-pcm.h b/sound/soc/atmel

[RFC PATCH 05/13] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-01 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index b753855..a81a1a6 100644

[RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-01 Thread Richard Genoud
from Nicolas that I forward ported and reworked to use only device tree] Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König Signed-off-by: Richard Genoud --- sound/soc/atmel/Kconfig | 12 ++ sound/soc/atmel/Makefile|2 + sound/soc/atmel/sam9x5_wm8731.c | 232

[RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-01 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/mach-at91/at91sam9x5.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..191eb4b 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm/mach-at91/at91sam9x5.c

[RFC PATCH 10/13] sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre Stop SSC clock on suspend/resume cycle checking if the controller is actually initialized. This will save power while sleeping. Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König --- sound/soc/atmel/atmel_ssc_dai.c | 20 +--- 1 file changed, 13

[RFC PATCH 13/13] sound: codec: wm8371: correct capture line/mic

2013-07-01 Thread Richard Genoud
With the "switch" text, we can't enable the line and mic capture in alsamixer. Signed-off-by: Richard Genoud --- sound/soc/codecs/wm8731.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 3cf6b2

[RFC PATCH 11/13] sound: atmel-pcm-dma: check pointer before dereference

2013-07-01 Thread Richard Genoud
If platform_data is NULL, filter() is called with a NULL slave parameter. Signed-off-by: Richard Genoud --- sound/soc/atmel/atmel-pcm-dma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c index 1d38fd0..b20dbba 100644

[RFC PATCH 11/13] sound: atmel-pcm-dma: check pointer before dereference

2013-07-01 Thread Richard Genoud
If platform_data is NULL, filter() is called with a NULL slave parameter. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- sound/soc/atmel/atmel-pcm-dma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c index

[RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-01 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/mach-at91/at91sam9x5.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..191eb4b 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm

[RFC PATCH 10/13] sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre nicolas.fe...@atmel.com Stop SSC clock on suspend/resume cycle checking if the controller is actually initialized. This will save power while sleeping. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de ---

[RFC PATCH 13/13] sound: codec: wm8371: correct capture line/mic

2013-07-01 Thread Richard Genoud
With the switch text, we can't enable the line and mic capture in alsamixer. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- sound/soc/codecs/wm8731.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index

[RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-01 Thread Richard Genoud
: this is based on an old patch from Nicolas that I forward ported and reworked to use only device tree] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de Signed-off-by: Richard Genoud richard.gen...@gmail.com --- sound/soc/atmel/Kconfig

[RFC PATCH 05/13] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-01 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index

[RFC PATCH 12/13] sound: wm8731: rework power management

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre nicolas.fe...@atmel.com - preserve crystal oscillator across suspend/resume sequence: enabled by default,it should be kept enabled on resume. - if codec is in active state: set the active bit at resume time. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com

[RFC PATCH 09/13] sound: atmel-pcm: don't return ok if pcm-dma is not implemented

2013-07-01 Thread Richard Genoud
If DMA is not selected, atmel_pcm_dma_platform_register() should fail. Like that, the driver knows it can't use it. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- sound/soc/atmel/atmel-pcm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/atmel

[RFC PATCH 06/13] ARM: AT91: DTS: sam9x5ek: add sound configuration

2013-07-01 Thread Richard Genoud
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[RFC PATCH 07/13] ARM: AT91: DTS: sam9x5ek: enable SSC

2013-07-01 Thread Richard Genoud
Enable the SSC needed for the WM8731 codec Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index 77e4073..4f3584c

[RFC PATCH 02/13] misc: atmel_ssc: keep the count of pdev-id

2013-07-01 Thread Richard Genoud
With device tree, pdev-id is always -1, so we introduce a local counter. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/misc/atmel-ssc.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 3afbd82..d1ec5ab

[RFC PATCH 04/13] ARM: at91: DTS: sam9x5: add SSC DMA parameters

2013-07-01 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/boot/dts/at91sam9x5.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b

[RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-01 Thread Richard Genoud
The ssc device has to fill the at_dma_slave structure with the device tree informations. Doing a of_dma_request_slave_channel()+dma_release_channel() for that seems wrong (or at least not very clean). Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/misc/atmel-ssc.c

[RFC PATCH 00/13] audio support for at91sam9x5ek board

2013-07-01 Thread Richard Genoud
changed.] Best regards, Richard. Nicolas Ferre (3): sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume sound: wm8731: rework power management Richard Genoud (10): misc: atmel_ssc: add device tree DMA support

Re: rtl8192cu: slow path warning

2013-06-28 Thread Richard GENOUD
On [jeu., 27.06.2013 13:20:52], Larry Finger wrote: > On 06/27/2013 02:33 AM, Richard Genoud wrote: > >Yes, of course, you can add my > >Reported-by: Richard Genoud > > > >But the patch doesn't compile on my platform ( since I'm on ARM, I > >haven't got a PCI bus,

Re: rtl8192cu: slow path warning

2013-06-28 Thread Richard GENOUD
On [jeu., 27.06.2013 13:20:52], Larry Finger wrote: On 06/27/2013 02:33 AM, Richard Genoud wrote: Yes, of course, you can add my Reported-by: Richard Genoud richard.gen...@gmail.com But the patch doesn't compile on my platform ( since I'm on ARM, I haven't got a PCI bus, so rtlwifi/pci.c

Re: RTL8192CU on ARM not working

2013-06-27 Thread Richard Genoud
2013/6/27 Maxime Ripard : > Hi everyone, > > I'm currently trying to use a RTL8192CU on an ARM (Freescale imx28, > armv5) platform, using 3.10-rc3. > > Trouble is, while the chip is correctly detected and you can use iw on it > without any problem it seems, once you start an association to an

Re: rtl8192cu: slow path warning

2013-06-27 Thread Richard Genoud
2013/6/26 Larry Finger : > On 06/26/2013 09:22 AM, Richard GENOUD wrote: >> >> Using 3.10-rc7, I'm still seeing the warning, BUT ONLY on the first >> connection. >> >> [ 40.312500] usb 2-2: default language 0x0409 >> [ 40.312500] usb 2-2: udev 2, busnum 2

Re: rtl8192cu: slow path warning

2013-06-27 Thread Richard Genoud
2013/6/26 Larry Finger larry.fin...@lwfinger.net: On 06/26/2013 09:22 AM, Richard GENOUD wrote: Using 3.10-rc7, I'm still seeing the warning, BUT ONLY on the first connection. [ 40.312500] usb 2-2: default language 0x0409 [ 40.312500] usb 2-2: udev 2, busnum 2, minor = 129

Re: RTL8192CU on ARM not working

2013-06-27 Thread Richard Genoud
2013/6/27 Maxime Ripard maxime.rip...@free-electrons.com: Hi everyone, I'm currently trying to use a RTL8192CU on an ARM (Freescale imx28, armv5) platform, using 3.10-rc3. Trouble is, while the chip is correctly detected and you can use iw on it without any problem it seems, once you start

rtl8192cu: slow path warning

2013-06-26 Thread Richard GENOUD
On [mar., 11.06.2013 14:38:15], Richard GENOUD wrote: > Hi, > > I've got an usb wireless adapter TP-Link TL-WN725N > http://www.tp-link.com/ca/products/details/?categoryid=241=TL-WN725N > It is based on the rtl8192cu chip. > I'm running a recent kernel (3.10-rc5) on a arm-based

rtl8192cu: slow path warning

2013-06-26 Thread Richard GENOUD
On [mar., 11.06.2013 14:38:15], Richard GENOUD wrote: Hi, I've got an usb wireless adapter TP-Link TL-WN725N http://www.tp-link.com/ca/products/details/?categoryid=241model=TL-WN725N It is based on the rtl8192cu chip. I'm running a recent kernel (3.10-rc5) on a arm-based board (at91sam9g35

Re: rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard Genoud
2013/6/11 Richard GENOUD : > Hi, > > I've got an usb wireless adapter TP-Link TL-WN725N > http://www.tp-link.com/ca/products/details/?categoryid=241=TL-WN725N > It is based on the rtl8192cu chip. > I'm running a recent kernel (3.10-rc5) on a arm-based board (at91sam9g35-ek)

rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard GENOUD
Hi, I've got an usb wireless adapter TP-Link TL-WN725N http://www.tp-link.com/ca/products/details/?categoryid=241=TL-WN725N It is based on the rtl8192cu chip. I'm running a recent kernel (3.10-rc5) on a arm-based board (at91sam9g35-ek). and last linux-firmwares (2892af0) The problem I've got it

rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard GENOUD
Hi, I've got an usb wireless adapter TP-Link TL-WN725N http://www.tp-link.com/ca/products/details/?categoryid=241model=TL-WN725N It is based on the rtl8192cu chip. I'm running a recent kernel (3.10-rc5) on a arm-based board (at91sam9g35-ek). and last linux-firmwares (2892af0) The problem I've

Re: rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard Genoud
2013/6/11 Richard GENOUD richard.gen...@gmail.com: Hi, I've got an usb wireless adapter TP-Link TL-WN725N http://www.tp-link.com/ca/products/details/?categoryid=241model=TL-WN725N It is based on the rtl8192cu chip. I'm running a recent kernel (3.10-rc5) on a arm-based board (at91sam9g35-ek

Re: [PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-06-03 Thread Richard Genoud
2013/6/3 Ludovic Desroches : > On Fri, May 31, 2013 at 05:01:59PM +0200, Richard Genoud wrote: >> Use generic DMA DT helper. >> Platforms booting with or without DT populated are both supported. >> >> Based on Ludovic Desroches patchset >> "ARM: at91: m

Re: [PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-06-03 Thread Richard Genoud
2013/6/3 Ludovic Desroches ludovic.desroc...@atmel.com: On Fri, May 31, 2013 at 05:01:59PM +0200, Richard Genoud wrote: Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Based on Ludovic Desroches ludovic.desroc...@atmel.com patchset ARM: at91

[PATCHv2 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c | 10 -- 1 file

Re: [PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
2013/5/31 Jean-Christophe PLAGNIOL-VILLARD : > On 16:28 Fri 31 May , Richard Genoud wrote: >> When removing atmel_lcdfb module, the backlight is unregistered but not >> blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). >> This can result in the screen going full w

[PATCH 2/2] ARM: at91: dt: at91sam9x5: add SPI DMA client infos

2013-05-31 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |6 ++ 1 file changed, 6 insertions(+) rebased on linux-next next-20130531 plus Ludovic Desroches' patch "ARM: at91: dt: add header to define at_hdmac configuration" to get the AT91_DMA_CFG_PER_ID() macro

[PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-05-31 Thread Richard Genoud
Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Based on Ludovic Desroches patchset "ARM: at91: move to generic DMA device tree binding" Signed-off-by: Richard Genoud --- drivers/spi/spi-atmel.c | 42 +++

[PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-05-31 Thread Richard Genoud
We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index

[PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c |7 ++- 1 file

[PATCH 1/2] trivial: atmel_lcdfb: add missing error message

2013-05-31 Thread Richard Genoud
When a too small framebuffer is given, the atmel_lcdfb_check_var silently fails. Adding an error message will save some head scratching. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/video

Re: [PATCH 0/2] ARM: dts: add watchdog device tree node in at91 dts files

2013-05-31 Thread Richard Genoud
les changed, 32 insertions(+) > > -- > 1.7.9.5 > Those patches haven been floating around from quite some time. Let's merge them ! Tested on sam9g35, v3.10-rc2 Tested-by: Richard Genoud -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH 0/2] ARM: dts: add watchdog device tree node in at91 dts files

2013-05-31 Thread Richard Genoud
some time. Let's merge them ! Tested on sam9g35, v3.10-rc2 Tested-by: Richard Genoud richard.gen...@gmail.com -- 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

[PATCH 1/2] trivial: atmel_lcdfb: add missing error message

2013-05-31 Thread Richard Genoud
When a too small framebuffer is given, the atmel_lcdfb_check_var silently fails. Adding an error message will save some head scratching. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/video/atmel_lcdfb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/video/atmel_lcdfb.c

[PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-05-31 Thread Richard Genoud
We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand

[PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-05-31 Thread Richard Genoud
Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Based on Ludovic Desroches ludovic.desroc...@atmel.com patchset ARM: at91: move to generic DMA device tree binding Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/spi/spi-atmel.c

[PATCH 2/2] ARM: at91: dt: at91sam9x5: add SPI DMA client infos

2013-05-31 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/boot/dts/at91sam9x5.dtsi |6 ++ 1 file changed, 6 insertions(+) rebased on linux-next next-20130531 plus Ludovic Desroches' patch ARM: at91: dt: add header to define at_hdmac configuration to get the AT91_DMA_CFG_PER_ID

Re: [PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
2013/5/31 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 16:28 Fri 31 May , Richard Genoud wrote: When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white

[PATCHv2 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/video/atmel_lcdfb.c

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-30 Thread Richard Genoud
2013/5/30 Maxime Ripard : > > Did you look at the load while iperf was running? I guess we can expect > it to be pretty high since it runs without DMA. I just did the test. cpu is at 55%-60% root@debian:~# date ; iperf -c 192.168.1.10 -t 300 ; cat /proc/loadavg Thu May 30 17:43:13 UTC 2013

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-30 Thread Richard Genoud
2013/5/30 Maxime Ripard maxime.rip...@free-electrons.com: Did you look at the load while iperf was running? I guess we can expect it to be pretty high since it runs without DMA. I just did the test. cpu is at 55%-60% root@debian:~# date ; iperf -c 192.168.1.10 -t 300 ; cat /proc/loadavg Thu

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-29 Thread Richard Genoud
] 0.0-10.0 sec 112 MBytes 94.1 Mbits/sec That's great ! with this patchset, we can now run a server with a vanilla kernel ( who needs more that a serial port and ethernet, really ? ;) ) Tested-by: Richard Genoud -- 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 at http://www.tux.org/lkml/

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-29 Thread Richard Genoud
with 192.168.1.232 port 38169 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 112 MBytes 94.1 Mbits/sec That's great ! with this patchset, we can now run a server with a vanilla kernel ( who needs more that a serial port and ethernet, really ? ;) ) Tested-by: Richard Genoud richard.gen

Re: [PATCH net, 1/2] hyperv: Fix a kernel warning from netvsc_linkstatus_callback()

2013-05-23 Thread Richard Genoud
t; local_bh_enable() which displays warning if in irq. > > The fix is to remove the unnecessary netif_tx_disable & wake_queue() in the > netvsc_linkstatus_callback(). > > Reported-by: Richard Genoud > Tested-by: Long Li > Tested-by: Richard Genoud > Signed-off-by:

Re: [PATCH net, 1/2] hyperv: Fix a kernel warning from netvsc_linkstatus_callback()

2013-05-23 Thread Richard Genoud
local_bh_enable() which displays warning if in irq. The fix is to remove the unnecessary netif_tx_disable wake_queue() in the netvsc_linkstatus_callback(). Reported-by: Richard Genoud richard.gen...@gmail.com Tested-by: Long Li lon...@microsoft.com Tested-by: Richard Genoud richard.gen

Re: [PATCH v6 01/16] spi/spi-atmel: fix probing failure after xfer->speed_hz set

2013-05-02 Thread Richard Genoud
2013/5/2 Yang, Wenyou : > Hi, Joachim, > >> -Original Message- >> From: Joachim Eastwood [mailto:manab...@gmail.com] >> Sent: 2013年3月7日 20:31 >> To: Yang, Wenyou >> Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; Ferre, >> Nicolas; plagn...@jcrosoft.com;

Re: [PATCH v6 01/16] spi/spi-atmel: fix probing failure after xfer-speed_hz set

2013-05-02 Thread Richard Genoud
2013/5/2 Yang, Wenyou wenyou.y...@atmel.com: Hi, Joachim, -Original Message- From: Joachim Eastwood [mailto:manab...@gmail.com] Sent: 2013年3月7日 20:31 To: Yang, Wenyou Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; Ferre, Nicolas; plagn...@jcrosoft.com;

Re: linux-next: manual merge of the arm-soc tree with the spi-mb tree

2013-04-26 Thread Richard Genoud
2013/4/26 Stephen Rothwell : > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > arch/arm/boot/dts/at91sam9x5.dtsi between commits d50f88a0c304 ("ARM: > dts: add spi nodes for atmel SoC") and a68b728f7a21 ("ARM: dts: add > pinctrl property for spi node for atmel SoC")

Re: linux-next: manual merge of the arm-soc tree with the spi-mb tree

2013-04-26 Thread Richard Genoud
2013/4/26 Stephen Rothwell s...@canb.auug.org.au: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/at91sam9x5.dtsi between commits d50f88a0c304 (ARM: dts: add spi nodes for atmel SoC) and a68b728f7a21 (ARM: dts: add pinctrl property for spi node for

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-24 Thread Richard Genoud
2013/4/23 Mark Brown : > On Wed, Apr 03, 2013 at 12:23:35PM +0200, Richard GENOUD wrote: > > Richard, delete irrelevant context from your mails - it makes it much > easier to find the content you added. > >> On [mer., 03.04.2013 13:59:19], Wenyou Yang wrote: > >>

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-24 Thread Richard Genoud
2013/4/23 Mark Brown broo...@kernel.org: On Wed, Apr 03, 2013 at 12:23:35PM +0200, Richard GENOUD wrote: Richard, delete irrelevant context from your mails - it makes it much easier to find the content you added. On [mer., 03.04.2013 13:59:19], Wenyou Yang wrote: As I did some work

Re: [PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Richard GENOUD
roduced on ARMv7 > architecture (Armada XP and Armada 370), and on a ARMv5 one > (AT91SAMG35 thanks to Richard Genoud), with and with CONFIG_SMP > selected. > > This patch simply doesn't allow to call twice register_console() with > the early_console. > > Signed-off-by: Gregory CL

Re: [PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Richard GENOUD
(AT91SAMG35 thanks to Richard Genoud), with and with CONFIG_SMP selected. This patch simply doesn't allow to call twice register_console() with the early_console. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/kernel/early_printk.c |6 +- 1 file

Re: hv_netvsc: WARNING in softirq.c

2013-04-05 Thread Richard Genoud
2013/3/19 Richard Genoud : > 2013/3/7 Richard Genoud : >> 2013/3/6 Haiyang Zhang : >>> I have found a simple way to reproduce this kind of warning: >>> 1) reboot the VM (because this warning can be displayed only once.) >>> 2) login to the host and open the VM

Re: hv_netvsc: WARNING in softirq.c

2013-04-05 Thread Richard Genoud
2013/3/19 Richard Genoud richard.gen...@gmail.com: 2013/3/7 Richard Genoud richard.gen...@gmail.com: 2013/3/6 Haiyang Zhang haiya...@microsoft.com: I have found a simple way to reproduce this kind of warning: 1) reboot the VM (because this warning can be displayed only once.) 2) login

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-04-03 Thread Richard Genoud
2013/4/3 Linus Walleij : > On Thu, Mar 28, 2013 at 4:47 PM, Richard Genoud > wrote: >> 2013/3/28 Stephen Warren : > >>> Again, pinconf_free_setting() is all about freeing any dynamically >>> allocated storage required to represent the setting itself; it's

Re: [PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-04-03 Thread Richard GENOUD
0 22 0x2 0x0 /* PA22 > periph B SPI1_MOSI pin */ > + 0 23 0x2 0x0>; /* PA23 > periph B SPI1_SPCK pin */ > + }; > + }; > + >

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-03 Thread Richard GENOUD
is patch is based on the original patch from Nicolas > - add dmaengine support > and squash the below patches from Richard Genoud > - update with dmaengine interface > - fix __init/__devinit sections mismatch > - fix spi-atmel driver to adapt to slave_conf

Re: [PATCH v8 2/8] spi/spi-atmel: add flag to controller data for lock operations

2013-04-03 Thread Richard GENOUD
evdata(spi->master); > struct atmel_spi_device *asd = spi->controller_state; > unsignedgpio = (unsigned) spi->controller_data; > - unsigned long flags; > > if (!asd) > return; > > - spin_l

Re: [PATCH v8 1/8] spi/spi-atmel: add physical base address

2013-04-03 Thread Richard GENOUD
*clk; > @@ -996,6 +997,7 @@ static int atmel_spi_probe(struct platform_device *pdev) > as->regs = ioremap(regs->start, resource_size(regs)); > if (!as->regs) > goto out_free_buffer; > + as->phybase = regs->start; > as->irq =

Re: [PATCH v8 1/8] spi/spi-atmel: add physical base address

2013-04-03 Thread Richard GENOUD
int atmel_spi_probe(struct platform_device *pdev) as-regs = ioremap(regs-start, resource_size(regs)); if (!as-regs) goto out_free_buffer; + as-phybase = regs-start; as-irq = irq; as-clk = clk; -- 1.7.9.5 Tested-by: Richard Genoud richard.gen

Re: [PATCH v8 2/8] spi/spi-atmel: add flag to controller data for lock operations

2013-04-03 Thread Richard GENOUD
; gpio_free(gpio); -- 1.7.9.5 On sam9g35 with DMA and PIO (3.9-rc5 + device tree patches) Tested-by: Richard Genoud richard.gen...@gmail.com -- 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

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-03 Thread Richard GENOUD
dmaengine support and squash the below patches from Richard Genoud richard.gen...@gmail.com - update with dmaengine interface - fix __init/__devinit sections mismatch - fix spi-atmel driver to adapt to slave_config changes - correct 16 bits transfers with DMA Hi, Richard

Re: [PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-04-03 Thread Richard GENOUD
(3.9-rc5 + device tree patches) Tested-by: Richard Genoud richard.gen...@gmail.com -- 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 3/4] pinctrl: disable and free setting in select_state in case of error

2013-04-03 Thread Richard Genoud
2013/4/3 Linus Walleij linus.wall...@linaro.org: On Thu, Mar 28, 2013 at 4:47 PM, Richard Genoud richard.gen...@gmail.com wrote: 2013/3/28 Stephen Warren swar...@wwwdotorg.org: Again, pinconf_free_setting() is all about freeing any dynamically allocated storage required to represent

[PATCH 1/2] pinctrl: select_state: don't call pinctrl_free_setting on error

2013-03-29 Thread Richard Genoud
(the closest thing I can think about for "unmuxing" a pin is muxing it as GPIO input). Signed-off-by: Richard Genoud --- This commit is on top of: [PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error drivers/pinctrl/core.c | 10 +- 1 files changed, 9

[PATCH 2/2] pinctrl: simplify the re-enable old state code in pinctrl_select_state

2013-03-29 Thread Richard Genoud
Instead of just enabling the settings that were disabled in the 1st loop, it's simpler to recall pinctrl_select_state with the old state. Signed-off-by: Richard Genoud --- drivers/pinctrl/core.c | 22 +++--- 1 files changed, 3 insertions(+), 19 deletions(-) diff --git

[PATCH 1/2] pinctrl: select_state: don't call pinctrl_free_setting on error

2013-03-29 Thread Richard Genoud
(the closest thing I can think about for unmuxing a pin is muxing it as GPIO input). Signed-off-by: Richard Genoud richard.gen...@gmail.com --- This commit is on top of: [PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error drivers/pinctrl/core.c | 10 +- 1 files

[PATCH 2/2] pinctrl: simplify the re-enable old state code in pinctrl_select_state

2013-03-29 Thread Richard Genoud
Instead of just enabling the settings that were disabled in the 1st loop, it's simpler to recall pinctrl_select_state with the old state. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- drivers/pinctrl/core.c | 22 +++--- 1 files changed, 3 insertions(+), 19

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [jeu., 28.03.2013 11:38:23], Stephen Warren wrote: > On 03/28/2013 11:34 AM, Richard GENOUD wrote: > > On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: > >> On 03/25/2013 08:47 AM, Richard Genoud wrote: > >>> If a new state is applied, the grou

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: > On 03/25/2013 08:47 AM, Richard Genoud wrote: > > If a new state is applied, the groups configured in the old state but > > not in the new state are disabled. > > If something goes wrong and the new state can't be appli

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren : > On 03/28/2013 04:55 AM, Richard Genoud wrote: >> 2013/3/28 Stephen Warren : >>> On 03/25/2013 08:47 AM, Richard Genoud wrote: >>>> If enabling a pin fails in pinctrl_select_state_locked(), all the >>>> previous en

[PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error

2013-03-28 Thread Richard Genoud
In unapply_new_state, the old state is re-applied, but p->state is not set back as it should. Signed-off-by: Richard Genoud --- This one can be squshed with commit: 50cf7c8ab324de348990bb028ad9ed10872d527a pinctrl: re-enable old state in case of error in pinctrl_select_state If needed. driv

[PATCH 1/3] pinctrl: use dev_info instead of pr_info in pinctrl_select_state_locked

2013-03-28 Thread Richard Genoud
And remove superfluous brackets. Signed-off-by: Richard Genoud --- If it's not too late, it can be squashed with commit: 3102a76cfbf9ac4ae0cf54c7452f7ba4292a4760 "pinctrl: disable and free setting in select_state in case of error" drivers/pinctrl/core.c |5 ++--- 1 files

[PATCH 2/3] pinctrl: remove superfluous optimization in pinctrl_select_state_locked

2013-03-28 Thread Richard Genoud
As Stephen Warren suggested, checking first if the setting->node entry is the first in the list or not is superfluous, as it is checked again in the list_for_each_entry bellow. So, remove it, the code will be simpler and lighter ! Signed-off-by: Richard Genoud --- If can also be squashed w

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren : > On 03/25/2013 08:47 AM, Richard Genoud wrote: >> If a new state is applied, the groups configured in the old state but >> not in the new state are disabled. >> If something goes wrong and the new state can't be applied, we have to >> re-en

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren : > On 03/25/2013 08:47 AM, Richard Genoud wrote: >> If enabling a pin fails in pinctrl_select_state_locked(), all the >> previous enabled pins have to be disabled to get back to the previous >> state. > >> diff --git a/drivers/pinctrl/c

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new state are disabled. If something goes wrong and the new state can't be applied, we have to re-enable

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard GENOUD
On [jeu., 28.03.2013 11:38:23], Stephen Warren wrote: On 03/28/2013 11:34 AM, Richard GENOUD wrote: On [mer., 27.03.2013 17:55:45], Stephen Warren wrote: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren swar...@wwwdotorg.org: On 03/25/2013 08:47 AM, Richard Genoud wrote: If enabling a pin fails in pinctrl_select_state_locked(), all the previous enabled pins have to be disabled to get back to the previous state. diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl

Re: [PATCH 4/4] pinctrl: re-enable old state in case of error in pinctrl_select_state

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren swar...@wwwdotorg.org: On 03/25/2013 08:47 AM, Richard Genoud wrote: If a new state is applied, the groups configured in the old state but not in the new state are disabled. If something goes wrong and the new state can't be applied, we have to re-enable those groups

[PATCH 1/3] pinctrl: use dev_info instead of pr_info in pinctrl_select_state_locked

2013-03-28 Thread Richard Genoud
And remove superfluous brackets. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- If it's not too late, it can be squashed with commit: 3102a76cfbf9ac4ae0cf54c7452f7ba4292a4760 pinctrl: disable and free setting in select_state in case of error drivers/pinctrl/core.c |5 ++--- 1

[PATCH 2/3] pinctrl: remove superfluous optimization in pinctrl_select_state_locked

2013-03-28 Thread Richard Genoud
As Stephen Warren suggested, checking first if the setting-node entry is the first in the list or not is superfluous, as it is checked again in the list_for_each_entry bellow. So, remove it, the code will be simpler and lighter ! Signed-off-by: Richard Genoud richard.gen...@gmail.com --- If can

[PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error

2013-03-28 Thread Richard Genoud
In unapply_new_state, the old state is re-applied, but p-state is not set back as it should. Signed-off-by: Richard Genoud richard.gen...@gmail.com --- This one can be squshed with commit: 50cf7c8ab324de348990bb028ad9ed10872d527a pinctrl: re-enable old state in case of error

Re: [PATCH 3/4] pinctrl: disable and free setting in select_state in case of error

2013-03-28 Thread Richard Genoud
2013/3/28 Stephen Warren swar...@wwwdotorg.org: On 03/28/2013 04:55 AM, Richard Genoud wrote: 2013/3/28 Stephen Warren swar...@wwwdotorg.org: On 03/25/2013 08:47 AM, Richard Genoud wrote: If enabling a pin fails in pinctrl_select_state_locked(), all the previous enabled pins have

<    2   3   4   5   6   7   8   9   >