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

2014-05-12 Thread Hans de Goede
Hi, On 05/11/2014 11:33 PM, Maxime Ripard wrote: 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

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

2014-05-12 Thread Hans de Goede
Hi, On 05/11/2014 03:52 PM, Zoltan HERPAI wrote: 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 +

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

2014-05-12 Thread Zoltan HERPAI
On Mon, 12 May 2014, Hans de Goede wrote: @@ -19,6 +19,14 @@ compatible = linksprite,a20-pcduino3, allwinner,sun7i-a20; soc@01c0 { + mmc0: mmc@01c0f000 { + pinctrl-names = default, default; + pinctrl-0 =

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

2014-05-12 Thread Zoltan HERPAI
Hi Hans, On Mon, 12 May 2014, Hans de Goede wrote: *snip* +Active arm armv7 sunxi - sunxi pcDuino3 sun7i:PCDUINO3,SPL,SUNXI_EMAC,FAST_MBUS

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

2014-05-12 Thread Koen Kooi
Op 11 mei 2014, om 22:43 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: 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

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

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 09:16 AM, Koen Kooi wrote: Op 11 mei 2014, om 22:43 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: 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

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

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 09:12 AM, Zoltan HERPAI wrote: Hi Hans, On Mon, 12 May 2014, Hans de Goede wrote: *snip* +Active arm armv7 sunxi - sunxi pcDuino3 sun7i:PCDUINO3,SPL,SUNXI_EMAC,FAST_MBUS

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

2014-05-12 Thread Koen Kooi
Op 12 mei 2014, om 09:19 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: Hi, On 05/12/2014 09:16 AM, Koen Kooi wrote: Op 11 mei 2014, om 22:43 heeft Hans de Goede hdego...@redhat.com het volgende geschreven: Hi, On 05/11/2014 11:53 AM, Siarhei Siamashka wrote:

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

2014-05-12 Thread Siarhei Siamashka
On Sun, 11 May 2014 22:47:03 +0200 Hans de Goede hdego...@redhat.com wrote: 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

Re: [linux-sunxi] [PATCH u-boot-sunxi 0/3] Make things slower but safe

2014-05-12 Thread Siarhei Siamashka
On Sun, 11 May 2014 10:36:23 +0200 Hans de Goede hdego...@redhat.com wrote: I know some people have been working very hard on understanding the dram controller better, but until we get some patches as a result of that, this seems the best route to take. I have bought an A13 board a while ago

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

2014-05-12 Thread Chen-Yu Tsai
Hi, On Sun, May 11, 2014 at 4:06 PM, Hans de Goede hdego...@redhat.com wrote: 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,

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

2014-05-12 Thread Olliver Schinagl
On 12-05-14 09:54, Siarhei Siamashka wrote: On Sun, 11 May 2014 22:47:03 +0200 Hans de Goede hdego...@redhat.com wrote: 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

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

2014-05-12 Thread Siarhei Siamashka
On Sun, 11 May 2014 10:36:24 +0200 Hans de Goede hdego...@redhat.com wrote: 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

Re: [linux-sunxi] Re: [PATCH v4 01/03] ARM: sunxi: Add documentation for sunxi consumer infrared devices

2014-05-12 Thread Chen-Yu Tsai
Hi, On Wed, Apr 30, 2014 at 6:54 PM, Александр Берсенев b...@hackerdom.ru wrote: [PATCH v4 01/03] ARM: sunxi: Add documentation for sunxi consumer infrared devices This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev

Re: [linux-sunxi] [PATCH v2 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Chen-Yu Tsai
Hi, On Sat, May 10, 2014 at 8:56 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The USB phy controller in the A31 differs mostly from the older controllers because it has a clock dedicated for each phy, while the older ones were having a single clock for all the phys.

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

2014-05-12 Thread Ulf Hansson
On 11 May 2014 09:46, Hans de Goede hdego...@redhat.com wrote: 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

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

2014-05-12 Thread Siarhei Siamashka
On Mon, 12 May 2014 10:45:44 +0200 Olliver Schinagl oli...@schinagl.nl wrote: On 12-05-14 09:54, Siarhei Siamashka wrote: On Sun, 11 May 2014 22:47:03 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 05/11/2014 12:31 PM, Siarhei Siamashka wrote: On Sun, 11 May 2014 10:36:25

[linux-sunxi] How to get access to the boot loader

2014-05-12 Thread uli . raich
Hi, I am trying to get hold of the first part of an A10 tablet flash. The tablet runs and Android 4.0.3 system and when looking into /dev/block I only see nanda .. nandi and mmcblk0, mmcblk0p1 but mot /dev/nand. How do I get hold of the bootloader files in such a case? Thanks for any help Uli

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

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 11:15 AM, Ulf Hansson wrote: On 11 May 2014 09:46, Hans de Goede hdego...@redhat.com wrote: 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

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

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 09:54 AM, Siarhei Siamashka wrote: On Sun, 11 May 2014 22:47:03 +0200 Hans de Goede hdego...@redhat.com wrote: snip So what is your opinion no the 3th patch in this series which drops the DRAM clk on the cubieboard2 to 432 MHz ? It's all very complicated. We also had

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

2014-05-12 Thread Ulf Hansson
On 12 May 2014 13:20, Hans de Goede hdego...@redhat.com wrote: Hi, On 05/12/2014 11:15 AM, Ulf Hansson wrote: On 11 May 2014 09:46, Hans de Goede hdego...@redhat.com wrote: From: David Lanzendörfer david.lanzendoer...@o2s.ch The Allwinner sunxi mmc host uses dma in bus-master mode using a

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

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 01:34 PM, Ulf Hansson wrote: On 12 May 2014 13:20, Hans de Goede hdego...@redhat.com wrote: Hi, On 05/12/2014 11:15 AM, Ulf Hansson wrote: On 11 May 2014 09:46, Hans de Goede hdego...@redhat.com wrote: From: David Lanzendörfer david.lanzendoer...@o2s.ch The Allwinner

Re: [linux-sunxi] [PATCH v2 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 11:14 AM, Chen-Yu Tsai wrote: Hi, On Sat, May 10, 2014 at 8:56 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The USB phy controller in the A31 differs mostly from the older controllers because it has a clock dedicated for each phy, while the older ones were

[linux-sunxi] [PATCH v13 2/2] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-05-12 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 v13 1/2] clk: sunxi: Fixup clk_sunxi_mmc_phase_control to take a clk rather then a hw_clk

2014-05-12 Thread Hans de Goede
__clk_get_hw is supposed to be used by clk providers, not clk consumers. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-sunxi.c | 3 ++- include/linux/clk/sunxi.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi/clk-sunxi.c

[linux-sunxi] [PATCH v13 0/2] ARM: sunxi: Add driver for SD/MMC hosts found on sunxi SoCs

2014-05-12 Thread Hans de Goede
Hi All, Here is lucky number v13 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, with the __clk_get_hw call moved from sunxi-mmc.c to clk-sunxi.c where it belongs. Mike, the first patch in this series modifies clk_sunxi_mmc_phase_control to take a struct clk * as

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

2014-05-12 Thread Siarhei Siamashka
On Mon, 12 May 2014 13:32:32 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 05/12/2014 09:54 AM, Siarhei Siamashka wrote: On Sun, 11 May 2014 22:47:03 +0200 Hans de Goede hdego...@redhat.com wrote: snip So what is your opinion no the 3th patch in this series which drops

[linux-sunxi] [PATCH] ARM: dts: sun5i: Add new A10s r7 hdmi tv dongle board

2014-05-12 Thread Hans de Goede
The R7 tv-dongle is an A10s based hdmi tv dongle, with 1G RAM, 4G nand flash, and rtl8189es sdio wifi. It has a standard male hdmi connector, an USB host port using an USB-A receptacle and a micro-usb receptacle for both power and USB OTG. Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [linux-sunxi] [PATCH u-boot-sunxi 0/3] Make things slower but safe

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 10:38 AM, Siarhei Siamashka wrote: On Sun, 11 May 2014 10:36:23 +0200 Hans de Goede hdego...@redhat.com wrote: I know some people have been working very hard on understanding the dram controller better, but until we get some patches as a result of that, this seems the

Re: [linux-sunxi] [PATCH v2 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Kishon Vijay Abraham I
Hi, On Monday 12 May 2014 05:29 PM, Hans de Goede wrote: Hi, On 05/12/2014 11:14 AM, Chen-Yu Tsai wrote: Hi, On Sat, May 10, 2014 at 8:56 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The USB phy controller in the A31 differs mostly from the older controllers because it has

Re: [linux-sunxi] [PATCH v2 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 02:24 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 12 May 2014 05:29 PM, Hans de Goede wrote: Hi, On 05/12/2014 11:14 AM, Chen-Yu Tsai wrote: Hi, On Sat, May 10, 2014 at 8:56 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The USB phy controller in the

Re: [linux-sunxi] [PATCH] ARM: dts: sun5i: Add new A10s r7 hdmi tv dongle board

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 02:15 PM, Luc Verhaegen wrote: On Mon, May 12, 2014 at 02:11:06PM +0200, Hans de Goede wrote: The R7 tv-dongle is an A10s based hdmi tv dongle, with 1G RAM, 4G nand flash, and rtl8189es sdio wifi. It has a standard male hdmi connector, an USB host port using an USB-A

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

2014-05-12 Thread Arnd Bergmann
On Monday 12 May 2014 14:04:48 Hans de Goede wrote: 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

Re: [linux-sunxi] [PATCH v2 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Maxime Ripard
On Mon, May 12, 2014 at 05:14:26PM +0800, Chen-Yu Tsai wrote: Hi, On Sat, May 10, 2014 at 8:56 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The USB phy controller in the A31 differs mostly from the older controllers because it has a clock dedicated for each phy, while the

[linux-sunxi] Re: [PATCH] ARM: dts: sun5i: Add new A10s r7 hdmi tv dongle board

2014-05-12 Thread Maxime Ripard
On Mon, May 12, 2014 at 02:11:06PM +0200, Hans de Goede wrote: The R7 tv-dongle is an A10s based hdmi tv dongle, with 1G RAM, 4G nand flash, and rtl8189es sdio wifi. It has a standard male hdmi connector, an USB host port using an USB-A receptacle and a micro-usb receptacle for both power and

[linux-sunxi] Re: Allwinner A10: the L2 cache may not keep up with the speed at 1GHz

2014-05-12 Thread Siarhei Siamashka
On Tue, 6 May 2014 12:34:45 +0300 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: Implemented an automated script for running tests at different operating points: https://github.com/ssvb/cpuburn-arm/blob/master/cpufreq-ljt-stress-test And also added a script to parse the cpufreq

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

2014-05-12 Thread Arend van Spriel
On 05/12/2014 02:04 PM, Hans de Goede wrote: From: David Lanzendörferdavid.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

[linux-sunxi] [PATCH v3 1/8] clk: sunxi: Implement A31 USB clock

2014-05-12 Thread Maxime Ripard
The A31 USB clock slightly differ from its older counterparts, mostly because it has a different gate for each PHY, while the older one had a single gate for all the phy. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Reviewed-by: Hans de Goede hdego...@redhat.com ---

[linux-sunxi] [PATCH v3 2/8] ARM: sun6i: Add the USB clocks to the DTSI.

2014-05-12 Thread Maxime Ripard
The USB clocks of the A31 seems to be parented to the 24MHz oscillator, and handle the clocks for the USB phys and OHCI devices. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Reviewed-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 11 +++ 1

[linux-sunxi] [PATCH v3 8/8] ARM: sunxi: dt: add APP4-EVB1 board support

2014-05-12 Thread Maxime Ripard
From: Boris BREZILLON boris.brezil...@free-electrons.com The APP4 EVB1 development boards embeds an A31, together with some NAND, one SD card slot, and one SDIO + UART WiFi and Bluetooth chip, a few I2C buses, USB, and a LCD display. Signed-off-by: Boris BREZILLON

[linux-sunxi] [PATCH v3 7/8] ARM: sun6i: dt: Add support for the USB controllers

2014-05-12 Thread Maxime Ripard
The A31 has two ECHI/OHCI controllers, and one OHCI-only phy-less controller. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Reviewed-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 77 1 file changed, 77

[linux-sunxi] [PATCH v3 4/8] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-12 Thread Maxime Ripard
The USB phy controller in the A31 differs mostly from the older controllers because it has a clock dedicated for each phy, while the older ones were having a single clock for all the phys. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Reviewed-by: Hans de Goede hdego...@redhat.com

[linux-sunxi] [PATCH v3 0/8] Add Allwinner A31 USB support

2014-05-12 Thread Maxime Ripard
Hi everyone, This patchset adds support for the USB controllers found in the Allwinner A31. While the design is similar to the earlier Allwinner SoCs that are already supported, a few details here and there change, like the fact that the PHYs now have one clock per phy, while it used to be only

[linux-sunxi] [PATCH v3 5/8] usb: ehci-platform: add optional reset controller retrieval

2014-05-12 Thread Maxime Ripard
From: Boris BREZILLON boris.brezil...@free-electrons.com On the Allwinner's A31 SoC the reset line connected to the EHCI IP has to be deasserted for the EHCI block to be usable. Add support for an optional reset controller that will be deasserted on power off and asserted on power on.

Re: [linux-sunxi] [PATCH 3/6] clk: sunxi: Move the GMAC clock to a file of its own

2014-05-12 Thread Emilio López
Hi, El 12/05/14 16:36, Maxime Ripard escribió: On Sat, May 10, 2014 at 02:07:07PM -0300, Emilio López wrote: + + clk = clk_register_composite(NULL, clk_name, + parents, SUN7I_A20_GMAC_PARENTS, + mux-hw, clk_mux_ops, +

Re: [linux-sunxi] [PATCH 3/6] clk: sunxi: Move the GMAC clock to a file of its own

2014-05-12 Thread Maxime Ripard
On Mon, May 12, 2014 at 04:45:08PM -0300, Emilio López wrote: + clk = clk_register_composite(NULL, clk_name, + parents, SUN7I_A20_GMAC_PARENTS, + mux-hw, clk_mux_ops, + NULL, NULL, + gate-hw, clk_gate_ops, +

Re: [linux-sunxi] [PATCH u-boot] Add iNet technologies 86VS tablet.

2014-05-12 Thread riccardo . artoni
Hello, I recently bought a second hand Inet 86vs, selled in France as a Lenco CoolTab 70. I tried to compile u-boot arriving at the same settings as Michal but it didn't work. However, good news, an image for the A13-Olinuxino worked for me; we have an a13-olinuxino in our lab so I tried...

Re: [linux-sunxi] [PATCH 0/6] sunxi: clk: Various cleanup and rework

2014-05-12 Thread Mike Turquette
Quoting Emilio López (2014-05-10 10:22:15) Hi Maxime, El 10/05/14 00:33, Maxime Ripard escribió: Hi everyone, This patchset fixes a few things that have been pending for quite a while in the clock driver. First, it removes the clk_put calls in the clock protection part. Since

[linux-sunxi] Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-05-12 Thread Mike Turquette
Quoting Arnd Bergmann (2014-04-23 06:31:06) On Wednesday 23 April 2014 15:17:20 Maxime Ripard wrote: +#include linux/clk.h #include linux/init.h #include linux/of_platform.h @@ -19,9 +20,17 @@ static void __init sun4i_dt_init(void) { + struct clk

[linux-sunxi] Re: [PATCH v3 1/8] clk: sunxi: Implement A31 USB clock

2014-05-12 Thread Mike Turquette
Quoting Maxime Ripard (2014-05-12 12:34:27) The A31 USB clock slightly differ from its older counterparts, mostly because it has a different gate for each PHY, while the older one had a single gate for all the phy. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Reviewed-by:

[linux-sunxi] TCP connection hangs with sunxi-3.4.75 at 1Gbit/s

2014-05-12 Thread Stefan Monnier
I'm experiencing hangs in TCP connections on a cubietruck running the 3.4.75 kernel (IOW the Fedora 20 kernel). Something like ssh machine du /home (with a large enough /home, e.g. containing the Linux source) rarely finishes without freezing. The freeze is only for a single TCP connection: