Re: [linux-sunxi] Re: Including empty regulator nodes in axp209.dtsi is a BAD idea

2015-01-16 Thread Irgendeiner
Am 16.01.2015, 08:42 Uhr, schrieb Hans de Goede hdego...@redhat.com: Hi, On 15-01-15 23:04, Maxime Ripard wrote: On Fri, Jan 16, 2015 at 12:54:58AM +0800, Chen-Yu Tsai wrote: Hi, On Wed, Jan 14, 2015 at 3:42 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 13-01-15 17:46, Maxime

Re: [linux-sunxi] Subj: A20 mainline, using allwinner,sunxi-nand

2015-01-16 Thread Lars Doelle
Hi Maxime, working on the dts for an A20 device, I'm currently at the nand. I assume you are aware of the current state of the NAND, right? Not exactly, so I better be explicit. I assume, that the linux-sunxi /dev/nand driver does not do any wear-level mapping on the first blocks. Thus I'd

Re: [linux-sunxi] Re: nand linux-sunxi 3.4

2015-01-16 Thread Toroshin Dmitry
On Friday, January 16, 2015 at 12:43:46 AM UTC+6, Alejandro Mery wrote: Hi, On 15.01.2015 14:26, Toroshin Dmitry wrote: On Thursday, January 15, 2015 at 6:38:20 PM UTC+6, Mohamed MEDIOUNI wrote: just crashes after insmod ( 3.4.79) Le mardi 13 janvier 2015

Re: [linux-sunxi] Subj: A20 mainline, using allwinner,sunxi-nand

2015-01-16 Thread Michal Suchanek
Hello, On 16 January 2015 at 13:33, Lars Doelle lars.doe...@on-line.de wrote: Hi Maxime, working on the dts for an A20 device, I'm currently at the nand. I assume you are aware of the current state of the NAND, right? Not exactly, so I better be explicit. I assume, that the linux-sunxi

[linux-sunxi] [PATCH v4 0/5] ARM:sunxi:ps2 Added support for A10/A20 ps2 controller

2015-01-16 Thread Vishnu Patekar
This adds support for Allwinner A0, A20 PS2 controller. I've tested PS2 keyboard on A20 Olimex-Lime2 board. Hans had tested previous patch on A10 as well. v3 -- v4 1. Reported errors(SERIO_FRAME,SERIO_TIMEOUT, SERIO_PARITY) to consumer. 2. Handled the transmit timeout in sun4i_ps2_write. 3.

[linux-sunxi] [PATCH v4 1/5] sunxi:dts-bindings:input: bindings for A10/A20 ps2

2015-01-16 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- .../bindings/serio/allwinner,sun4i-ps2.txt | 23 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt diff --git

