Re: [linux-sunxi] [PATCH 3.4] sunxi: Enable ZONE_DMA for sun4i and sun5i (dma_zone_size=256MB)

2013-12-26 Thread Siarhei Siamashka
On Wed, 25 Dec 2013 10:14:54 +0100 Hans de Goede wrote: > Hi, > > On 12/25/2013 04:36 AM, Siarhei Siamashka wrote: > > Previously only sun7i had ZONE_DMA enabled, which is originating > > from the Allwinner linux-3.3 code drop. But there should be no > > reason to have it different for sun4i and

Re: [linux-sunxi] [GIT PULL for stage/sunxi-3.4] CMA patches from LTSI

2013-12-26 Thread Siarhei Siamashka
On Fri, 27 Dec 2013 00:15:24 +0100 Alejandro Mery wrote: > On 26/12/13 23:48, Siarhei Siamashka wrote: > > It would make sense to set the default CMA reservation size to > > something bigger than 80MB by default in defconfigs. And if we > > also want to allocate memory for disp and g2d, this need

[linux-sunxi] Re: [PATCH 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2013-12-26 Thread Dmitry Torokhov
On Thu, Dec 26, 2013 at 11:33:06PM +0100, Hans de Goede wrote: > On 12/26/2013 11:15 PM, Dmitry Torokhov wrote: > > > >Are we 1000% sure that the device is quiesced here and we will not get a > >stray interrupt? Even if we are sure I'd still rather allocate input > >device earlier, together with ts

Re: [linux-sunxi] [GIT PULL for stage/sunxi-3.4] CMA patches from LTSI

2013-12-26 Thread Alejandro Mery
On 26/12/13 23:48, Siarhei Siamashka wrote: On Thu, 26 Dec 2013 21:28:22 +0100 Alejandro Mery wrote: On 25/12/13 05:08, Siarhei Siamashka wrote: Hello, This is a pull request for the LTSI patchset, which backports CMA (Contiguous Memory Allocator) to 3.4 kernel. Before CMA got introduced in

Re: [linux-sunxi] [GIT PULL for stage/sunxi-3.4] CMA patches from LTSI

2013-12-26 Thread Siarhei Siamashka
On Thu, 26 Dec 2013 21:28:22 +0100 Alejandro Mery wrote: > On 25/12/13 05:08, Siarhei Siamashka wrote: > > Hello, > > > > This is a pull request for the LTSI patchset, which backports > > CMA (Contiguous Memory Allocator) to 3.4 kernel. > > > > Before CMA got introduced in Linux (and is now avail

[linux-sunxi] Re: [PATCH 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2013-12-26 Thread Hans de Goede
Hi Dimitri, Thanks for the review. I've one or two small questions / remarks. I'll do a v2 addressing your and others comments tomorrow. On 12/26/2013 11:15 PM, Dmitry Torokhov wrote: +static int sun4i_ts_register_input(struct sun4i_ts_data *ts, +cons

Re: [linux-sunxi] Re: [lm-sensors] [PATCH 2/5] input: sun4i-ts: Add support for temperature sensor

2013-12-26 Thread Dmitry Torokhov
On Wed, Dec 25, 2013 at 11:54:27AM +0100, Hans de Goede wrote: > On 12/25/2013 11:37 AM, Guenter Roeck wrote: > >On Tue, Dec 24, 2013 at 11:24:04PM +0100, Hans de Goede wrote: > >> struct sun4i_ts_data { > >>struct device *dev; > >>void __iomem *base; > >>struct input_dev *input; > >>+

[linux-sunxi] Re: [PATCH 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2013-12-26 Thread Dmitry Torokhov
Hi Hans, On Tue, Dec 24, 2013 at 11:24:03PM +0100, Hans de Goede wrote: > Note the sun4i-ts controller is capable of detecting a second touch, but when > a second touch is present then the accuracy becomes so bad the reported touch > location is not useable. > > The original android driver contai

Re: [linux-sunxi] [PATCH] gpio: sunxi: Add interrupt (eint) definitions for A10s SoC

2013-12-26 Thread Alejandro Mery
On 26/12/13 18:37, Tomas Novotny wrote: Interrupt definitions are taken from the A10s datasheet. Tested on A10s-OLinuXino-MICRO. Signed-off-by: Tomas Novotny --- drivers/gpio/gpio-sunxi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpio/gpio-sunxi.c

Re: [linux-sunxi] Firmware for Bluetooth (and wifi)

2013-12-26 Thread Hans de Goede
Hi, On 12/26/2013 05:13 PM, Chen-Yu Tsai wrote: Hi, On Thu, Dec 19, 2013 at 6:12 PM, Chen-Yu Tsai wrote: Hi, On Thu, Dec 19, 2013 at 12:39 AM, Chen-Yu Tsai wrote: Hi, On Thu, Dec 19, 2013 at 12:16 AM, Arend van Spriel wrote: On 12/18/2013 02:12 PM, Hans de Goede wrote: Hi, On 12/18/20

Re: [linux-sunxi] [GIT PULL for stage/sunxi-3.4] CMA patches from LTSI

2013-12-26 Thread Alejandro Mery
On 25/12/13 05:08, Siarhei Siamashka wrote: Hello, This is a pull request for the LTSI patchset, which backports CMA (Contiguous Memory Allocator) to 3.4 kernel. Before CMA got introduced in Linux (and is now available in the recent mainline kernels), allocating large physically contiguous bloc

Re: [linux-sunxi] [PATCH] sunxi: disp: Fix VGA DAC mode

2013-12-26 Thread Alejandro Mery
On 26/12/13 19:40, Jens Kuske wrote: Currently the DAC is set to 35.7 Ohm mode for VGA output. This results in a too bright screen image with lighter greys indistinguishable from white. Setting it to 75 Ohm fixes this, which is obvious as VGA lines are 75 Ohm terminated. Signed-off-by: Jens Kus

Re: [linux-sunxi] [PATCH] sunxi: disp: Fix VGA DAC mode

2013-12-26 Thread Hans de Goede
Hi, On 12/26/2013 07:40 PM, Jens Kuske wrote: Currently the DAC is set to 35.7 Ohm mode for VGA output. This results in a too bright screen image with lighter greys indistinguishable from white. Setting it to 75 Ohm fixes this, which is obvious as VGA lines are 75 Ohm terminated. Signed-off-by

Re: [linux-sunxi] [PATCH] gpio: sunxi: Add interrupt (eint) definitions for A10s SoC

2013-12-26 Thread Hans de Goede
Hi, On 12/26/2013 06:37 PM, Tomas Novotny wrote: Interrupt definitions are taken from the A10s datasheet. Tested on A10s-OLinuXino-MICRO. Signed-off-by: Tomas Novotny Looks good: Acked-by: Hans de Goede Regards, Hans --- drivers/gpio/gpio-sunxi.c | 24 1 fil

[linux-sunxi] [PATCH] gpio: sunxi: Add interrupt (eint) definitions for A10s SoC

2013-12-26 Thread Tomas Novotny
Interrupt definitions are taken from the A10s datasheet. Tested on A10s-OLinuXino-MICRO. Signed-off-by: Tomas Novotny --- drivers/gpio/gpio-sunxi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpio/gpio-sunxi.c b/drivers/gpio/gpio-sunxi.c index 6e86142..b

[linux-sunxi] [PATCH] sunxi: disp: Fix VGA DAC mode

2013-12-26 Thread Jens Kuske
Currently the DAC is set to 35.7 Ohm mode for VGA output. This results in a too bright screen image with lighter greys indistinguishable from white. Setting it to 75 Ohm fixes this, which is obvious as VGA lines are 75 Ohm terminated. Signed-off-by: Jens Kuske --- drivers/video/sunxi/disp/de_tv

Re: [linux-sunxi] [PATCH 3.4] sunxi: Enable ZONE_DMA for sun4i and sun5i (dma_zone_size=256MB)

2013-12-26 Thread Alejandro Mery
On 25/12/13 04:36, Siarhei Siamashka wrote: Previously only sun7i had ZONE_DMA enabled, which is originating from the Allwinner linux-3.3 code drop. But there should be no reason to have it different for sun4i and sun5i. The practical effect of setting the dma_zone_size is that it affects the pl

Re: [linux-sunxi] Firmware for Bluetooth (and wifi)

2013-12-26 Thread Chen-Yu Tsai
Hi, On Thu, Dec 19, 2013 at 6:12 PM, Chen-Yu Tsai wrote: > Hi, > > On Thu, Dec 19, 2013 at 12:39 AM, Chen-Yu Tsai wrote: >> Hi, >> >> On Thu, Dec 19, 2013 at 12:16 AM, Arend van Spriel >> wrote: >>> On 12/18/2013 02:12 PM, Hans de Goede wrote: Hi, On 12/18/2013 11:31 AM, Arend v

[linux-sunxi] Sd card partition for A20 booting...

2013-12-26 Thread Puneet B
Hi, Can anyone tell me, how many partition is requires in sdcard for android4.2 ,booting in A20 board. i fallow this link http://linux-sunxi.org/Boot_Android_from_SdCard But getting struck at boot log. i feel ,for android 4.2 there are 11 partition. Kindly suggest me. Regards Punith -- Y

Re: [linux-sunxi] mmc errors

2013-12-26 Thread Gerardo Di Iorio
hi. i have same error with an samsung 32Gb card. With cb2 i have error, same card on cb1 boot fine and not have error. The rootfs is same, i have modify only the kernel. regards 2013/12/23 Hans de Goede > Hi, > > > On 12/23/2013 01:04 AM, Jonathan Aquilina wrote: > >> Im up the creek as I do

Re: [linux-sunxi] mmc errors

2013-12-26 Thread Jonathan Aquilina
I think I know what the issue is. I am using a revision with buildroot which is before MMC was pushed to the repositories. Is it possible to get the revision where MMC was committed to the repo as I think that will fix my MMC issue. Thanks Jonathan On Tuesday 24 December 2013 11:02:10 Hans de

[linux-sunxi] Re: [PATCH 2/5] input: sun4i-ts: Add support for temperature sensor

2013-12-26 Thread Thomas Petazzoni
Dear Hans de Goede, On Tue, 24 Dec 2013 23:24:04 +0100, Hans de Goede wrote: > + of_property_read_u32(np, "ts-attached", &ts_attached); ts-attached should be a boolean property, and therefore you should use of_property_read_bool() here. And in your Device Tree, you should use: ts-a

[linux-sunxi] Re: [PATCH 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2013-12-26 Thread Thomas Petazzoni
Dear Hans de Goede, On Tue, 24 Dec 2013 23:24:03 +0100, Hans de Goede wrote: > +/* TP_INT_FIFOS irq and fifo status bits */ > +#define TEMP_DATA_PENDING(1 << 18) > +#define FIFO_OVERRUN_PENDING (1 << 17) > +#define FIFO_DATA_PENDING(1 << 16) > +#define TP_IDLE_FLG (1 << 2) > +#de