[linux-sunxi] Re: Stability Issues with A33 & Mainline

2015-12-08 Thread Maxime Ripard
Hi, On Tue, Dec 01, 2015 at 10:11:51PM +0800, wens Tsai wrote: > Hi, > > I'm having some weird stability issues with my SinA33. > > After idling a while (a few hours ~ a day) it becomes non-responsive > and just keeps outputting the same message: > > [53418.712180] Task dump for CPU 0: >

Re: [linux-sunxi] [PATCH 01/23] mtd: kill the ecclayout->oobavail field

2015-12-08 Thread Boris Brezillon
Hi Priit, On Tue, 08 Dec 2015 08:43:05 +0200 Priit Laes wrote: > On Mon, 2015-12-07 at 23:25 +0100, Boris Brezillon wrote: > > ecclayout->oobavail is just redundant with the mtd->oobavail field. > > Moreover, it prevents static const definition of ecc layouts since > > the > >

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Maxime Ripard
On Fri, Dec 04, 2015 at 10:24:42PM +0100, Jens Kuske wrote: > The Allwinner H3 is a home entertainment system oriented SoC with > four Cortex-A7 cores and a Mali-400MP2 GPU. > > Signed-off-by: Jens Kuske Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded

[linux-sunxi] Re: [PATCH v5 1/4] clk: sunxi: Add H3 clocks support

2015-12-08 Thread Maxime Ripard
Hi Jens, On Fri, Dec 04, 2015 at 10:24:40PM +0100, Jens Kuske wrote: > The H3 clock control unit is similar to the those of other sun8i family > members like the A23. > > It adds a new bus gates clock similar to the simple gates, but with a > different parent clock for each single gate. > Some

[linux-sunxi] Re: [PATCH 09/23] mtd: nand: vf610: remove useless mtd->ecclayout assignment

2015-12-08 Thread Stefan Agner
On 2015-12-07 14:26, Boris Brezillon wrote: > The NAND core layer is already taking care of ecclayout propagation. Remove > this useless assignment. Thx! I see, nand_scan_tail takes care of that... Acked-by: Stefan Agner > > Signed-off-by: Boris Brezillon

[linux-sunxi] Re: [PATCH v2 18/25] cris: nand: remove useless mtd->priv = chip assignments

2015-12-08 Thread Jesper Nilsson
On Tue, Dec 01, 2015 at 12:03:15PM +0100, Boris Brezillon wrote: > mtd_to_nand() now uses the container_of() approach to transform an > mtd_info pointer into a nand_chip one. Drop useless mtd->priv > assignments from NAND controller drivers. > > Signed-off-by: Boris Brezillon

[linux-sunxi] Re: [PATCH] clk: sunxi: Extend the simple gates and handle the Allwinner H3

2015-12-08 Thread Jean-Francois Moine
On Tue, 8 Dec 2015 08:53:54 +0100 Maxime Ripard wrote: > Look, we all agreed on a solution that raised all objections, but > yours. > > I'm going to take Jens patch. OK. Good luck for the next SoCs! -- Ken ar c'hentañ | ** Breizh ha Linux atav!

Re: [linux-sunxi] [PATCH 21/23] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2015-12-08 Thread Boris Brezillon
Hi Julian, On Tue, 8 Dec 2015 10:59:53 +1100 Julian Calaby wrote: > Hi Boris, > > On Tue, Dec 8, 2015 at 9:26 AM, Boris Brezillon > wrote: > > Signed-off-by: Boris Brezillon > > --- > >

[linux-sunxi] Re: [PATCH v5 4/4] ARM: dts: sun8i: Add Orange Pi Plus support

2015-12-08 Thread Maxime Ripard
On Fri, Dec 04, 2015 at 10:24:43PM +0100, Jens Kuske wrote: > The Orange Pi Plus is a SBC based on the Allwinner H3 SoC > with 8GB eMMC, multiple USB ports through a USB hub chip, SATA through > a USB-SATA bridge, one uSD slot, a 10/100/1000M ethernet port, > WiFi, HDMI, headphone jack, IR

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Maxime Ripard
On Tue, Dec 08, 2015 at 09:06:58AM +0100, Jean-Francois Moine wrote: > On Mon, 7 Dec 2015 19:44:30 +0100 > Jens Kuske wrote: > > > >> + "bus_lcd0", "bus_lcd1", > > >> "bus_deint", > > > > > "bus_tcon0", "bus_tcon1",

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Jean-Francois Moine
On Mon, 7 Dec 2015 19:44:30 +0100 Jens Kuske wrote: > >> + "bus_lcd0", "bus_lcd1", > >> "bus_deint", > > > "bus_tcon0", "bus_tcon1", "bus_deint", > > > > (the tcon1 clock is used by both lcd0 and lcd1, while > > the tcon0 clock

[linux-sunxi] Re: [PATCH v5 3/4] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-12-08 Thread Jean-Francois Moine
On Tue, 8 Dec 2015 09:32:24 +0100 Maxime Ripard wrote: > If the H3 display block is done the same way than the A10 (and later) > one on this aspect, then the TCON has two channels with two different > streaming (or functional, you pick the name) clocks. The

[linux-sunxi] Re: Need some help to configure ft5x on an A13 tablet.

2015-12-08 Thread l_faillie via linux-sunxi
Hello, Removing IRQF_TRIGGER_FALLING did help :( Can someone tell me how to move ahead ? Thanks Laurent -- 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 an email to

[linux-sunxi] Re: [PATCH v2 15/25] cris: nand: use the mtd instance embedded in struct nand_chip

2015-12-08 Thread Jesper Nilsson
On Tue, Dec 01, 2015 at 12:03:12PM +0100, Boris Brezillon wrote: > struct nand_chip now embeds an mtd device. Patch all drivers to make use > of this mtd instance instead of using the instance embedded in their > private struct or dynamically allocated. > > Signed-off-by: Boris Brezillon

[linux-sunxi] Re: [PATCH 19/23] mtd: nand: switch all drivers to mtd_ooblayout_ops

2015-12-08 Thread Ralf Baechle
On Mon, Dec 07, 2015 at 11:26:14PM +0100, Boris Brezillon wrote: Looking good, Acked-by: Ralf Baechle Ralf -- 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

[linux-sunxi] Re: [PATCH resend 4/6] ARM: dts: sun4i: Add VE (Video Engine) module clock node

2015-12-08 Thread Maxime Ripard
On Sat, Dec 05, 2015 at 09:16:45PM +0800, Chen-Yu Tsai wrote: > The video engine has its own module clock, which also includes a > reset control for it. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

[linux-sunxi] Re: [PATCH resend 6/6] ARM: dts: sun7i: Add VE (Video Engine) module clock node

2015-12-08 Thread Maxime Ripard
On Sat, Dec 05, 2015 at 09:16:47PM +0800, Chen-Yu Tsai wrote: > The video engine has its own module clock, which also includes a > reset control for it. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

Re: [linux-sunxi] [PATCH v4] sun4i-codec: add inputs

2015-12-08 Thread Danny Milosavljevic
Hi Maxime, On Tue, 8 Dec 2015 10:09:50 +0100 Maxime Ripard wrote: > > Now I added an ugly hack to make Mic Gain work on A10 as well - but I don't > > have > > A10 hardware. Let's see what they say. > > That I really prefer having nothing over an "ugly hack"

[linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread Stefan Monnier
> Can you give advice on how to approach this? Is it at all possible to do > rotation with the CedarX driver? I'd recommend you try it with the libvdpau-sunxi since it's at least a code base that is amenable to improvements. Stefan -- You received this message because you are

[linux-sunxi] Re: [PATCH 0/2] input: Driver for Goodix GT801 2+1 touchscreen

2015-12-08 Thread Bastien Nocera
On Mon, 2015-12-07 at 09:25 +0200, Priit Laes wrote: > This series adds support for Goodix GT801 2+1 touchscreen controller > and hooks it up on Gemei G9 tablet. > > Now about GT801 2+1 - I initially tried to implement this inside the > existing Goodix driver, but unfortunately there are too many

[linux-sunxi] Re: [PATCH resend 2/6] clk: sunxi: Add VE (Video Engine) module clock driver for sun[457]i

2015-12-08 Thread Maxime Ripard
Hi, On Sat, Dec 05, 2015 at 09:16:43PM +0800, Chen-Yu Tsai wrote: > The video engine has its own special module clock, consisting of a clock > gate, configurable dividers, and a reset control. > > On later (sun[68]i) families, the reset control is moved out of this > piece of hardware and

[linux-sunxi] Re: [PATCH 2/2] input: gt801_2plus1 - Add initial support for Goodix GT801 2+1

2015-12-08 Thread Bastien Nocera
Hey Priit, On Mon, 2015-12-07 at 09:26 +0200, Priit Laes wrote: > This patch adds Goodix GT801 2+1 touchscreen controller support. > > GT801 2+1 is a 10-finger touch controller consisting of > ARM controller interfacing two GT801 5-finger controllers. This would implement support for the

[linux-sunxi] Re: [PATCH 05/23] mtd: nand: jz4770: kill the ->ecc_layout field

2015-12-08 Thread Boris Brezillon
On Tue, 8 Dec 2015 10:30:40 + Harvey Hunt wrote: > Hi Boris, > > On 07/12/15 22:26, Boris Brezillon wrote: > > ->ecc_layout is not used by any board file. Kill this field to avoid any > > confusion. New boards are encouraged to use the default ECC layout defined > >

[linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread András Ács
Thanks! It's actually the libvdpau-sunxi, I got confused by the naming (the libvdpau-sunxi github page links to https://linux-sunxi.org/Cedrus which refers to CedarX) On Tuesday, December 8, 2015 at 2:16:17 PM UTC+1, Stefan Monnier wrote: > > > Can you give advice on how to approach this? Is it

Re: [linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread Andreas Baierl
If you refer to libvdpau-sunxi, rotating is not implemented atm. -> https://github.com/linux-sunxi/libvdpau-sunxi/blob/master/rgba.c#L189 Regards Andreas Am 08.12.2015 um 15:02 schrieb András Ács: Thanks! It's actually the libvdpau-sunxi, I got confused by the naming (the libvdpau-sunxi

[linux-sunxi] Re: [PATCH 2/2] input: gt801_2plus1 - Add initial support for Goodix GT801 2+1

2015-12-08 Thread Rob Herring
On Mon, Dec 07, 2015 at 09:26:01AM +0200, Priit Laes wrote: > This patch adds Goodix GT801 2+1 touchscreen controller support. > > GT801 2+1 is a 10-finger touch controller consisting of > ARM controller interfacing two GT801 5-finger controllers. > > Signed-off-by: Priit Laes

Re: [linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread Jens Kuske
On 08/12/15 15:02, András Ács wrote: > Thanks! > It's actually the libvdpau-sunxi, I got confused by the naming (the > libvdpau-sunxi github page links to https://linux-sunxi.org/Cedrus which > refers to CedarX) Hi, the video engine is able to rotate the video while decoding, but its not

Re: [linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread Andreas Baierl
Am 08.12.2015 um 16:02 schrieb Jens Kuske: On 08/12/15 15:02, András Ács wrote: Thanks! It's actually the libvdpau-sunxi, I got confused by the naming (the libvdpau-sunxi github page links to https://linux-sunxi.org/Cedrus which refers to CedarX) Hi, the video engine is able to rotate the

Re: [linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread András Ács
That's definite. Bummer. Pre-rotation it is, then. Thank you all! Regards, Andras On Tuesday, December 8, 2015 at 4:03:02 PM UTC+1, Jens Kuske wrote: > > On 08/12/15 15:02, András Ács wrote: > > Thanks! > > It's actually the libvdpau-sunxi, I got confused by the naming (the > >

[linux-sunxi][PATCH 2/2] ARM: dts: sun7i: Add audio codec to Itead Ibox

2015-12-08 Thread codekipper
From: Marcus Cooper Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-itead-ibox.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-itead-ibox.dts b/arch/arm/boot/dts/sun7i-a20-itead-ibox.dts index

[linux-sunxi][PATCH 1/2] ARM: dts: sun7i: Add Itead Ibox support

2015-12-08 Thread codekipper
From: Marcus Cooper The Itead Ibox is a multi board device based on the Allwinner A20 SoC. It contains the A20 Itead Core module and a base board for the external interfaces. The core module comes with 4GB NAND and 1GB DDR RAM. The base board to which the core board is

[linux-sunxi][PATCH 0/2] ARM: dts: sun4i: mk802 variant patches

2015-12-08 Thread codekipper
From: Marcus Cooper This patch series splits the mk802 dts into common include file which can be shared with the mk802+ device. The only difference that I can see between this and the original device is that it has an internal microphone. With that in mind we can either

[linux-sunxi][PATCH 1/2] ARM: dts: sun4i: Create common dtsi for mk802

2015-12-08 Thread codekipper
From: Marcus Cooper There are a few variants of the mk802 boards. This commit adds a dtsi for the mk802 and modifies the original dts to reference it. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun4i-a10-mk802.dts | 64 +--

[linux-sunxi] [PATCH RFC 2/2] ARM: dts: sun7i: Olimex A20-SOM-EVB: Enable mmc3 (baseboard SD socket)

2015-12-08 Thread Karsten Merker
The Olimex A20-SOM-EVB is an evaluation board for the Olimex A20-SOM system-on-module. The baseboard provides a full-size SD socket (connected to mmc3) in addition to the micro-SD socket on the SOM itself (which is connected to mmc0). Enable the mmc3 controller in the dts. Signed-off-by: Karsten

Re: [linux-sunxi][PATCH 2/2] ARM: dts: sun4i: Add rikomagic mk802+ board

2015-12-08 Thread Julian Calaby
Hi Marcus, On Wed, Dec 9, 2015 at 5:48 AM, wrote: > From: Marcus Cooper > > The Rikomagic mk802+ is an Allwinner A10 based hdmi tv-stick, it features > 1G RAM, 4G nand, a mini-hdmi female connector, USB-A receptacle, mini-usb > receptacle (OTG),

Re: [linux-sunxi] Re: Rotated video playback on A20

2015-12-08 Thread Stefan Monnier
> the video engine is able to rotate the video while decoding, but its not > possible to export this feature with vdpau. > vdpau doesn't provide the information that it needs a rotated video at > decoding time, but only later at render time. You would have to look > into the future to do rotate at

[linux-sunxi] Re: [PATCH v3 bis 12/25] mtd: nand: use the mtd instance embedded in struct nand_chip

2015-12-08 Thread Brian Norris
Hi Boris, On Wed, Dec 02, 2015 at 09:50:01AM +0100, Boris Brezillon wrote: > struct nand_chip now embeds an mtd device. Patch all drivers to make use > of this mtd instance instead of using the instance embedded in their > private struct or dynamically allocated. > > Signed-off-by: Boris

[linux-sunxi] Re: Stability Issues with A33 & Mainline

2015-12-08 Thread wens Tsai
On Tue, Dec 8, 2015 at 4:01 PM, Maxime Ripard wrote: > Hi, > > On Tue, Dec 01, 2015 at 10:11:51PM +0800, wens Tsai wrote: >> Hi, >> >> I'm having some weird stability issues with my SinA33. >> >> After idling a while (a few hours ~ a day) it becomes

Re: [linux-sunxi][PATCH 2/2] ARM: dts: sun4i: Add rikomagic mk802+ board

2015-12-08 Thread Code Kipper
> > Are there any differences between the Rikomagic and the generic MK802? Hi Julian, In the covering letter I mention this https://groups.google.com/d/msg/linux-sunxi/Az9Dy6tPfqQ/ZMYwKWznAAAJ and also that we could always use the original mk802 dts for the differences. BR, CK > > You could

[linux-sunxi] [PATCH sunxi-boards 3/3] h3: Update cpufreq and cooling state tables on Orange Pi PC

2015-12-08 Thread Siarhei Siamashka
The current FEX file does not allow the CPU frequencies higher than 1.2GHz and also sets the VDD_CPUX voltage to 1.3V (the cooling states table overrides the questionable 1536MHz @1.5V cpufreq operating point). The comments in FEX files from H3 SDK sources are describing the cpufreq operating

[linux-sunxi] [PATCH sunxi-boards 1/3] h3: Add fex file for Orange Pi PC

2015-12-08 Thread Siarhei Siamashka
Extracted from the Lubuntu_1404_For_OrangePiPC_v0_8_0_.img.xz image: http://www.orangepi.org/downloadresources/orangepipc/oragepipc_4a0e8d960f7f0a52606dfaba58.html Not necessarily the best one, but at least it comes from the board manufacturer and may be used as a starting point for further

[linux-sunxi] [PATCH sunxi-boards 2/3] h3: Make LEDs available in /sys/class/leds on Orange Pi PC

2015-12-08 Thread Siarhei Siamashka
This patch makes both red and green LEDs available in /sys/class/leds instead of probably having them reserved for some special purposes (such as a standby mode indicator?). Being able to control the state of LEDs from applications and scripts is quite useful. Signed-off-by: Siarhei Siamashka