[linux-sunxi] [PATCH v12 1/6] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-11 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one found in the mmc-dw hosts. However the rest of the host is not identical to mmc-dw, it deals with sending stop

[linux-sunxi] [PATCH v12 0/6] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-11 Thread Hans de Goede
Hi All, Here is v12 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, the mmc driver itself is unchanged from v11. New this version are some dts patch changes, see below. The first patch in this series is the patch adding the actual mmc driver and should go in through the

[linux-sunxi] [PATCH v12 5/6] ARM: dts: sun6i: Add reg_vcc3v3 to sun6i board mmc nodes

2014-05-11 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31-m9.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index 22eacf8..bc6115d 100644 --- a/arch/arm/boot/dts/sun6i-a31-m9.dts +++

[linux-sunxi] [PATCH v12 3/6] ARM: dts: sun4i: Add reg_vcc3v3 to sun4i board mmc nodes

2014-05-11 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 1 + arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 1 + arch/arm/boot/dts/sun4i-a10-hackberry.dts | 1 + arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 1 +

[linux-sunxi] [PATCH v12 2/6] ARM: dts: sunxi: Add reg_vcc3v3 supply to sunxi-common-regulators.dtsi

2014-05-11 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sunxi-common-regulators.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-common-regulators.dtsi b/arch/arm/boot/dts/sunxi-common-regulators.dtsi index 18eeac0..026bd83 100644 ---

[linux-sunxi] [PATCH v12 4/6] ARM: dts: sun5i: Add reg_vcc3v3 to sun5i board mmc nodes

2014-05-11 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 2 ++ arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 1 + arch/arm/boot/dts/sun5i-a13-olinuxino.dts| 1 + 3 files changed, 4 insertions(+) diff --git

[linux-sunxi] [PATCH v12 6/6] ARM: dts: sun7i: Add reg_vcc3v3 to sun7i board mmc nodes

2014-05-11 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 1 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 1 + arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 2 ++ 3 files changed, 4 insertions(+) diff --git

[linux-sunxi] [PATCH v4 2/2] input: sun4i-ts: Add support for temperature sensor

2014-05-11 Thread Hans de Goede
The sun4i resisitive touchscreen controller also comes with a built-in temperature sensor. This commit adds support for it. This commit also introduces a new ts-attached device-tree property, when this is not set, the input part of the driver won't register. This way the internal temperature

[linux-sunxi] [PATCH u-boot-sunxi 2/3] sun7i: Drop FAST_MBUS

2014-05-11 Thread Hans de Goede
We've several bug reports indicating that this causes stability issues, so lets just drop it. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/dram.c | 6 +- board/sunxi/board.c | 4 boards.cfg | 16 3

[linux-sunxi] [PATCH u-boot-sunxi 1/3] sun4i: Remove Cubieboard_512 board

2014-05-11 Thread Hans de Goede
It uses the exact same memory timings as the regular cubieboard, it just has lower density dram chips. get_ram_size will detect that only 512 MB is available on these boards, so they will work fine with the regular Cubieboard board config. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[linux-sunxi] [PATCH sunxi-boards] Update cubieboard2/cubietruck dcdc2/dcdc3 voltages and dvfs data

2014-05-11 Thread Siarhei Siamashka
It has been confirmed that a substantial percentage of cubieboard2 and cubietruck users are having stability issues. These issues are caused by having various voltages optimistically configured way too low. Because each unit has its own tolerances, not everyone can easily reproduce these problems.

[linux-sunxi] Re: [PATCH sunxi-boards] Update cubieboard2/cubietruck dcdc2/dcdc3 voltages and dvfs data

2014-05-11 Thread Siarhei Siamashka
On Sun, 11 May 2014 12:53:22 +0300 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: It has been confirmed that a substantial percentage of cubieboard2 and cubietruck users are having stability issues. These issues are caused by having various voltages optimistically configured way too

Re: [linux-sunxi] [PATCH u-boot-sunxi 2/3] sun7i: Drop FAST_MBUS

2014-05-11 Thread Siarhei Siamashka
On Sun, 11 May 2014 10:36:25 +0200 Hans de Goede hdego...@redhat.com wrote: We've several bug reports indicating that this causes stability issues, so lets just drop it. I'm afraid that the reporters still have not done their homework properly. And suspect that the FAST_MBUS just happens to be

[linux-sunxi] Re: CSI Camera Module Problem

2014-05-11 Thread MishaSkt
Hey! I also tried to connect my camera to cubieboard and i got the same issue. Did you find a solution? On Tuesday, August 20, 2013 6:55:13 PM UTC+4, mahdi Chi wrote: Hi I try test OV7670 camera in cubian, i change script.bin csi1 part. when i modprobe sun4i_csi1 it detect my camera

Re: [linux-sunxi] [PATCH u-boot-sunxi 2/3] sun7i: Drop FAST_MBUS

2014-05-11 Thread Ian Campbell
On Sun, 2014-05-11 at 10:36 +0200, Hans de Goede wrote: We've several bug reports indicating that this causes stability issues, so lets just drop it. FWIW (which is probably very little) I did not include FAST_MBUS in my initial upstreaming series (mostly due to wanting to be conservative in

[linux-sunxi] [PATCH 1/1] a20: add LinkSprite pcDuino3 FEX file

2014-05-11 Thread Zoltan HERPAI
File taken from vendor site, original comments cleaned up. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- sys_config/a20/linksprite_pcduino3.fex | 1066 1 file changed, 1066 insertions(+) create mode 100644 sys_config/a20/linksprite_pcduino3.fex diff --git

[linux-sunxi] [PATCH 1/1] uboot: add support for pcDuino3

2014-05-11 Thread Zoltan HERPAI
This patchset adds u-boot support for pcDuino3. The board has been stress-tested for clock=480 and FAST_MBUS, and has proven to be stable so far. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- board/sunxi/Makefile|1 + board/sunxi/dram_pcduino3.c | 31

[linux-sunxi] [PATCHv2 3/4] ARM: sun7i: dt: Add ahci/sata support to pcDuino3 DTS

2014-05-11 Thread Zoltan HERPAI
This patch adds sunxi SATA support to the pcDuino V3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts

[linux-sunxi] [PATCHv2 2/4] ARM: sun7i: dt: Add USB host nodes to pcDuino3 DTS

2014-05-11 Thread Zoltan HERPAI
Add nodes for the usb-phy and ehci- and ohci-usb-host controllers. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts

[linux-sunxi] [PATCHv2 0/4] Add board support for LinkSprite pcDuino V3

2014-05-11 Thread Zoltan HERPAI
The LinkSprite pcDuino V3 is an A20-based revision of the earlier pcDuinos. This series will add support for the board, along with some of its devices where the driver is accepted or soon-to-be-accepted into mainline. Changes since v1: - fix cosmetic issues - fix i2c entry - remove unnecessary

[linux-sunxi] [PATCHv2 4/4] ARM: sun7i: dt: Add MMC support to pcDuino3 DTS

2014-05-11 Thread Zoltan HERPAI
Add node for MMC support to the pcDuino3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts index

[linux-sunxi] [PATCHv2 1/4] ARM: sun7i: dt: Add basic board support for LinkSprite pcDuino V3

2014-05-11 Thread Zoltan HERPAI
This patch will add a basic board support DT for the LinkSprite pcDuino V3, which is based on A20. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/Makefile |3 +- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 69 ++ 2 files changed,

[linux-sunxi] Re: OV7670 Camera sensor

2014-05-11 Thread Ivan Kozic
Not sure what i2cdetect is, but here are some common things people forget about: - have you set the proper I2C bus (TWI) in the fex file? There are several I2C buses on A20. You set the proper one by using *csi_twi_id* in your fex file, - have you set the proper address of the sensor on the

Re: [linux-sunxi] [PATCH 1/1] a20: add LinkSprite pcDuino3 FEX file

2014-05-11 Thread Chen-Yu Tsai
On Sun, May 11, 2014 at 9:48 PM, Zoltan HERPAI wigy...@uid0.hu wrote: File taken from vendor site, original comments cleaned up. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- sys_config/a20/linksprite_pcduino3.fex | 1066 1 file changed, 1066

[linux-sunxi] Re: [PATCH v12 0/6] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-11 Thread Maxime Ripard
Hi Hans, On Sun, May 11, 2014 at 09:46:51AM +0200, Hans de Goede wrote: Hi All, Here is v12 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, the mmc driver itself is unchanged from v11. New this version are some dts patch changes, see below. The first patch in

Re: [linux-sunxi] [PATCH sunxi-boards] Update cubieboard2/cubietruck dcdc2/dcdc3 voltages and dvfs data

2014-05-11 Thread Hans de Goede
Hi, On 05/11/2014 11:53 AM, Siarhei Siamashka wrote: It has been confirmed that a substantial percentage of cubieboard2 and cubietruck users are having stability issues. These issues are caused by having various voltages optimistically configured way too low. Because each unit has its own

Re: [linux-sunxi] [PATCH u-boot-sunxi 2/3] sun7i: Drop FAST_MBUS

2014-05-11 Thread Hans de Goede
Hi, On 05/11/2014 12:31 PM, Siarhei Siamashka wrote: On Sun, 11 May 2014 10:36:25 +0200 Hans de Goede hdego...@redhat.com wrote: We've several bug reports indicating that this causes stability issues, so lets just drop it. I'm afraid that the reporters still have not done their homework

Re: [linux-sunxi] [PATCH sunxi-boards] Update cubieboard2/cubietruck dcdc2/dcdc3 voltages and dvfs data

2014-05-11 Thread Hans de Goede
Hi, On 05/11/2014 10:43 PM, Hans de Goede wrote: Hi, On 05/11/2014 11:53 AM, Siarhei Siamashka wrote: It has been confirmed that a substantial percentage of cubieboard2 and cubietruck users are having stability issues. These issues are caused by having various voltages optimistically

[linux-sunxi] Re: [PATCH v4 0/2] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2014-05-11 Thread Maxime Ripard
Hi Hans, On Sun, May 11, 2014 at 10:06:24AM +0200, Hans de Goede wrote: Hi All, Since Maxime rightfully pointed out an error in my resend of v3, here is v4 with that fixed. Note the second patch which adds hwmon functionality has been reviewed by the hwon subsystem maintainer, and the

[linux-sunxi] Re: [PATCHv2 4/4] ARM: sun7i: dt: Add MMC support to pcDuino3 DTS

2014-05-11 Thread Hans de Goede
Hi, On 05/11/2014 03:55 PM, Zoltan HERPAI wrote: Add node for MMC support to the pcDuino3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts |8 1 file changed, 8 insertions(+) diff --git

[linux-sunxi] Re: [PATCHv2 4/4] ARM: sun7i: dt: Add MMC support to pcDuino3 DTS

2014-05-11 Thread Maxime Ripard
On Sun, May 11, 2014 at 03:55:22PM +0200, Zoltan HERPAI wrote: Add node for MMC support to the pcDuino3 board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts |8 1 file changed, 8 insertions(+) diff --git