[linux-sunxi] [PATCH v4 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-16 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- drivers/input/serio/Kconfig | 11 ++ drivers/input/serio/Makefile|1 + drivers/input/serio/sun4i-ps2.c | 330 +++ 3 files changed, 342 insertions(+) create mode 100644

[linux-sunxi] [PATCH v4 3/5] ARM: sunxi: dts: Add PS2 nodes to dtsi for A10 and A20

2015-01-16 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 16 arch/arm/boot/dts/sun7i-a20.dtsi | 16 2 files changed, 32 insertions(+) diff --git

[linux-sunxi] [PATCH v4 4/5] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options

2015-01-16 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index

[linux-sunxi] [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board

2015-01-16 Thread Vishnu Patekar
Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index

[linux-sunxi] sunxi-3.4.103 and CONFIG_CMA=y = no mmc

2015-01-16 Thread Jens Thiele
with kernel sunxi-3.4.103 (sunxi-3.4 branch) and CONFIG_CMA=y (as in sun7i_defconfig) i have no mmc device. hardware: a20 olinuxino micro [3.494360] [mmc-msg] sw_mci_init [3.503435] [mmc-msg] MMC host used card: 0x9, boot card: 0x0, io_card 8 [3.513585] [mmc-err] alloc dma des failed

[linux-sunxi] Re: sharing a video test with Optimus board A80 octacore simultaneous WebRTC+HLS / VP8+H.264

2015-01-16 Thread hacktarus13
Le mardi 6 janvier 2015 02:24:55 UTC+1, javqui a écrit : Just to share a video showing some A80 capabilities. It's just an initial test. There is room for improvements (particularly with the 4k video memory handlers and GPU processing).  YouTube video Waoouu :D I have a board since few

Re: [linux-sunxi] sunxi-3.4.103 and CONFIG_CMA=y = no mmc

2015-01-16 Thread Siarhei Siamashka
On Fri, 16 Jan 2015 23:30:11 +0100 Jens Thiele ka...@karme.de wrote: with kernel sunxi-3.4.103 (sunxi-3.4 branch) and CONFIG_CMA=y (as in sun7i_defconfig) i have no mmc device. hardware: a20 olinuxino micro [3.494360] [mmc-msg] sw_mci_init [3.503435] [mmc-msg] MMC host used

Re: [linux-sunxi] A20 mainline kernel -- buttons and power information

2015-01-16 Thread Siarhei Siamashka
On Wed, 14 Jan 2015 12:20:12 +0100 Michal Suchanek hramr...@gmail.com wrote: On 14 January 2015 at 11:42, Lars Doelle lars.doe...@on-line.de wrote: Hi everyone, tuning device configuration for [[Inet K970]], I did not yet find switches in the mainline kernel for the following features:

Re: [linux-sunxi] A31s chipset support

2015-01-16 Thread Siarhei Siamashka
On Mon, 12 Jan 2015 09:25:27 +1100 Julian Calaby julian.cal...@gmail.com wrote: On Wed, Dec 31, 2014 at 11:39 AM, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Mon, 3 Nov 2014 09:52:03 +1100 Julian Calaby julian.cal...@gmail.com wrote: [...] If anyone has any experiments they'd

Re: [linux-sunxi] A31s chipset support

2015-01-16 Thread Siarhei Siamashka
On Tue, 13 Jan 2015 08:11:24 -0800 (PST) Mohamed MEDIOUNI mohamedmedioun...@gmail.com wrote: Kurio makes some Allwinner tablets like the 10S(A31) and the 7 S (A20, supported by linux-sunxi) They are now nearly as cheap as Chinese no-name tablets :-) Thanks for the information. There is no

Re: [linux-sunxi] Re: U-Boot, UART on microSD breakout

2015-01-16 Thread Siarhei Siamashka
On Fri, 09 Jan 2015 19:53:41 +0100 Lars Doelle lars.doe...@on-line.de wrote: Hi, meanwhile, I've reproduced the method for Hans' mainline U-Boot You don't strictly need to use the Hans' personal wip repository for this, even though you surely can. The order in which you can normally check

Re: [linux-sunxi] A20 mainline kernel -- buttons and power information

2015-01-16 Thread Michal Suchanek
On 17 January 2015 at 04:10, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Wed, 14 Jan 2015 12:20:12 +0100 Michal Suchanek hramr...@gmail.com wrote: On 14 January 2015 at 11:42, Lars Doelle lars.doe...@on-line.de wrote: Hi everyone, tuning device configuration for [[Inet

[linux-sunxi] [PATCH v4 2/9] clk: sunxi: Add driver for A80 MMC config clocks/resets

2015-01-16 Thread Chen-Yu Tsai
On the A80 SoC, the 4 mmc controllers each have a separate register controlling their register access clocks and reset controls. These registers in turn share a ahb clock gate and reset control. This patch adds a platform device driver for these controls. It requires both clocks and reset

[linux-sunxi] [PATCH v4 1/9] clk: sunxi: Add mod0 and mmc module clock support for A80

2015-01-16 Thread Chen-Yu Tsai
The module 0 style clocks, or storage module clocks as named in the official SDK, are almost the same as the module 0 clocks on earlier Allwinner SoCs. The only difference is wider mux register bits. As with earlier Allwinner SoCs, mmc module clocks are a special case of mod0 clocks, with phase

[linux-sunxi] [PATCH v4 7/9] ARM: dts: sun9i: Enable mmc0 on A80 Optimus Board

2015-01-16 Thread Chen-Yu Tsai
Enable the micro-sd slot on the A80 Optimus Board, which is connected to mmc0. This adds the card-detect gpio and enables mmc0. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 18 ++ 1 file

[linux-sunxi] [PATCH v4 9/9] ARM: dts: sun9i: Enable mmc2 on A80 Optimus Board

2015-01-16 Thread Chen-Yu Tsai
The A80 Optimus Board has a 16GB eMMC connected to mmc2, with 8 bit wide data bus. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 9 + 1 file changed, 9 insertions(+) diff --git

[linux-sunxi] [PATCH v4 3/9] ARM: dts: sun9i: Add clock-indices property for bus gate clocks

2015-01-16 Thread Chen-Yu Tsai
of_clk_get_parent_name() uses the clock-indices property to resolve clock phandle arguments in case that the argument index does not match the clock-output-names sequence. This is the case on sunxi, where we use the actual bit index as the argument to the phandle. Add the clock-indices property

[linux-sunxi] [PATCH v4 6/9] ARM: dts: sun9i: Convert a80 optimus board dts to label referencing

2015-01-16 Thread Chen-Yu Tsai
The preferred method of referencing nodes from the dtsi is to use labels, instead of copying the complete tree. This patch converts sun9i-a80-optimus.dts to use label references. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 76

[linux-sunxi] [PATCH v4 4/9] ARM: dts: sun9i: Add mmc config clock nodes

2015-01-16 Thread Chen-Yu Tsai
Add the device tree nodes for the mmc config clock nodes. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index

[linux-sunxi] [PATCH v4 5/9] ARM: dts: sun9i: Add mmc controller nodes to the A80 dtsi

2015-01-16 Thread Chen-Yu Tsai
The A80 has 4 mmc controllers. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/sun9i-a80.dtsi | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi

[linux-sunxi] [PATCH v4 0/9] ARM: sun9i: Enable MMC support on Allwinner A80

2015-01-16 Thread Chen-Yu Tsai
Hi Maxime, This is v4 of the sun9i mmc series. The following patches from v3 were merged and are dropped: ARM: dts: sun9i: Add pinmux setting for mmc0 ARM: dts: sunxi: Use label to reference pio in sunxi-common-regulators ARM: dts: sun9i: Add mmc module clock nodes for A80 clk:

[linux-sunxi] [PATCH v4 8/9] ARM: dts: sun9i: Add 8 bit mmc pinmux setting for mmc2

2015-01-16 Thread Chen-Yu Tsai
mmc2 is available on port C. Add a pinmux setting for 8 bit wide eMMC. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/sun9i-a80.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi