[linux-sunxi] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i

2014-09-22 Thread Wills Wang
Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature. Signed-off-by: Wills Wang wills.wang.o...@gmail.com --- drivers/mmc/sunxi_mmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index 459e476..0f3ee67 100644

[linux-sunxi] [PATH v6 0/2] ARM: dts: sun7i: Add Merrii A20 Hummingbird support

2014-08-19 Thread Wills Wang
Changes since v1: - add Signed-off-by and commit msg - add uart2/3/4/5, i2c3 and spi2 - remove pwm1 node - use reg_vcc3v0 according to board schematic - add comment for gpio pin - remove unused pull-up pin setting Wills Wang (2): ARM: dts: sun7i: Add uart3/4/5, i2c3 and spi2

[linux-sunxi] [PATH v6 2/2] ARM: dts: sun7i: Add Merrii A20 Hummingbird board

2014-08-19 Thread Wills Wang
This adds support for the A20 Hummingbird: http://www.merrii.com/en/pla_d.asp?id=171 This patch enable most on-board peripherals supported on current kernel, such as uart, i2c, spi, pwm, ohci/ehci, gmac and mmc. Reviewed-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Wills Wang wills.wang.o

[linux-sunxi] [PATH v6 1/2] ARM: dts: sun7i: Add uart3/4/5, i2c3 and spi2 pinmux

2014-08-19 Thread Wills Wang
This patch add generic dts node for uart3/4/5, i2c3 and spi2. Reviewed-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Wills Wang wills.wang.o...@gmail.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot

[linux-sunxi] [PATCH v5 0/2] ARM: dts: sun7i: Add Merrii A20 Hummingbird support

2014-08-18 Thread Wills Wang
, i2c3 and spi2 - remove pwm1 node - use reg_vcc3v0 according to board schematic - add comment for gpio pin - remove unused pull-up pin setting Wills Wang (2): ARM: dts: sun7i: Add uart3/4/5 and i2c3 pinmux ARM: dts: sun7i: Add Merrii A20 Hummingbird board arch/arm/boot/dts/Makefile

[linux-sunxi] [PATCH v5 2/2] ARM: dts: sun7i: Add Merrii A20 Hummingbird board

2014-08-18 Thread Wills Wang
This adds support for the A20 Hummingbird: http://www.merrii.com/en/pla_d.asp?id=171 This patch enable most on-board peripherals supported on current kernel, such as uart, i2c, spi, pwm, ohci/ehci, gmac and mmc. Signed-off-by: Wills Wang wills.wang.o...@gmail.com --- arch/arm/boot/dts/Makefile

[linux-sunxi] [PATCH v2] ARM: dts: sun7i: Add Merrii A20 Hummingbird support

2014-08-17 Thread Wills Wang
This adds support for the A20 Hummingbird: http://www.merrii.com/en/pla_d.asp?id=171 This patch enable most on-board peripherals supported on current kernel, such as uart, i2c, spi, pwm, ohci/ehci, gmac and mmc. Signed-off-by: Wills Wang wills.wang.o...@gmail.com --- arch/arm/boot/dts/Makefile

[linux-sunxi] [PATCH v3 1/1] ARM: dts: sun7i: Add Merrii A20 Hummingbird support

2014-08-17 Thread Wills Wang
This adds support for the A20 Hummingbird: http://www.merrii.com/en/pla_d.asp?id=171 This patch enable most on-board peripherals supported on current kernel, such as uart, i2c, spi, pwm, ohci/ehci, gmac and mmc. Signed-off-by: Wills Wang wills.wang.o...@gmail.com --- arch/arm/boot/dts/Makefile

[linux-sunxi] [PATCH v3 0/1] ARM: dts: sun7i: Add Merrii A20 Hummingbird support

2014-08-17 Thread Wills Wang
setting Wills Wang (1): ARM: dts: sun7i: Add Merrii A20 Hummingbird support arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun7i-a20-hummingbird.dts | 264 2 files changed, 265 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20

Re: [linux-sunxi][PATCH] sunxi: initialize pinctrl before module init, fix could not find pctldev for node %s, deferring probe

2014-08-17 Thread Wills Wang
Hi, ChenYu, You are right, deferred probing is not an error, but i think this reordering of initialization is useful for suppressing kernel's complaints . On 08/16/2014 11:45 PM, Chen-Yu Tsai wrote: On Sat, Aug 16, 2014 at 12:52 PM, Wills Wang wills.wang.o...@gmail.com wrote: Hi, No signed

