[linux-sunxi] Re: [PATCH v3] sunxi: Add support for consumer infrared devices

2014-04-30 Thread Александр Берсенев
Thanks for comments. The IR controllers in A10 and A20 are very similar but not same. The only difference I found is a FIFO size. I'll try to use devm_clk_get to get the time, but now it's not possible to add gate clock by name. I've just sent a patch to this mailing list to add this

[linux-sunxi] Re: [PATCH v3] sunxi: Add support for consumer infrared devices

2014-04-30 Thread Mauro Carvalho Chehab
Em Tue, 29 Apr 2014 18:14:54 -0700 Maxime Ripard maxime.rip...@free-electrons.com escreveu: Hi, Thanks for contributing this patch. It seems like you're missing a few mailing lists / maintainers though. You should use the get_maintainer.pl script, and Cc every maintainer and mailing

[linux-sunxi] Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-04-30 Thread Vinod Koul
On Thu, Apr 24, 2014 at 04:22:44PM +0200, Maxime Ripard wrote: The Allwinner A31 has a 16 channels DMA controller that it shares with the newer A23. Although sharing some similarities with the DMA controller of the older Allwinner SoCs, it's significantly different, I don't expect it to be

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

2014-04-30 Thread Александр Берсенев
[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 b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org diff --git

[linux-sunxi] Re: [PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller

2014-04-30 Thread Александр Берсенев
[PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov

[linux-sunxi] Re: [PATCH v4 03/03] ARM: sunxi: Add IR controller support in DT on A20

2014-04-30 Thread Александр Берсенев
This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov

[linux-sunxi] Re: [PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller

2014-04-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Apr 2014 03:58:18 -0700 (PDT) Александр Берсенев b...@hackerdom.ru escreveu: [PATCH v4 02/03] ARM: sunxi: Add driver for sunxi IR controller This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by

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

2014-04-30 Thread Emilio López
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 names, as well as generalize the pin functions to handle all 5 buses.

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

2014-04-30 Thread info
Hi Julian, i tryed to build using: debian@debian:~/Scaricati/backports-3.11.8-1$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LINUXDIR=~/a20_kernel_3.4/linux-sunxi /usr/src/linux-headers-3.2.0-4-common/arch/x86/Makefile:81: stack protector enabled but no compiler support CC [M]

[linux-sunxi] [PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-04-30 Thread Alexander Bersenev
This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- Changes since version

[linux-sunxi] [PATCH v5 3/3] ARM: sunxi: Add IR controller support in DT on A20

2014-04-30 Thread Alexander Bersenev
This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov

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

2014-04-30 Thread Julian Calaby
Hi, On Thu, May 1, 2014 at 1:00 AM, i...@integrazioneweb.com wrote: Hi Julian, i tryed to build using: debian@debian:~/Scaricati/backports-3.11.8-1$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LINUXDIR=~/a20_kernel_3.4/linux-sunxi

[linux-sunxi] Re: [PATCH v3 1/9] mtd: nand: define struct nand_timings

2014-04-30 Thread Brian Norris
Hi Boris, On Wed, Mar 12, 2014 at 07:07:36PM +0100, Boris BREZILLON wrote: Define a struct containing the standard NAND timings as described in NAND datasheets. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- include/linux/mtd/nand.h | 49

[linux-sunxi] Re: [PATCH v3 2/9] mtd: nand: add ONFI timing mode to nand_timings converter

2014-04-30 Thread Brian Norris
Hi, On Wed, Mar 12, 2014 at 07:07:37PM +0100, Boris BREZILLON wrote: Add a converter to retrieve NAND timings from an ONFI NAND timing mode. This only support SDR NAND timings for now. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/mtd/nand/Makefile |2 +-

[linux-sunxi] Re: [PATCH v3 3/9] of: mtd: add NAND timing mode retrieval support

2014-04-30 Thread Brian Norris
On Wed, Mar 12, 2014 at 07:07:38PM +0100, Boris BREZILLON wrote: Add a function to retrieve NAND timing mode (ONFI timing mode) from a given DT node. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com --- drivers/of/of_mtd.c| 19 +++ include/linux/of_mtd.h |

[linux-sunxi] Re: [PATCH 5/5] ARM: sunxi: Remove sun4i and sun7i machine definitions

2014-04-30 Thread Maxime Ripard
Hi, On Mon, Apr 28, 2014 at 06:08:53PM -0700, Olof Johansson wrote: On Wed, Apr 23, 2014 at 9:02 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 23 April 2014 17:04:36 Maxime Ripard wrote: -static void __init sunxi_dt_init(void) -{ - of_platform_populate(NULL,

[linux-sunxi] Re: [PATCH 5/5] ARM: sunxi: Remove sun4i and sun7i machine definitions

2014-04-30 Thread Stefan Monnier
I guess the /proc/cpuinfo thing just tip the scales to keeping the minimal machines. I'll update the patches. I agree that having this data in cpuinfo is important, but I think this just begs for a way to get this data (or something equivalent) in cpuinfo *without* having a machine definition.

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

2014-04-30 Thread Alejandro Mery
On 30/04/14 15:27, 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 names, as well as generalize the pin

[linux-sunxi] Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-04-30 Thread Maxime Ripard
Hi Vinod, On Wed, Apr 30, 2014 at 12:34:08PM +0530, Vinod Koul wrote: On Thu, Apr 24, 2014 at 04:22:44PM +0200, Maxime Ripard wrote: The Allwinner A31 has a 16 channels DMA controller that it shares with the newer A23. Although sharing some similarities with the DMA controller of the older

Re: [linux-sunxi] [PATCH v5 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-04-30 Thread Priit Laes
Ühel kenal päeval, K, 30.04.2014 kell 21:16, kirjutas Alexander Bersenev: This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru