Re: [linux-sunxi] Building Olinuxino-A10-Lime using Yocto - not booting

2014-03-04 Thread John S
On Tue, 4/3/14, Peter Olsson pe...@olssononline.se wrote: I've been trying for some days to get an image for the Olinuxino-A10-Lime to boot, but without Yes, use the UART for debug. But start with an Olimex image and get used to building, booting and seeing what it does on the uart. Olimex

[linux-sunxi] Possible G2D kernel bug

2014-03-04 Thread Andreas Baierl
Hi all, it seems, that the G2D kernel driver has some issue: libvdpau-sunxi uses G2D_CMD_BITBLT for creating surfaces, so at the end of mixer_blt, there is g2d_wait_cmd_finish() called. As soon as (timeout==0) gets TRUE in

[linux-sunxi] Re: [PATCH v7 08/15] ahci-imx: Port to library-ised ahci_platform

2014-03-04 Thread Bartlomiej Zolnierkiewicz
Hi, On Saturday, February 22, 2014 04:53:37 PM Hans de Goede wrote: This avoids the ugliness of creating a nested platform device from probe. While moving it around anyways, move the mk6q phy init code from probe to imx_sata_enable, as the phy needs to be re-initialized on resume too,

Re: [linux-sunxi] Building Olinuxino-A10-Lime using Yocto - not booting

2014-03-04 Thread Peter Olsson
Thanks for the quick response. I've ordered a USB/UART cable (after I realized it used 3.3v instead of RS232 standard). So as soon as I get it I will debug further. I'll report back when I've moved this forward. /Peter Den tisdagen den 4:e mars 2014 kl. 11:34:26 UTC+1 skrev John S: On Tue,

[linux-sunxi] [PATCH v3 3/7] ARM: sunxi: Move the clock protection to machine hooks

2014-03-04 Thread Maxime Ripard
Since we start to have a lot of clocks to protect, some of them in a few boards only, it becomes difficult to handle the clock protection without having to add per machine exceptions. Move these where they belong, in the machine definition code. Signed-off-by: Maxime Ripard

[linux-sunxi] [PATCH v3 0/7] Add support for the Allwinner A31 DMA Controller

2014-03-04 Thread Maxime Ripard
Hi, This patchset adds support for the DMA controller found in the Allwinner A31 and A23 SoCs. This has been tested using the newly introduced SPI driver on an A31 EVK. Support for DMA-driven SPI transfers will be the subject of another patch serie. Thanks, Maxime Changes from v2: - Removed

[linux-sunxi] [PATCH v3 4/7] ARM: sun6i: Protect CPU clock

2014-03-04 Thread Maxime Ripard
Right now, AHB is an indirect child clock of the CPU clock. If that happens to change, since the CPU clock has no other consumers declared in Linux, it would be shut down, which is not really a good idea. Prevent this by forcing it enabled. Signed-off-by: Maxime Ripard

[linux-sunxi] [PATCH v3 2/7] ARM: sunxi: Split out the various machines into separate files

2014-03-04 Thread Maxime Ripard
This will allow to add per-SoC hooks more easily. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/mach-sunxi/Makefile | 6 +- arch/arm/mach-sunxi/restart.c | 104 +++ arch/arm/mach-sunxi/restart.h | 20 ++ arch/arm/mach-sunxi/sun4i.c |

[linux-sunxi] [PATCH v3 5/7] ARM: sun6i: Protect SDRAM gating bit

2014-03-04 Thread Maxime Ripard
Prevent the SDRAM controller from being gated by force-enabling it in the machine code. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/mach-sunxi/sun6i.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-sunxi/sun6i.c b/arch/arm/mach-sunxi/sun6i.c

[linux-sunxi] [PATCH v3 1/7] clk: sunxi: Remove calls to clk_put

2014-03-04 Thread Maxime Ripard
Callers of clk_put must disable the clock first. This also means that as long as the clock is enabled the driver should hold a reference to that clock. Hence, the call to clk_put here are bogus and should be removed. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

[linux-sunxi] [PATCH v3 2/5] i2c: mv64xxx: Add support for the Allwinner A31 I2C driver

2014-03-04 Thread Maxime Ripard
The Allwinner A31 I2C controller is almost identical to the one used in the other Allwinner SoCs, except for the fact that it needs to clear the interrupt by setting the INT_FLAGS bit in the control register, instead of clearing it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH v3 5/5] ARM: sun6i: colombus: Enable the I2C controllers

2014-03-04 Thread Maxime Ripard
The A31 Colombus board has 3 I2C controllers that should be usable. However, the first one is not working for some reason on the hardware I have been able to test it on, while it should really be the same controller. Enable the i2c1 and i2c2 busses, and mark i2c0 as in failure in the DT.

[linux-sunxi] [PATCH v3 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-03-04 Thread Maxime Ripard
Hi everyone, This patchset adds support the A31 i2c controller. This is mostly the same controller as the one found in the other Allwinner SoCs, except for the interrupts acking. On the other SoCs using this driver, the interrupts are acked by clearing the INT_FLAG bit in the control register,

[linux-sunxi] Re: [PATCH 00/19] ARM: sunxi: dt: ahci, ehci and ohci support

2014-03-04 Thread Maxime Ripard
Hi Hans, On Sat, Mar 01, 2014 at 08:26:19PM +0100, Hans de Goede wrote: Hi Maxime, With all USB and AHCI bits going upstream for 3.15, here are the matching dts bits for AHCI and USB host support. As an added bonus I've also thrown in 2 new boards (already with ahci and usb support).

[linux-sunxi] Re: [PATCH v4] PHY: sunxi: Add driver for sunxi usb phy

2014-03-04 Thread Hans de Goede
Hi, On 03/03/2014 02:18 PM, Kishon Vijay Abraham I wrote: Hi, On Sunday 02 March 2014 12:49 AM, Hans de Goede wrote: Hi, On 03/01/2014 06:37 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 01 March 2014 10:39 PM, Hans de Goede wrote: The Allwinner A1x / A2x SoCs have 2 or 3 usb phys

Re: [linux-sunxi] Re: How to decide NAND boot address?

2014-03-04 Thread Henrik Nordström
The lichee u-boot also support fat access, just use fatload instead of nand command to load files. mån 2014-03-03 klockan 16:41 -0800 skrev Patrick Wood: This version of uboot loads the entire partition into RAM, not the uImage file. You need a modified uboot that can be set up more like the

Re: [linux-sunxi] Re: [PATCH 6/7] regulator: AXP20x: Add support for regulators subsystem

2014-03-04 Thread Carlo Caione
On Mon, Mar 3, 2014 at 2:56 AM, Mark Brown broo...@kernel.org wrote: On Sat, Mar 01, 2014 at 05:45:51PM +0100, Carlo Caione wrote: index d59c826..0cef101 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -69,3 +69,4 @@ CONFIG_NFS_FS=y CONFIG_ROOT_NFS=y

Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-04 Thread Yousong Zhou
On 5 March 2014 00:10, jonsm...@gmail.com jonsm...@gmail.com wrote: On Tue, Mar 4, 2014 at 3:12 AM, Yousong Zhou yszhou4t...@gmail.com wrote: On 4 March 2014 08:46, jonsm...@gmail.com jonsm...@gmail.com wrote: Let's hope this translates to full corporate support for upstreaming to mainline.

[linux-sunxi] Re: [PATCH v4] PHY: sunxi: Add driver for sunxi usb phy

2014-03-04 Thread Kishon Vijay Abraham I
On Tuesday 04 March 2014 10:33 PM, Hans de Goede wrote: Hi, On 03/03/2014 02:18 PM, Kishon Vijay Abraham I wrote: Hi, On Sunday 02 March 2014 12:49 AM, Hans de Goede wrote: Hi, On 03/01/2014 06:37 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 01 March 2014 10:39 PM, Hans de Goede

[linux-sunxi] Re: [PATCH v4] PHY: sunxi: Add driver for sunxi usb phy

2014-03-04 Thread Hans de Goede
Hi, On 03/05/2014 06:39 AM, Kishon Vijay Abraham I wrote: On Tuesday 04 March 2014 10:33 PM, Hans de Goede wrote: snip alright.. missed that earlier. Sorry. So does this mean you're going to take v4 as is, or do you want me to add the dev_err calls you've pointed out before (note I