[linux-sunxi][PATCH] sunxi: initialize pinctrl before module init, fix could not find pctldev for node %s, deferring probe

2014-08-15 Thread Wills Wang
--- drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c | 13 - drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c | 13 - drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c | 13 - drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c | 13 -

[linux-sunxi] [u-boot-sunxi] mmc erase command is broken?

2014-07-05 Thread Wills Wang
Hi, Anyone work with the mmc erase command? sun4i# mmcinfo Device: SUNXI SD/MMC Manufacturer ID: 45 OEM: 100 Name: SEM04 Tran Speed: 5200 Rd Block Len: 512 MMC version 4.5 High Capacity: Yes Capacity: 3.7 GiB Bus Width: 4-bit sun4i# mmc read 4000 0 1 MMC read: dev # 0, block # 0,

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: fix failure of mmc init

2014-07-04 Thread Wills Wang
Hi, Hi, On 07/04/2014 04:31 AM, Wills Wang wrote: Hi, diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index bbfe8a3..f0cb760 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -173,8 +173,6 @@ static int mmc_core_init(struct mmc *mmc) /* Reset

[linux-sunxi] [PATCH u-boot-sunxi] sunxi: fix failure of mmc init

2014-07-03 Thread Wills Wang
--- drivers/mmc/sunxi_mmc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index bbfe8a3..f0cb760 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -173,8 +173,6 @@ static int mmc_core_init(struct

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: fix failure of mmc init

2014-07-03 Thread Wills Wang
Hi, diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index bbfe8a3..f0cb760 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -173,8 +173,6 @@ static int mmc_core_init(struct mmc *mmc) /* Reset controller */ writel(SUNXI_MMC_GCTRL_RESET,

[linux-sunxi] [u-boot-sunxi] Does anyone work with the lastest sunxi branch ?

2014-06-13 Thread Wills Wang
Hi, I use the lastest sunxi branch, and meet the following error: MMC: SUNXI SD/MMC: 0 MMC init failed But my board work well if i revert 900b93ab595b512a11b2b724dfb7262417aaf01d and 87ca6dc0262d18b76e4749fc6505ef596039656a. Best Regards Wills -- You received this message because you are

Re: [linux-sunxi] [u-boot-sunxi] Does anyone work with the lastest sunxi branch ?

2014-06-13 Thread Wills Wang
in the near future. Signed-off-by: Hans de Goede hdego...@redhat.com On 06/13/2014 06:11 PM, Hans de Goede wrote: Hi, On 06/13/2014 12:04 PM, Wills Wang wrote: Hi, I use the lastest sunxi branch, and meet the following error: MMC: SUNXI SD/MMC: 0 MMC init failed But my board work well if i

Re: [linux-sunxi] [u-boot-sunxi] Does anyone work with the lastest sunxi branch ?

2014-06-13 Thread Wills Wang
Hi, My board have 16bit dram and use cubieboard's config. Best Regards Wills On 06/13/2014 06:11 PM, Hans de Goede wrote: Hi, On 06/13/2014 12:04 PM, Wills Wang wrote: Hi, I use the lastest sunxi branch, and meet the following error: MMC: SUNXI SD/MMC: 0 MMC init failed But my board

Re: [linux-sunxi] [PATCH-3.4] sunxi-mci: incorrect MMC_DMA_DES_BIT_LEFT

2014-03-27 Thread Wills Wang
In sun5i/sun6i/sun7i, the maximum of DMA DES bits are 16, the maximum buffer size is (1 15), so the shift bits should be (MMC_MAX_DMA_DES_BIT - 1). #define SDXC_DES_NUM_SHIFT(MMC_MAX_DMA_DES_BIT - 1) #define SDXC_DES_BUFFER_MAX_LEN(1U SDXC_DES_NUM_SHIFT) On 03/28/2014 04:40 AM, Hans

[linux-sunxi] [PATCH-3.4] sunxi-mci: incorrect MMC_DMA_DES_BIT_LEFT

2014-03-09 Thread Wills Wang
--- drivers/mmc/host/sunxi-mci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sunxi-mci.h b/drivers/mmc/host/sunxi-mci.h index 1447257..b885c32 100644 --- a/drivers/mmc/host/sunxi-mci.h +++ b/drivers/mmc/host/sunxi-mci.h @@ -35,7 +35,7 @@ #define

[linux-sunxi] [PATCH] Add mmc support for sun4i

2014-01-15 Thread Wills Wang
--- drivers/mmc/host/Kconfig | 2 +- drivers/mmc/host/sunxi-mci.h | 45 +++- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 958a428..5f1d3d8 100644 ---