Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Yassin Jaffer
Hi Michal This was answered previously by Brezillon . Please search the mailing list. > You have to force bad block erasure to get rid of AW's libnand layout > (which is overriding bad block markers). > > Please follow these steps: > 1) apply this patch [1] > 2) boot on your new kernel and launch

Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Michal Suchanek
On 18 December 2014 at 14:13, Henrik Nordström wrote: > tor 2014-12-18 klockan 13:47 +0100 skrev Michal Suchanek: > >> Yes, that's what you can obviously do. If the ID listed in the >> datasheet and the ID read by the kernel does not agree put the ID read >> in the table. >> >> However, how is Joe

[linux-sunxi] Re: [PATCH v3] input: Add new sun4i-lradc-keys driver

2014-12-18 Thread Dmitry Torokhov
Hi Hans, On Thu, Dec 18, 2014 at 11:23:13AM +0100, Hans de Goede wrote: > Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is > specifically designed to have various (tablet) keys (ie home, back, search, > etc). attached to it using a resistor network. This adds a driver for th

Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Michal Suchanek
On 18 December 2014 at 08:10, Yassin Jaffer wrote: > Hi Michal > > add the following to the nand id table > > {"K9GBG08U0A 32G 3.3V 8-bit", > { .id = {0xec, 0xd7, 0x94, 0x7a, 0x54, 0x43} }, > SZ_8K, SZ_4K, SZ_1M, 0, 6, 640, NAND_ECC_INFO(40, SZ_1K), > 0 }, So with the extra entry I get:

[linux-sunxi] Re: Question regarding SATA speed of A20

2014-12-18 Thread Stefan Monnier
> I just wonder how and to what value the cpu frequencies gets set? Mainline kernel lacks support for cpu frequency control, so the frequency is the one inherited from the boot loader. > How could I check and evt. manually change it? You can't easily check it, AFAIK. As for changing it: change

Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Henrik Nordström
tor 2014-12-18 klockan 13:47 +0100 skrev Michal Suchanek: > Yes, that's what you can obviously do. If the ID listed in the > datasheet and the ID read by the kernel does not agree put the ID read > in the table. > > However, how is Joe User with a Chinese tablet supposed to add his NAND chip? If

Re: [linux-sunxi] Re: mainline NAND

2014-12-18 Thread Michal Suchanek
On 18 December 2014 at 08:10, Yassin Jaffer wrote: > > On Thu, Dec 18, 2014 at 5:07 AM, Michal Suchanek wrote: >> >> Hello, >> >> On 17 December 2014 at 11:40, Boris BREZILLON >> wrote: >> > Hi Michal >> > >> > Le mardi 16 décembre 2014 19:01:58 UTC+1, Michal Suchanek a écrit : >> >> >> >> Hello

[linux-sunxi] Re: A23 u-boot with SPL / dram init available in my personal git repo

2014-12-18 Thread Hans de Goede
Hi, On 15-12-14 07:01, Ricky Xian wrote: Hi, I'm trying to boot from usb fel mode on A23. I have rebuilt your sunxi-wip branch, and try to run on my A23 (q88?) board, but it's failed in fel mode in executing. I think the u-boot-spl.bin can be used as A20, this's the website I refer to: http://

Re: [linux-sunxi] Question regarding SATA speed of A20

2014-12-18 Thread Irgendeiner
Following the suggestion of Diego Roversi I tried to analyze the behavior of the governor and found out that mainline kernel lacks those parts in the kernel configuration and in kernel code. I just wonder how and to what value the cpu frequencies gets set? How could I check and evt. manually

[linux-sunxi] [PATCH v3] input: Add new sun4i-lradc-keys driver

2014-12-18 Thread Hans de Goede
Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is specifically designed to have various (tablet) keys (ie home, back, search, etc). attached to it using a resistor network. This adds a driver for this. There are 2 channels, currently this driver only supports chan0 since ther

[linux-sunxi] Re: [PATCH v2 07/13] mfd: sun6i-prcm: Add support for the ir-clk

2014-12-18 Thread Lee Jones
On Thu, 18 Dec 2014, Hans de Goede wrote: > Hi, > > On 18-12-14 09:41, Lee Jones wrote: > >On Wed, 17 Dec 2014, Hans de Goede wrote: > > > >>Add support for the ir-clk which is part of the sun6i SoC prcm module. > >> > >>Signed-off-by: Hans de Goede > >>--- > >> drivers/mfd/sun6i-prcm.c | 14 ++

[linux-sunxi] Re: [PATCH v2 07/13] mfd: sun6i-prcm: Add support for the ir-clk

2014-12-18 Thread Hans de Goede
Hi, On 18-12-14 09:41, Lee Jones wrote: On Wed, 17 Dec 2014, Hans de Goede wrote: Add support for the ir-clk which is part of the sun6i SoC prcm module. Signed-off-by: Hans de Goede --- drivers/mfd/sun6i-prcm.c | 14 ++ 1 file changed, 14 insertions(+) Pretty standard stuff

Re: [linux-sunxi] [PATCH v2 04/13] rc: sunxi-cir: Add support for an optional reset controller

2014-12-18 Thread Hans de Goede
Hi, On 18-12-14 03:48, Chen-Yu Tsai wrote: Hi, On Thu, Dec 18, 2014 at 1:18 AM, Hans de Goede wrote: On sun6i the cir block is attached to the reset controller, add support for de-asserting the reset if a reset controller is specified in dt. Signed-off-by: Hans de Goede Acked-by: Mauro Carv

[linux-sunxi] Re: [PATCH resend v2] input: Add new sun4i-lradc-keys driver

2014-12-18 Thread Hans de Goede
Hi, On 17-12-14 18:32, Dmitry Torokhov wrote: On Wednesday, December 17, 2014 03:43:31 PM Hans de Goede wrote: + /* +* lradc supports only one keypress at a time, release does not give +* any info as to which key was released, so we cache the keycode. +*/ + i

[linux-sunxi] Re: [PATCH v2 07/13] mfd: sun6i-prcm: Add support for the ir-clk

2014-12-18 Thread Lee Jones
On Wed, 17 Dec 2014, Hans de Goede wrote: > Add support for the ir-clk which is part of the sun6i SoC prcm module. > > Signed-off-by: Hans de Goede > --- > drivers/mfd/sun6i-prcm.c | 14 ++ > 1 file changed, 14 insertions(+) Pretty standard stuff ( > diff --git a/drivers/mfd/sun6i