[linux-sunxi] A31 DRAM initialisation code effort

2014-05-04 Thread Bertrik Sikken
Hi all, Just a heads-up: I plan to work on A31 DRAM initialisation code, with the ultimate goal of creating an open-source boot0 (and skip boot1). I got some guidance from Hans de Goede and Olliver Schinagl already. Just wondering: Is there someone else already working on this too? (perhaps we

[linux-sunxi] [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-04 Thread Carlo Caione
The so called system controller in Allwinner A20 and A31 SoCs is multi-purpose controller that tries to add misc functionality to one memory region. In these SoCs it controls the internal SRAM partitioning but it also includes registers for chip versioning and NMI control. This patch adds the

[linux-sunxi] [PATCH 1/2] ARM: sunxi: dts: Enable syscon in DTSI

2014-05-04 Thread Carlo Caione
This patch adds the proper nodes in the DTSI files for Allwinner A20 and A31. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 5 + arch/arm/boot/dts/sun7i-a20.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi] [PATCH 2/2] ARM: sunxi: Add syscon support in defconfig

2014-05-04 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/configs/sunxi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d4e8a47..d04fef5 100644 ---

Re: [linux-sunxi] Re: A good SD card image for A10-OLinuXino-Lime?

2014-05-04 Thread Siarhei Siamashka
-video-fbturbo driver: https://github.com/ssvb/xf86-video-fbturbo/tree/20140504-test-enforced-defe-scaler The drawback is that relying only on DEFE, we are down to just 2 disp layers instead of 4. This causes a lot of practical issues with multi-monitor support and libvdpau-sunxi compatibility

[linux-sunxi] Re: [PATCH] i2c-sunxi: Fix support for TWI3 and TWI4 on A20

2014-05-04 Thread stulluk
On Wednesday, April 30, 2014 4:27:47 PM UTC+3, Emilio López wrote: From: Emilio López t...@linux-sunxi.org Although Hans had introduced support for TWI3 and TWI4, the functions handling the clocks and pins were limited to only TWI0-2. Let's fix the clock lists to include the new A20

[linux-sunxi] [PATCH] 1-wire sunxi enhancement

2014-05-04 Thread Damien Nicolet
It is now possible to unload the module Signed-off-by: Damien Nicolet zar...@gmail.com --- drivers/w1/w1_sunxi.c | 55 ++--- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/w1/w1_sunxi.c b/drivers/w1/w1_sunxi.c index

Re: [linux-sunxi] [PATCH] 1-wire sunxi enhancement

2014-05-04 Thread Julian Calaby
Hi Damien, A few nits and stuff: Firstly, you must include a better subject line. E.g. [PATCH] sunxi: w1: Fix module unloading On Mon, May 5, 2014 at 8:17 AM, Damien Nicolet zar...@gmail.com wrote: It is now possible to unload the module And a better description. E.g. Fix static

Re: [linux-sunxi] Using usbtv driver on A20

2014-05-04 Thread Julian Calaby
Hi, On Sun, May 4, 2014 at 3:11 AM, i...@integrazioneweb.com wrote: Hi, now i follow all the instructions (i missed to set KLIB_BUILD) and builded drivers (usbtv). it also builded videobuf2 and videodev.ko and compact. So i tryed to use it on A20 with 3.4 kernel but probably there is some

[linux-sunxi] Re: [PATCH v2] ARM: sunxi: Split the various SoCs support in Kconfig

2014-05-04 Thread Maxime Ripard
On Mon, Apr 28, 2014 at 04:03:20PM -0700, Maxime Ripard wrote: This will allow to better isolate various options, and reduce the overall kernel size if we're interested in only one of the SoCs. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Applied in sunxi/core-for-3.16 --

[linux-sunxi] [PATCH 4/6] ARM: sunxi: Remove init_machine callback

2014-05-04 Thread Maxime Ripard
The init_machine hook is now at its default value. We can remove it. Even though the sun4i and sun7i machines are nothing more than generic machines now, leave them in so that we won't have to add them back if needed, and so that the machine is still displayed in /proc/cpuinfo. Signed-off-by:

[linux-sunxi] [PATCH 6/6] ARM: multi_v7: Add Allwinner reset drivers to multi_v7_defconfig

2014-05-04 Thread Maxime Ripard
Now that the reset code are part of drivers of their own, we need those in the defconfig. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig

[linux-sunxi] [PATCH 3/6] ARM: sunxi: Remove reset code from the platform

2014-05-04 Thread Maxime Ripard
Now that reset is handled either by the watchdog driver for the sun4i, sun5i and sun7i, and by a driver of its own for sun6i, we can remove it from the platform code. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Arnd Bergmann a...@arndb.de ---

[linux-sunxi] [PATCH 5/6] ARM: sunxi: Add A31 reset driver to sunxi_defconfig

2014-05-04 Thread Maxime Ripard
Now that the A31 reset code is a driver of its own, we need it in the defconfig. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/configs/sunxi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig

[linux-sunxi] [PATCH 0/6] ARM: sunxi: Machine code cleanup

2014-05-04 Thread Maxime Ripard
Hi, This serie moves the restart code out of the mach-sunxi directory to either the watchdog driver or to a new driver in drivers/power/reset. Since the reset code was pretty much all the code left in the mach-sunxi directory for all the SoCs but the A31, the only thing left into mach-sunxi are

[linux-sunxi] Re: [PATCH v10 15/15] ARM: dts: sun7i: Add basic support for the Cubietruck WiFi module

2014-05-04 Thread Maxime Ripard
On Fri, May 02, 2014 at 05:57:29PM +0200, Hans de Goede wrote: From: Chen-Yu Tsai w...@csie.org The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The WiFi part is a BCM43362 IC connected to MMC3 in the A20 SoC via SDIO. The IC also takes a power enable signal via GPIO. The WiFi

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

2014-05-04 Thread Maxime Ripard
On Fri, May 02, 2014 at 05:57:14PM +0200, Hans de Goede wrote: Hi All, Here is v10 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on, this has some minor changes since v9, the plan for upstreaming is still the same: The first 2 patches are depenencies which should

[linux-sunxi] Re: [PATCH v10 15/15] ARM: dts: sun7i: Add basic support for the Cubietruck WiFi module

2014-05-04 Thread Chen-Yu Tsai
On Mon, May 5, 2014 at 12:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Fri, May 02, 2014 at 05:57:29PM +0200, Hans de Goede wrote: From: Chen-Yu Tsai w...@csie.org The CubieTruck has an AMPAK AP6210 WiFi+Bluetooth module. The WiFi part is a BCM43362 IC connected to MMC3 in

Re: [linux-sunxi] [pre-patch] Fixing display scaler for video/zooming

2014-05-04 Thread Siarhei Siamashka
On Tue, 22 Apr 2014 11:55:29 -0700 (PDT) Ivan Kozic jimmy...@gmail.com wrote: Maybe this wiki page could be extended to provide some super simplistic explanation of the minimal actions that are needed to be taken. Anyway, without having your fix presented as a patch, it is rather