[linux-sunxi] Re: [PATCH] PWM kernel module for the Allwinner A10 SOC for 3.4 series kernels

2013-12-21 Thread jekl57
Hi! I found these problems: When I set the period = 100hz PWM is not working. I read parameters period = 1 duty = 5000 duty_percent = 50 polarity = 0 pulse = 0 pin = PB2 run = 1 When I stop PWM output pin level remains high. Wishes: Level at the output pin when stopping

[linux-sunxi] [PATCH u-boot-sunxi v2 12/13] ARM: sunxi: Add gmac clock macros

2013-12-21 Thread Chen-Yu Tsai
Add macros for gmac clock control, instead of using raw values. Also add comment noting GMAC ahb gate is in second gate register, to avoid confusion over same offset as EMAC. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/include/asm/arch-sunxi/clock.h | 8 1 file changed, 8

[linux-sunxi] [PATCH u-boot-sunxi v2 00/13] Add GMAC support to u-boot

2013-12-21 Thread Chen-Yu Tsai
Hi everyone, This patch series add support for GMAC on Cubieboard2 and Cubietruck, using the designware driver already in u-boot. The patch series should be applied over the current 'sunxi' branch in linux-sunxi/u-boot-sunxi. The work was started by Jens Kuske (jemk), which enabled the GMAC on

[linux-sunxi] [PATCH u-boot-sunxi v2 04/13] ARM: sunxi: Let cubietruck use the GMAC driver

2013-12-21 Thread Chen-Yu Tsai
From: Jens Kuske jensku...@gmail.com Signed-off-by: Jens Kuske jensku...@gmail.com --- boards.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index 5d147e2..405cf56 100644 --- a/boards.cfg +++ b/boards.cfg @@ -364,8 +364,8 @@ Active arm

[linux-sunxi] [PATCH u-boot-sunxi v2 09/13] ARM: sunxi: Do not select unused GMAC pins under RGMII mode

2013-12-21 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/cpu/armv7/sunxi/board.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c index 386b16e..5d19a64 100644 --- a/arch/arm/cpu/armv7/sunxi/board.c +++

[linux-sunxi] [PATCH u-boot-sunxi v2 13/13] ARM: sunxi: Move GMAC init code into separate glue layer driver

2013-12-21 Thread Chen-Yu Tsai
GMAC init code now exists in a glue layer driver under drivers/net, instead of sunxi board initialization code. It has been cleaned up to use macros for clock controls. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/cpu/armv7/sunxi/board.c | 32 +---

[linux-sunxi] [PATCH u-boot-sunxi v2 01/13] net/designware: Reduce DMA burst length

2013-12-21 Thread Chen-Yu Tsai
From: Jens Kuske jensku...@gmail.com The GMAC module in Allwinner sunxi SoCs seems to have problems with burst lenghts 8. Signed-off-by: Jens Kuske jensku...@gmail.com --- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.c

Re: [linux-sunxi] mmc errors

2013-12-21 Thread Jonathan Aquilina
Hans what can I provide that will help us troubleshoot this. The cpu is an A20 on the cubieboard2 Could this be an error in the defconf or some other script? On Sat, Dec 21, 2013 at 12:54 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 12/20/2013 08:27 PM, Jonathan Aquilina wrote: