Re: [linux-sunxi] zet6221 ts driver testing

2014-02-17 Thread Oviron Electronics
Dear Mikey The driver is only one of the brunches that you need to get the TSP working. I'm pretty new to linux and C programing but had a look at lot of files in OS. As you have other platform file names will differ from those I send. Just get this in mind: 0.You have to be sure that TSP pins

Re: [linux-sunxi] [PATCH 1/2] pinctrl-sunxi: fix external interrupts not working

2014-02-17 Thread Hans de Goede
Hi, On 02/16/2014 11:09 AM, Chen-Yu Tsai wrote: Hi, On Sat, Feb 15, 2014 at 8:02 PM, Hans de Goede hdego...@redhat.com wrote: Hi All, Here is a patch series fixing external interrupts, tested only on A20 sofar, I'll do a version for upstream once I've tested this more thoroughly, but I

[linux-sunxi] [PATCH v7 3/8] ARM: sunxi: clk: export clk_sunxi_mmc_phase_control

2014-02-17 Thread David Lanzendörfer
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com --- include/linux/clk/sunxi.h | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 include/linux/clk/sunxi.h diff --git a/include/linux/clk/sunxi.h b/include/linux/clk/sunxi.h

[linux-sunxi] [PATCH v7 4/8] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-02-17 Thread David Lanzendörfer
This is based on the driver Allwinner ships in their Android kernel sources. Initial porting to upstream kernels done by David Lanzendörfer, additional fixes and cleanups by Hans de Goede. It uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one

[linux-sunxi] [PATCH v7 1/8] clk: sunxi: factors: automatic reparenting support

2014-02-17 Thread David Lanzendörfer
From: Emilio López emi...@elopez.com.ar This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López emi...@elopez.com.ar --- drivers/clk/sunxi/clk-factors.c | 36 1 file changed, 36

[linux-sunxi] [PATCH v7 2/8] clk: sunxi: Implement MMC phase control

2014-02-17 Thread David Lanzendörfer
From: Emilio López emi...@elopez.com.ar Signed-off-by: Emilio López emi...@elopez.com.ar --- drivers/clk/sunxi/clk-sunxi.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index

[linux-sunxi] [PATCH v7 0/8] ARM: sunxi: Add driver for SD/MMC hosts found on allwinner sunxi SOCs

2014-02-17 Thread David Lanzendörfer
Hello The following patchset adds support for the SD/MMC host found in the Allwinner SoCs. It contains all the necessary modifications for clock environment and also the device tree script modification which add it to all the boards using it. The clock environment function needed for phase

[linux-sunxi] [PATCH v7 6/8] ARM: dts: sun4i: Add support for mmc

2014-02-17 Thread David Lanzendörfer
Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10-a1000.dts |8 arch/arm/boot/dts/sun4i-a10-cubieboard.dts |8 arch/arm/boot/dts/sun4i-a10.dtsi | 54

[linux-sunxi] [PATCH v7 7/8] ARM: dts: sun5i: Add support for mmc

2014-02-17 Thread David Lanzendörfer
Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 +++ arch/arm/boot/dts/sun5i-a10s.dtsi| 44 ++

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

2014-02-17 Thread Priit Laes
Ühel kenal päeval, E, 17.02.2014 kell 08:08, kirjutas David Lanzendörfer: Hi + * Driver for sunxi SD/MMC host controllers + * (C) Copyright 2014-2015 Reuuimlla Technology Co., Ltd. + * (C) Copyright 2014-2015 Aaron Maoye leafy.m...@reuuimllatech.com + * (C) Copyright 2014-2015 O2S

Re: [linux-sunxi] [PATCH] sunxi: Add Wexler TAB 7200 tablet

2014-02-17 Thread Luc Verhaegen
On Mon, Jan 13, 2014 at 09:32:26AM +0400, Aleksei Mamlin wrote: Signed-off-by: Aleksei Mamlin mamli...@gmail.com --- board/sunxi/Makefile | 1 + board/sunxi/dram_wexler_tab_7200.c | 31 +++ boards.cfg | 1 + 3 files

Re: [linux-sunxi] [PATCH] Add Wexler TAB 7200 tablet

2014-02-17 Thread Luc Verhaegen
On Mon, Jan 13, 2014 at 09:33:16AM +0400, Aleksei Mamlin wrote: Signed-off-by: Aleksei Mamlin mamli...@gmail.com --- sys_config/a20/wexler_tab_7200.fex | 936 + 1 file changed, 936 insertions(+) create mode 100644 sys_config/a20/wexler_tab_7200.fex

[linux-sunxi] [PATCH] Add HCore HC860

2014-02-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen l...@skynet.be --- sys_config/a10/hcore_hc860.fex | 964 1 files changed, 964 insertions(+), 0 deletions(-) create mode 100644 sys_config/a10/hcore_hc860.fex diff --git a/sys_config/a10/hcore_hc860.fex

[linux-sunxi] [PATCH] sunxi: add board hcore hc860

