Re: [linux-sunxi] Q88 tablet with broken screen

2015-10-16 Thread Chen-Yu Tsai
On Fri, Oct 16, 2015 at 2:52 PM, Hans de Goede wrote: > Hi, > > On 15-10-15 16:58, Benjamin Henrion wrote: >> >> Hi, >> >> I got Q88 tablet with a broken screen from the flea market for 4EUR. >> >> Soldered the pins on the back for the serial port, got the console >> working

[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board

2015-10-16 Thread Maxime Ripard
Hi, On Mon, Oct 12, 2015 at 05:42:10PM +0800, Chen-Yu Tsai wrote: > On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripard > wrote: > > Hi, > > > > On Sat, Oct 10, 2015 at 10:49:00PM +0800, Chen-Yu Tsai wrote: > >> + { > >> + /* Available on camera header */ > >> +

Re: [linux-sunxi] Q88 tablet with broken screen

2015-10-16 Thread Hans de Goede
Hi, On 16-10-15 08:55, Chen-Yu Tsai wrote: The glue might not be that strong. I successfully replaced the LCD in my A13 tablet. That is good to hear. It's best to use a knife to cut through the glue, and not just pry it off. That is not without risks though, I tried that the second time

[linux-sunxi] Re: [PATCH v2 1/2] pinctrl: sunxi: Fix irq_of_xlate for the r_pio pinctrl block

2015-10-16 Thread Chen-Yu Tsai
On Fri, Oct 16, 2015 at 3:46 PM, Hans de Goede wrote: > The r_pio gpio / pin controller has a pin_base of non 0, we need to > adjust for this before calling sunxi_pinctrl_desc_find_function_by_pin. > > Signed-off-by: Hans de Goede Acked-by: Chen-Yu Tsai

[linux-sunxi] Re: [PATCH v2 2/2] pinctrl: sunxi: Add irq pinmuxing to sun6i "r" pincontroller

2015-10-16 Thread Chen-Yu Tsai
On Fri, Oct 16, 2015 at 3:46 PM, Hans de Goede wrote: > Add pinmuxing for external interrupt functionality through the > sun6i "r" pincontroller. > > Signed-off-by: Hans de Goede Acked-by: Chen-Yu Tsai Thanks! > --- > Changes in v2: >

[linux-sunxi] Re: [PATCH 5/6] ARM: dts: sun8i: Add NMI interrupt controller node

2015-10-16 Thread Maxime Ripard
On Thu, Oct 15, 2015 at 12:32:21AM +0800, Chen-Yu Tsai wrote: > The NMI interrupt controller is in charge of the NMI pin exposed by > the SoC to the PMIC. The PMIC signals interrupts through this. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free

Re: [linux-sunxi] Q88 tablet with broken screen

2015-10-16 Thread Hans de Goede
Hi, On 15-10-15 16:58, Benjamin Henrion wrote: Hi, I got Q88 tablet with a broken screen from the flea market for 4EUR. Soldered the pins on the back for the serial port, got the console working by powering the device from the USB port AND from the 5V DC with a Nokia plug: Hi I've bought a

Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag

2015-10-16 Thread Boris Brezillon
Hi Julian, On Fri, 16 Oct 2015 09:32:38 +1100 Julian Calaby wrote: > Hi Boris, > > On Fri, Oct 16, 2015 at 4:17 AM, Boris Brezillon > wrote: > > Some MLC NANDs are sensible to repeated patterns and require data to be > > Do you

[linux-sunxi] Re: [PATCH 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-10-16 Thread Maxime Ripard
On Thu, Oct 15, 2015 at 12:32:19AM +0800, Chen-Yu Tsai wrote: > The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. > It is functionally identical to AXP221; only the regulator default > voltage/status and the external host interface are different. > > Signed-off-by: Chen-Yu

[linux-sunxi] [PATCH v2 2/2] pinctrl: sunxi: Add irq pinmuxing to sun6i "r" pincontroller

2015-10-16 Thread Hans de Goede
Add pinmuxing for external interrupt functionality through the sun6i "r" pincontroller. Signed-off-by: Hans de Goede --- Changes in v2: -Fix compile error introduced by last minute changes before sending out the patch (note to self: always do a recompile in such a case) ---

[linux-sunxi] [PATCH v2 0/2] pinctrl: sunxi: r_pio irq fixes

2015-10-16 Thread Hans de Goede
Hi All, Here is a v2 of this patch-set which actually compiles (problem with the second patch in v1). After testing that everything worked I extended the irq mapping to not just cover PL5 (the pin I actually tested with) but also all the other pins which have an irq function. I botched up the

[linux-sunxi] [PATCH v2 1/2] pinctrl: sunxi: Fix irq_of_xlate for the r_pio pinctrl block

2015-10-16 Thread Hans de Goede
The r_pio gpio / pin controller has a pin_base of non 0, we need to adjust for this before calling sunxi_pinctrl_desc_find_function_by_pin. Signed-off-by: Hans de Goede --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag

2015-10-16 Thread Boris Brezillon
On Fri, 16 Oct 2015 08:28:54 +0200 Boris Brezillon wrote: > Hi Julian, > > On Fri, 16 Oct 2015 09:32:38 +1100 > Julian Calaby wrote: > > > Hi Boris, > > > > On Fri, Oct 16, 2015 at 4:17 AM, Boris Brezillon > >

Re: [linux-sunxi] Re: [PATCH 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-10-16 Thread Chen-Yu Tsai
On Fri, Oct 16, 2015 at 2:41 PM, Maxime Ripard wrote: > On Thu, Oct 15, 2015 at 12:32:19AM +0800, Chen-Yu Tsai wrote: >> The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. >> It is functionally identical to AXP221; only the regulator default >>

Re: [linux-sunxi] [PATCH sunxi-tools 0/3] Add sunxi- prefixes to tools, and add an install target

2015-10-16 Thread Siarhei Siamashka
On Wed, 14 Oct 2015 21:09:49 +0100 Ian Campbell wrote: > As discussed in > https://groups.google.com/forum/#!topic/linux-sunxi/skn-959DYHU and > specifically > https://groups.google.com/d/msg/linux-sunxi/skn-959DYHU/w6YGlnfbAwAJ he > re are some patches to add a sunxi-

Re: [linux-sunxi] [PATCH sunxi-tools 2/3] Makefile: Split out target tools rules

2015-10-16 Thread Siarhei Siamashka
On Wed, 14 Oct 2015 21:10:07 +0100 Ian Campbell wrote: > Target tools are those which are only useful on a target sunxi system (i.e. > which probe hardware etc). > > Currently this is only sunxi-pio. At first I thought sunxi-nand-part might be > included, but I think that

[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun6i: Add support for Sinlinx A31s SDK board

2015-10-16 Thread Chen-Yu Tsai
On Fri, Oct 16, 2015 at 3:20 PM, Maxime Ripard wrote: > Hi, > > On Mon, Oct 12, 2015 at 05:42:10PM +0800, Chen-Yu Tsai wrote: >> On Mon, Oct 12, 2015 at 5:30 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Sat, Oct 10, 2015 at

Re: [linux-sunxi] [PATCH] dts: sun6i: yones toptech bs1078 v2: Add AXP221 support to dts

2015-10-16 Thread Chen-Yu Tsai
Hi, On Fri, Oct 9, 2015 at 1:06 PM, Lawrence Yu wrote: > From: lyu > > Enable the axp221 PMIC chip in the dts file. > Allows board to power off correctly from the poweroff command > > Tested on Contixo Q102 Tablet which uses the yones toptech bs1078 v2 pcb. >

[linux-sunxi] Re: [PATCH 3/3] mtd: nand: sunxi: add randomizer support

2015-10-16 Thread Boris Brezillon
On Thu, 15 Oct 2015 19:17:23 +0200 Boris Brezillon wrote: > Add support for the randomizer engine available in Allwinner's NFC IP. > > Randomization is useful to support modern NAND chips which are sensible to > repeated patterns. On such NANDs you might

[linux-sunxi] Re: [PATCH v2 1/2] pinctrl: sunxi: Fix irq_of_xlate for the r_pio pinctrl block

2015-10-16 Thread Maxime Ripard
On Fri, Oct 16, 2015 at 09:46:11AM +0200, Hans de Goede wrote: > The r_pio gpio / pin controller has a pin_base of non 0, we need to > adjust for this before calling sunxi_pinctrl_desc_find_function_by_pin. > > Signed-off-by: Hans de Goede Acked-by: Maxime Ripard

[linux-sunxi] Re: [PATCH v2 2/2] pinctrl: sunxi: Add irq pinmuxing to sun6i "r" pincontroller

2015-10-16 Thread Maxime Ripard
On Fri, Oct 16, 2015 at 09:46:12AM +0200, Hans de Goede wrote: > Add pinmuxing for external interrupt functionality through the > sun6i "r" pincontroller. > > Signed-off-by: Hans de Goede Acked-by: Maxime Ripard Thanks! Maxime -- Maxime