Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/01/2014 08:12 PM, Stephen Warren wrote: On 10/01/2014 11:54 AM, jonsm...@gmail.com wrote: On Wed, Oct 1, 2014 at 1:26 PM, Hans de Goede hdego...@redhat.com wrote: ... We've been over all this again and again and again.

[linux-sunxi] Re: [PATCH] sunxi: Add support for the Mele M3 board

2014-10-02 Thread Ian Campbell
On Wed, 2014-10-01 at 16:23 +0200, Hans de Goede wrote: The Mele M3 is yet another Allwinnner based Android top set box from Mele. It uses a housing similar to the A2000, but without the USM sata storage slot at the top. It features an A20 SoC, 1G RAM, 4G eMMC (unique for Allwinner

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Thierry Reding
On Wed, Oct 01, 2014 at 11:17:23AM -0700, Mike Turquette wrote: On Wed, Oct 1, 2014 at 12:30 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Sep 30, 2014 at 02:37:53PM -0700, Mike Turquette wrote: Quoting Thierry Reding (2014-09-29 06:54:00) On Mon, Sep 29, 2014 at 01:34:36PM

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Thierry Reding
On Wed, Oct 01, 2014 at 06:17:04PM +0100, Mark Brown wrote: On Wed, Oct 01, 2014 at 02:48:53PM +0200, Thierry Reding wrote: On Wed, Oct 01, 2014 at 01:20:08PM +0100, Mark Brown wrote: [...] and that the DT must not contain any hint of simplefb as shipped separately.

Re: [linux-sunxi] Re: gslx680 driver ported to sunxi

2014-10-02 Thread Kristijan Vrban
Hi Joe, it was not necessary to extract the firmware. I just used this fw source: http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/A23/lichee/linux-3.4/drivers/input/touchscreen/gslx680/gsl1680_k70.h Which is working with the Q88 touch panel. We just had issues to solder the gsl1680 manually

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Thierry Reding
On Wed, Oct 01, 2014 at 08:43:27PM +0200, Geert Uytterhoeven wrote: On Wed, Oct 1, 2014 at 7:17 PM, Mark Brown broo...@kernel.org wrote: Well, I don't think it should because it describes the same resources that the device tree node for the real device already describes. But perhaps this is

Re: [linux-sunxi] Re: gslx680 driver ported to sunxi

2014-10-02 Thread Joe Burmeister
Hi Kristijan, OMG, there is the full source already ported to Sunxi! To get it working for GNU/Linux I had to find and port some random SoC GSLx driver over! About the only concrete thing I'd say mine has over this is that mine loads firmware from a separate file. I'll have to do a more

[linux-sunxi] Re: [PATCH v2 0/3] ARM: dts: sun7i: Add Banana Pi board

2014-10-02 Thread Maxime Ripard
On Wed, Oct 01, 2014 at 09:26:03AM +0200, Hans de Goede wrote: Hi Maxime, Here is v2 of the Bananapi board addition. Sorry for taking so long. Changes from v2: -Move uart3_pins definition from a20-sun7i-bananapi.dts to a20-sun7i.dtsi, the addition of the pinctrl node is done in a

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 2:42 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/01/2014 08:12 PM, Stephen Warren wrote: On 10/01/2014 11:54 AM, jonsm...@gmail.com wrote: On Wed, Oct 1, 2014 at 1:26 PM, Hans de Goede hdego...@redhat.com wrote: ... We've been over all this again and again

[linux-sunxi] Re: [PATCH 2/2] ARM: dts: sun7i: Add Mele M3 board

2014-10-02 Thread Maxime Ripard
On Wed, Oct 01, 2014 at 04:25:37PM +0200, Hans de Goede wrote: The Mele M3 is yet another Allwinnner based Android top set box from Mele. It uses a housing similar to the A2000, but without the USM sata storage slot at the top. It features an A20 SoC, 1G RAM, 4G eMMC (unique for Allwinner

[linux-sunxi] Re: [PATCH 1/2] ARM: dts: sun7i: Add mmc2_pins_a pinctrl definition

2014-10-02 Thread Maxime Ripard
On Wed, Oct 01, 2014 at 04:25:36PM +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Queued for 3.19, thanks! -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 2:42 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/01/2014 08:12 PM, Stephen Warren wrote: On 10/01/2014 11:54 AM, jonsm...@gmail.com wrote: On Wed, Oct 1, 2014 at 1:26 PM, Hans de Goede

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 2:42 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/01/2014 08:12 PM, Stephen Warren wrote: On 10/01/2014 11:54 AM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 02:56 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 2:42 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/01/2014 08:12 PM, Stephen

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Michal Suchanek
On 2 October 2014 14:56, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 2:42 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/01/2014

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 9:14 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:56 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 2:42 AM, Hans

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 03:27 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:14 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:56 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 9:23 AM, Michal Suchanek hramr...@gmail.com wrote: On 2 October 2014 14:56, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:22 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 03:34 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:23 AM, Michal Suchanek hramr...@gmail.com wrote: On 2 October 2014 14:56, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 9:33 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:27 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:14 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:56 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 8:39 AM, Hans

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 9:40 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:34 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:23 AM, Michal Suchanek hramr...@gmail.com wrote: On 2 October 2014 14:56, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Geert Uytterhoeven
On Thu, Oct 2, 2014 at 3:34 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: Does the clock and regulator cleanup happen before drivers can load off from initrd? I didn't think it did but I might be wrong. Yes drivers/base/power/domain.c:late_initcall(genpd_poweroff_unused);

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 03:40 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:33 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:27 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:14 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 02:56 PM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 10:08 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:40 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:33 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:27 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:14 AM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Michal Suchanek
On 2 October 2014 15:40, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:33 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:27 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:14 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Maxime Ripard
On Thu, Oct 02, 2014 at 04:08:52PM +0200, Hans de Goede wrote: 2) delay the clock/regulator cleanup until after there is a fixed window for device specific drivers to load in. Loading from initrd is a fixed window. As I already explained by example in another mail, this won't work:

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 04:16 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:08 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:40 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:33 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:27 PM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 04:18 PM, Maxime Ripard wrote: On Thu, Oct 02, 2014 at 04:08:52PM +0200, Hans de Goede wrote: 2) delay the clock/regulator cleanup until after there is a fixed window for device specific drivers to load in. Loading from initrd is a fixed window. As I already explained by

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 10:21 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:16 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:08 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 03:40 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 9:33 AM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:21 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:16 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:08 AM, Hans de Goede hdego...@redhat.com wrote: snip So there are two ways to do

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:21 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:16 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:08 AM,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread jonsm...@gmail.com
On Thu, Oct 2, 2014 at 11:14 AM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:21 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Michal Suchanek
On 2 October 2014 17:30, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 11:14 AM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2,

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Hans de Goede
Hi, On 10/02/2014 05:30 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 11:14 AM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:21

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Stephen Warren
On 10/02/2014 12:42 AM, Hans de Goede wrote: ... The whole reason why we want to use simplefb is not just to get things running until HW specific driver is in place, but also to have early console output (to help debugging boot problems on devices without a serial console), in a world where most

[linux-sunxi] Are there any HDMI-CEC related information for A10/A20 available?

2014-10-02 Thread Christian Ege
During a quick search I had not been able to find any HDMI CEC driver. In the docs available there is only one Register about CEC. I thought about implementation of an driver and libcec support for the A20. Regards, Christian -- You received this message because you are subscribed to the

[linux-sunxi] Re: New board: Merrii M2 (A20)

2014-10-02 Thread Fabiano Kist
Hi Harry, For me, work this: rmmod sunxi_gmac.ko http://sunxi_emac.ko/ and insmod sunxi_emac.ko Regards, Fabiano. Em quarta-feira, 10 de setembro de 2014 06h20min42s UTC-3, harry escreveu: Hi Antonio, are you able to get the SATA and ETHERNET working on this board?? can you please

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Geert Uytterhoeven
On Thu, Oct 2, 2014 at 2:22 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: 1) temporary early boot console -- this is nothing but an address in RAM and the x/y layout. The character set from framebuffer is built into the kernel. The parallel to this is early-printk and how it uses the UARTs

Re: [linux-sunxi] Are there any HDMI-CEC related information for A10/A20 available?

2014-10-02 Thread jonsm...@gmail.com
I On Thu, Oct 2, 2014 at 1:19 PM, Christian Ege k423...@gmail.com wrote: During a quick search I had not been able to find any HDMI CEC driver. In the docs available there is only one Register about CEC. I thought about implementation of an driver and libcec support for the A20. I believe

Re: [linux-sunxi] Are there any HDMI-CEC related information for A10/A20 available?

2014-10-02 Thread Vladimir Komendantskiy
I'm working on a generic bit-banging CEC kernel driver for A10s/A20. Those have only one pin exposed. All control and timing is done in software according to the CEC addendum in the HDMI 1.4 specification. This is unlike in NVidia Tegra for example which has a proper hardware CEC controller.

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-10-02 Thread Julian Calaby
Hi, On Fri, Oct 3, 2014 at 1:14 AM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 10/02/2014 04:41 PM, jonsm...@gmail.com wrote: On Thu, Oct 2, 2014 at 10:21 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On