2014-02-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen l...@skynet.be --- board/sunxi/Makefile|1 + board/sunxi/dram_sun4i_384_1024_iow16.c | 31 +++ boards.cfg |1 + 3 files changed, 33 insertions(+), 0 deletions(-) create mode 100644

[linux-sunxi] Kernel LZO crash

2014-02-17 Thread Rudi
Hi folks, starting with version 3.4.67 I get a crash on starting up the kernel when the image uses LZO compression (CONFIG_KERNEL_LZO=y). It seems to be related to unaligned data access. Anyone else seen this ? -- Ruediger Rudi Ihle -- You received this message because you are

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

2014-02-17 Thread Maxime Ripard
Hi Wolfram, On Mon, Jan 13, 2014 at 11:34:48AM +0100, Maxime Ripard wrote: 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

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

2014-02-17 Thread Maxime Ripard
On Mon, Feb 17, 2014 at 03:26:12PM +0100, Wolfram Sang wrote: It's been over a month now, and no sign of life from you on this patch so far... Should I just take this patchset through my tree? :) Nope. Then please review those 40 lines of code. -- Maxime Ripard, Free Electrons Embedded

[linux-sunxi] Re: A20 + OV5640 (parallel) issues

2014-02-17 Thread Ivan Kozic
Hi all, One more bump, as I got into it much deeper. It seems that V4L2 is basically more-less functional - the sensor works, albeit with only one set of settings (ov5640.c is quite badly written). Either way, V4L should be good enough with some light code modifications to the OV5640 driver.

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

2014-02-17 Thread Wolfram Sang
It's been over a month now, and no sign of life from you on this patch so far... Should I just take this patchset through my tree? :) Nope. signature.asc Description: Digital signature

[linux-sunxi] Re: Problems running Linux on a A20 tablet, from a micro SD card

2014-02-17 Thread Nathan Buckley
I rebuilt the kernel to include I2C debugging messages. These can be found here http://pastebin.com/vV1prk5P Thanks. On Sunday, 16 February 2014 00:37:35 UTC, Marc Lavallée wrote: Hello linux-sunxi developpers. This is my first post on the list. I followed the instructions to create a

[linux-sunxi] Re: gslx680 Touch screen driver issue.

2014-02-17 Thread Nathan Buckley
I rebuild the kernel to include I2C output. This can be seen here. http://pastebin.com/vV1prk5P Unsure what else to do to debug the issue. On Thursday, 13 February 2014 19:14:30 UTC, Nathan Buckley wrote: Hi Guys, I'm hoping someone will be able to help me with an issue I've been having.

[linux-sunxi] [PATCH 2/8] sunxi-mmc: Simplify clk delay setting

2014-02-17 Thread Hans de Goede
clk_sunxi_mmc_phase_control() does its own locking, so there is no need to lock at the host. Without the locking having a separate sunxi_mmc_set_clk_dly() makes no sense, so simply call clk_sunxi_mmc_phase_control() directly. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[linux-sunxi] [PATCH 6/8] ARM: sun4i: dt: Fixup mmc bindings

2014-02-17 Thread Hans de Goede
1) Now that we're no longer overriding the caps set by mmc_of_parse we need to set cd-inverted for our card detection to work. 2) Now that we no longer claim UHS modes support we will never use any DDR modes, so drive-strength 2 is enough for the mmc data pins. Signed-off-by: Hans de Goede

[linux-sunxi] [PATCH 3/8] sunxi-mmc: Don't set mmc clk in low power mode

2014-02-17 Thread Hans de Goede
The android driver uses an io-flag to descern whether a controller is hooked up to a sdcard slot, or to an onboard sdio dev. And for sdcard slots it sets the clock in a low-power mode. This is causing transmission errors when talking to the sdio-wifi on the cubietruck, and this may be the cause

[linux-sunxi] [PATCH 1/8] sunxi-mmc: fixup: revert add host initialization for when the sdio irq is enabled

2014-02-17 Thread Hans de Goede
This is not necessary since when the host is not initialized at this point yet the irq line from the mmc controller is not enabled, so writing the host controller interrupt mask cannot cause interrupts at this point. More over doing this is wrong, as it leads to unbalanced calling of

[linux-sunxi] [PATCH 7/8] ARM: sun5i: dt: Fixup mmc bindings

2014-02-17 Thread Hans de Goede
1) Now that we're no longer overriding the caps set by mmc_of_parse we need to set cd-inverted for our card detection to work. 2) Now that we no longer claim UHS modes support we will never use any DDR modes, so drive-strength 2 is enough for the mmc data pins. 3) mmc1 on the A13 is not routed

[linux-sunxi] [PATCH 5/8] sunxi-mmc: Or in caps, rather then overriding them

2014-02-17 Thread Hans de Goede
Now that we use mmc_of_parse() there are already some caps set by mmc_of_parse, so or in our driver caps, rather then using an assignment. This fixes the card running only in 1 bit mode instead of 4 bit mode problem we've had since we switched to using mmc_of_parse(). Signed-off-by: Hans de Goede

[linux-sunxi] [PATCH 8/8] ARM: sun7i: dt: Fixup mmc bindings

2014-02-17 Thread Hans de Goede
1) Now that we're no longer overriding the caps set by mmc_of_parse we need to set cd-inverted for our card detection to work. 2) Now that we no longer claim UHS modes support we will never use any DDR modes, so drive-strength 2 is enough for the mmc data pins. Signed-off-by: Hans de Goede

[linux-sunxi] [PATCH 4/8] sunxi-mmc: Stop claiming UHS modes

2014-02-17 Thread Hans de Goede
UHS requires a regulator to set the signaling voltage, as well as special code to handle the signal voltage switching. We've never added the code for this from the android driver to the upstream driver, so stop claiming support for this. Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [linux-sunxi] Re: [PATCH] Add Full Duplex support to SPI (v2)

2014-02-17 Thread dariusz . bruj
If you are interested I can send some working code for nrf24l01. I just mixed all information above with my previous problems with SPI and i have got a nrf24l01 connected to CB successfully communicating with RPi through the same library. Unfortunately, it needs some changes in kernel GPIO

Re: [linux-sunxi] [PATCH 3.4] Revert usb:sunxi:Fix device not recognized problem during android boot (3.4)

2014-02-17 Thread Jari Helaakoski
2014-02-17 22:43 GMT+02:00 Michal Suchanek hramr...@gmail.com: On 16 February 2014 18:33, Jari Helaakoski tekk...@gmail.com wrote: 2014-02-16 18:25 GMT+02:00 Michal Suchanek hramr...@gmail.com: On 10 February 2014 18:25, Jari Helaakoski tekk...@gmail.com wrote: Is there even

[linux-sunxi] [PATCH] sunxi-mmc: Don't call mmc_of_parse until we're ready to

2014-02-17 Thread Hans de Goede
mmc_of_parse registers an irq handler for the gpio pins for cd, this irq handler will reference host-ops, so don't call mmc_of_parse until we're done setting everything up. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/mmc/host/sunxi-mmc.c | 9 - 1 file changed, 4

[linux-sunxi] [PATCH 0/1] sunxi-mmc: one more fix

2014-02-17 Thread Hans de Goede
Hi David, Here is one more fix, this fixes an oops caused by a NULL pointer deref on the olinuxino-a10s-micro. Regards, Hans -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send

Re: [linux-sunxi] [PATCH 3.4] Revert usb:sunxi:Fix device not recognized problem during android boot (3.4)

2014-02-17 Thread Michal Suchanek
On 17 February 2014 21:52, Jari Helaakoski tekk...@gmail.com wrote: 2014-02-17 22:43 GMT+02:00 Michal Suchanek hramr...@gmail.com: On 16 February 2014 18:33, Jari Helaakoski tekk...@gmail.com wrote: 2014-02-16 18:25 GMT+02:00 Michal Suchanek hramr...@gmail.com: On 10 February

[linux-sunxi] [PATCH 1/4] pinctrl-sunxi: Fix sun5i-a13 port F multiplexing

2014-02-17 Thread Hans de Goede
The correct value for selecting the mmc0 function on port F pins is 2 not 4, as per the data-sheet: http://dl.linux-sunxi.org/A13/A13%20Datasheet%20-%20v1.12%20%282012-03-29%29.pdf Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com ---

[linux-sunxi] [PATCH 4/4] pinctrl-sunxi: Fix interrupt register offset calculation

2014-02-17 Thread Hans de Goede
This fixing setting the interrupt type for eints = 8. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/pinctrl/pinctrl-sunxi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sunxi.h b/drivers/pinctrl/pinctrl-sunxi.h index

[linux-sunxi] [PATCH 2/4] pinctrl-sunxi: Fix hang on gpio irq

2014-02-17 Thread Hans de Goede
Our irq handler was missing chained_irq_enter / exit calls, causing a hard hang as soon as a gpio irq happened. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/pinctrl/pinctrl-sunxi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sunxi.c

Re: [linux-sunxi] Re: [PATCH] Add Full Duplex support to SPI (v2)

2014-02-17 Thread Marco Montesissa
HI Darius, I have a modified version which works in half-duplex mode by modifing just the userspace. If you need any piece of code i can share it. Cheers Marco. 2014-02-17 21:27 GMT+01:00 dariusz.b...@gmail.com: If you are interested I can send some working code for nrf24l01. I just mixed

[linux-sunxi] Re: Linux boots but Android fails to boot

2014-02-17 Thread Dave McLaughlin
Hi Alejandro, I ran a diff and ended up with a 384MB patch file. My first time using this so I need to see how to filter the input so that only source files are compared. :) -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe

[linux-sunxi] Re: [PATCH 3/4] pinctrl-sunxi: Fix masking when setting irq type

2014-02-17 Thread Maxime Ripard
Hi, On Mon, Feb 17, 2014 at 10:19:43PM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com