[linux-sunxi] [PATCH 3.4] sunxi: Calculate PLL5P clock divisors for G2D, ACE and DEBE

2014-10-03 Thread Siarhei Siamashka
When PLL5P is used as a parent clock for some of the peripherals, the current code just selects some hardcoded divisors. This happens to work, but only under assumption that the PLL5P clock speed is somewhere between 360MHz and 480MHz (the typical DRAM clock speeds). However with some tweaks for t

[linux-sunxi] [PATCH 3.4] sunxi: axp209: Protect dcdc3 voltage from modification

2014-10-03 Thread Siarhei Siamashka
The dcdc3 voltage is expected to be set by the bootloader and the right voltage depends on the DRAM settings (higher clock speed needs more voltage). Allowing to use the 'dcdc3_vol' parameter from the FEX file only introduces an unnecessary fragile dependency between the settings in u-boot and the

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread jonsm...@gmail.com
On Fri, Oct 3, 2014 at 4:08 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 12:34 PM, Hans de Goede wrote: >> Hi, >> >> On 10/03/2014 05:57 PM, Rob Herring wrote: >>> On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: A simple-framebuffer node represents a framebuffer setup by the firmwar

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread jonsm...@gmail.com
On Fri, Oct 3, 2014 at 5:26 PM, Geert Uytterhoeven wrote: > On Fri, Oct 3, 2014 at 10:55 PM, jonsm...@gmail.com > wrote: >> On Thu, Oct 2, 2014 at 9:46 AM, Geert Uytterhoeven >> wrote: >>> On Thu, Oct 2, 2014 at 3:34 PM, jonsm...@gmail.com >>> wrote: Does the clock and regulator cleanup

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Geert Uytterhoeven
On Fri, Oct 3, 2014 at 10:55 PM, jonsm...@gmail.com wrote: > On Thu, Oct 2, 2014 at 9:46 AM, Geert Uytterhoeven > wrote: >> On Thu, Oct 2, 2014 at 3:34 PM, jonsm...@gmail.com >> wrote: >>> Does the clock and regulator cleanup happen before drivers can load >>> off from initrd? I didn't think i

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread jonsm...@gmail.com
On Fri, Oct 3, 2014 at 4:08 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 12:34 PM, Hans de Goede wrote: >> Hi, >> >> On 10/03/2014 05:57 PM, Rob Herring wrote: >>> On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: A simple-framebuffer node represents a framebuffer setup by the firmwar

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Rob Herring
On Fri, Oct 3, 2014 at 12:34 PM, Hans de Goede wrote: > Hi, > > On 10/03/2014 05:57 PM, Rob Herring wrote: >> On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: >>> A simple-framebuffer node represents a framebuffer setup by the firmware / >>> bootloader. Such a framebuffer may have a number of

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Ian Campbell
On Fri, 2014-10-03 at 21:06 +0800, Chen-Yu Tsai wrote: > On Fri, Oct 3, 2014 at 8:47 PM, Ian Campbell wrote: > > On Fri, 2014-10-03 at 14:37 +0200, Maxime Ripard wrote: > >> On Fri, Oct 03, 2014 at 08:16:30PM +0800, Chen-Yu Tsai wrote: > >> > The Colombus board is an A31 evaluation board from WITS

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

2014-10-03 Thread Christian Ege
Hi, Am 03.10.2014 um 09:56 schrieb Vladimir Komendantskiy: The Allwinner SoCs that have an HDMI pin, also have a memory-mapped HDMI-CEC register located at HDMI base 0xf1c16000 plus the offset 0x214. This register provides the following bits #define CEC_RX 0x0100 /* phys. line value, eith

[linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Hans de Goede
Hi, On 10/03/2014 06:19 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 11:04 AM, Geert Uytterhoeven > wrote: >> Hi Rob, >> >> On Fri, Oct 3, 2014 at 5:57 PM, Rob Herring wrote: >>> On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: A simple-framebuffer node represents a framebuffer setu

Re: [linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Hans de Goede
Hi, On 10/03/2014 05:57 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: >> A simple-framebuffer node represents a framebuffer setup by the firmware / >> bootloader. Such a framebuffer may have a number of clocks in use, add a >> property to communicate this to the OS

[linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Rob Herring
On Fri, Oct 3, 2014 at 11:04 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Fri, Oct 3, 2014 at 5:57 PM, Rob Herring wrote: >> On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: >>> A simple-framebuffer node represents a framebuffer setup by the firmware / >>> bootloader. Such a framebuffer ma

[linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Geert Uytterhoeven
Hi Rob, On Fri, Oct 3, 2014 at 5:57 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: >> A simple-framebuffer node represents a framebuffer setup by the firmware / >> bootloader. Such a framebuffer may have a number of clocks in use, add a >> property to communicate t

[linux-sunxi] Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Rob Herring
On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede wrote: > A simple-framebuffer node represents a framebuffer setup by the firmware / > bootloader. Such a framebuffer may have a number of clocks in use, add a > property to communicate this to the OS. > > Signed-off-by: Hans de Goede > Reviewed-by: Mi

[linux-sunxi] [PATCH 0/6] sunxi: Add second sdcard slot support, including eMMC boot

2014-10-03 Thread Hans de Goede
Hi Ian, et al, Here is a patch-set adding support for the second sdcard slot found on some sunxi devices. This includes support for eMMC-s connected to sdc2 (so that they are bootable), as found on e.g. the Mele-M3. For the eMMC case this set also adds support to detect what device we're actually

[linux-sunxi] [PATCH 1/6] sunxi: Add sunxi_gpio_get_val function

2014-10-03 Thread Hans de Goede
Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/pinmux.c | 13 + arch/arm/include/asm/arch-sunxi/gpio.h | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/pinmux.c b/arch/arm/cpu/armv7/sunxi/pinmux.c index 1f2843f..a3e5bfc 100644 --- a/arc

[linux-sunxi] [PATCH 3/6] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option

2014-10-03 Thread Hans de Goede
Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL check is not necessary with Kconfig, because only options explicitly marked as also being for the SPL get set during SPL builds. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 8 board/sunxi/board.c | 2 +

[linux-sunxi] [PATCH 4/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting

2014-10-03 Thread Hans de Goede
sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're booting, and make that one "mmc dev 0" so that a single u-boot binary can be used for both the onboard eMMC and for external sdcards. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/mmc.h | 2 +- board/sun

[linux-sunxi] [PATCH 5/6] sunxi: Use PG3 - PG8 as io-pins for mmc1

2014-10-03 Thread Hans de Goede
None of the known sunxi devices actually use mmc1 routed through PH, where as some devices do actually use mmc1 routed through PG, so change the routing of mmc1 to PG. If in the future we encounter devices with mmc1 routed through PH, we will need to change things to be a bit more flexible. Signed

[linux-sunxi] [PATCH 2/6] sunxi: Add mmc card-detect functionality

2014-10-03 Thread Hans de Goede
Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 27 +++ drivers/mmc/sunxi_mmc.c | 20 2 files changed, 47 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 622f7b4..72d6dfa 100644 --- a/board/sunxi/Kconfig +++ b/boa

[linux-sunxi] [PATCH 6/6] sunxi: Enable second sdcard slot found on some boards

2014-10-03 Thread Hans de Goede
Enable the second sdcard slot found on some boards. Note that we do not set CONFIG_MMC_SUNXI_SLOT_EXTRA for the SPL, as having it there is not useful, Except for on the Mele-M3 where the second sdcard is an eMMC, from which the device can also boot, and there we want to have both in the SPL, so th

[linux-sunxi] [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Hans de Goede
A simple-framebuffer node represents a framebuffer setup by the firmware / bootloader. Such a framebuffer may have a number of clocks in use, add a property to communicate this to the OS. Signed-off-by: Hans de Goede Reviewed-by: Mike Turquette -- Changes in v2: -Added Reviewed-by: Mike Turquet

[linux-sunxi] Re: [PATCH v2 2/5] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Hans de Goede
Hi, On 10/03/2014 03:20 PM, Rob Herring wrote: > On Fri, Oct 3, 2014 at 6:52 AM, Hans de Goede wrote: >> A simple-framebuffer node represents a framebuffer setup by the firmware / >> bootloader. Such a framebuffer may have a number of clocks in use, add a >> property to communicate this to the OS

[linux-sunxi] Re: [Patch RFC] mfd: AXP20x: add power_supply driver

2014-10-03 Thread Bruno Prémont
Hello, On Fri, 3 Oct 2014 04:55:22 -0700 (PDT) Markus Rathgeb wrote: > Thank you for your work! > > Is there a git repository the changes could be found (to simplify merging / > cherry-picking)? > Is there some progress to get that mainline? I've been waiting for some feed-back from sunxi commu

[linux-sunxi] Re: [PATCH v2 2/5] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Rob Herring
On Fri, Oct 3, 2014 at 6:52 AM, Hans de Goede wrote: > A simple-framebuffer node represents a framebuffer setup by the firmware / > bootloader. Such a framebuffer may have a number of clocks in use, add a > property to communicate this to the OS. > > Signed-off-by: Hans de Goede > Reviewed-by: Mi

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Chen-Yu Tsai
On Fri, Oct 3, 2014 at 8:47 PM, Ian Campbell wrote: > On Fri, 2014-10-03 at 14:37 +0200, Maxime Ripard wrote: >> On Fri, Oct 03, 2014 at 08:16:30PM +0800, Chen-Yu Tsai wrote: >> > The Colombus board is an A31 evaluation board from WITS Technology. >> > >> > Maxime has kindly agreed to maintain thi

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

2014-10-03 Thread Tomi Valkeinen
On 03/10/14 14:16, Hans de Goede wrote: >>> You indicate that you don't have the time for this discussion, and I note >>> that >>> there is no MAINTAINERS entry for drivers/video/fbdev/simplefb.c . So how >>> about >>> the following, I pick up drivers/video/fbdev/simplefb.c maintainership, >>>

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Ian Campbell
On Fri, 2014-10-03 at 14:37 +0200, Maxime Ripard wrote: > On Fri, Oct 03, 2014 at 08:16:30PM +0800, Chen-Yu Tsai wrote: > > The Colombus board is an A31 evaluation board from WITS Technology. > > > > Maxime has kindly agreed to maintain this board. > > > > [1] http://lists.denx.de/pipermail/u-boo

[linux-sunxi] Re: [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Maxime Ripard
On Fri, Oct 03, 2014 at 08:16:30PM +0800, Chen-Yu Tsai wrote: > The Colombus board is an A31 evaluation board from WITS Technology. > > Maxime has kindly agreed to maintain this board. > > [1] http://lists.denx.de/pipermail/u-boot/2014-September/190043.html > > Signed-off-by: Chen-Yu Tsai > Cc:

[linux-sunxi] [PATCH v3 00/10] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-10-03 Thread Chen-Yu Tsai
Hi everyone, This is v3 of the A31 support series. This series add basic (UART and MMC) support for Allwinner's A31 SoC. The patches, excluding the first one, were cherry-picked from u-boot-sunxi. Due to the difference between u-boot mainline and u-boot-sunxi, some patches were rearranged or squas

[linux-sunxi] [PATCH v3 01/10] ARM: sunxi: Use macro values for setting UART GPIO pull-ups

2014-10-03 Thread Chen-Yu Tsai
We have already defined macros for pull-up/down values in the GPIO header. Use them instead of magic numbers when configuring the UART pins. Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- arch/arm/cpu/armv7/sunxi/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[linux-sunxi] [PATCH v3 06/10] ARM: sunxi-mmc: Add mmc support for sun6i / A31

2014-10-03 Thread Chen-Yu Tsai
From: Hans de Goede The mmc hardware on sun6i has an extra reset control that needs to be de-asserted prior to usage. Also the FIFO address is different. Signed-off-by: Hans de Goede [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes, rewrite different FIF

[linux-sunxi] [PATCH v3 02/10] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-10-03 Thread Chen-Yu Tsai
BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- include/configs/sunxi-common.h | 8 ++

[linux-sunxi] [PATCH v3 08/10] ARM: sun6i: Setup the A31 UART0 muxing

2014-10-03 Thread Chen-Yu Tsai
From: Maxime Ripard Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0 muxing"] [w...@csie.org: reorder #ifs by SUN?I] [w...@csie.org: replace magic numbers with GPIO definitions] Signed-off-by: Chen-Yu Tsai Acked-by: I

[linux-sunxi] [PATCH v3 09/10] ARM: sunxi: Add basic A31 support

2014-10-03 Thread Chen-Yu Tsai
From: Maxime Ripard Add a new sun6i machine that supports UART and MMC. Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: use SPDX labels, adapt to Kconfig system, drop ifdef around mmc and smp code, drop MACH_TYPE] Signed-off-by: Chen-Yu Tsai Acked-by:

[linux-sunxi] [PATCH v3 05/10] ARM: sun6i: Add clock support

2014-10-03 Thread Chen-Yu Tsai
This patch adds the basic clocks support for the Allwinner A31 (sun6i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. This includes changes from the following commits from u-boot-sunxi: a92051b ARM:

[linux-sunxi] [PATCH v3 03/10] ARM: sun6i: Add base address for the new controllers in A31

2014-10-03 Thread Chen-Yu Tsai
From: Oliver Schinagl A31 has several new and changed memory address. This patch adds them. Signed-off-by: Oliver Schinagl Signed-off-by: Hans de Goede Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- arch/arm/include/asm/arch-sunxi/cpu.h | 9 + 1 file changed, 9 insertions(+)

[linux-sunxi] [PATCH v3 04/10] ARM: sun6i: Add support for the power reset control module found on the A31

2014-10-03 Thread Chen-Yu Tsai
From: Oliver Schinagl The A31 has a new module called PRCM, or Power, Reset Control Module. This module controls clocks and resets for RTC block modules, and also PLL biasing in the main clock module. This patch adds the register definitions, and also enables the clocks and resets for the RTC bl

[linux-sunxi] [PATCH v3 07/10] ARM: sun6i: Define UART0 pins for A31

2014-10-03 Thread Chen-Yu Tsai
UART0 is the default debug/console UART on the A31. Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- arch/arm/include/asm/arch-sunxi/gpio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h index f7f3d8c

[linux-sunxi] [PATCH v3 10/10] ARM: sun6i: Add Colombus board defconfig

2014-10-03 Thread Chen-Yu Tsai
The Colombus board is an A31 evaluation board from WITS Technology. Maxime has kindly agreed to maintain this board. [1] http://lists.denx.de/pipermail/u-boot/2014-September/190043.html Signed-off-by: Chen-Yu Tsai Cc: Maxime Ripard --- board/sunxi/MAINTAINERS| 5 + configs/Colombus_de

[linux-sunxi] Re: [Patch RFC] mfd: AXP20x: add power_supply driver

2014-10-03 Thread Markus Rathgeb
Hello! Thank you for your work! Is there a git repository the changes could be found (to simplify merging / cherry-picking)? Is there some progress to get that mainline? Is there some way to enable RTC battery charging for the mainline 3.17? Using the 3.4 kernel we could use i2cset, is there so

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

2014-10-03 Thread Hans de Goede
Hi Tomi, On 10/03/2014 01:45 PM, Tomi Valkeinen wrote: > On 03/10/14 14:16, Hans de Goede wrote: > You indicate that you don't have the time for this discussion, and I note that there is no MAINTAINERS entry for drivers/video/fbdev/simplefb.c . So how about the followin

[linux-sunxi] [PATCH v2 5/5] simplefb: add clock handling code

2014-10-03 Thread Hans de Goede
From: Luc Verhaegen This claims and enables clocks listed in the simple framebuffer dt node. This is needed so that the display engine, in case the required clocks are known by the kernel code and are described in the dt, will remain properly enabled. Signed-off-by: Luc Verhaegen [hdego...@redh

[linux-sunxi] [PATCH v2 1/5] simplefb: Add simplefb MAINTAINERS entry

2014-10-03 Thread Hans de Goede
During the discussion about adding clock handling code to simplefb, it became clear that simplefb currently does not have an active maintainer. I've discussed this with Stephen Warren , the original author of simplefb, and with his permisson I'm picking up maintainership of simplefb. Cc: Stephen

[linux-sunxi] [PATCH v2 4/5] simplefb: add goto error path to probe

2014-10-03 Thread Hans de Goede
From: Luc Verhaegen Signed-off-by: Luc Verhaegen Acked-by: Stephen Warren Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- drivers/video/fbdev/simplefb.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/simplefb.c b/driv

[linux-sunxi] [PATCH v2 3/5] simplefb: formalize pseudo palette handling

2014-10-03 Thread Hans de Goede
From: Luc Verhaegen Signed-off-by: Luc Verhaegen Acked-by: Stephen Warren [hdego...@redhat.com: drop unnecessary void * cast] Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- drivers/video/fbdev/simplefb.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) dif

[linux-sunxi] [PATCH v2 0/5] simplefb: Add clock support to simplefb

2014-10-03 Thread Hans de Goede
Hi Tomi, Here is v2 of the patch-set to add clocks support to simplefb. Changes in v2: -Added "simplefb: Add simplefb MAINTAINERS entry" patch If you've followed the discussion sofar, then you know that not everyone agrees 100% with this. The primary concern being that this will turn simplefb in

[linux-sunxi] [PATCH v2 2/5] dt-bindings: Add a clocks property to the simple-framebuffer binding

2014-10-03 Thread Hans de Goede
A simple-framebuffer node represents a framebuffer setup by the firmware / bootloader. Such a framebuffer may have a number of clocks in use, add a property to communicate this to the OS. Signed-off-by: Hans de Goede Reviewed-by: Mike Turquette --- Documentation/devicetree/bindings/video/simple

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

2014-10-03 Thread Hans de Goede
Hi, On 10/02/2014 05:49 PM, Stephen Warren wrote: > 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 problem

[linux-sunxi] Re: [U-Boot] U-Boot Sunxi breaks LCD output on Olimex Lime A10

2014-10-03 Thread Hans de Goede
Hi, On 10/03/2014 10:49 AM, Siarhei Siamashka wrote: > On Fri, 03 Oct 2014 10:04:29 +0200 > Hans de Goede wrote: > >> Hi, >> >> On 10/01/2014 07:43 PM, Hendrik wrote: >>> I have always been using the sunxi u-boot from >>> 'https://github.com/linux-sunxi/u-boot-sunxi' and that works fine, but no

[linux-sunxi] Re: [U-Boot] U-Boot Sunxi breaks LCD output on Olimex Lime A10

2014-10-03 Thread Siarhei Siamashka
On Fri, 03 Oct 2014 10:04:29 +0200 Hans de Goede wrote: > Hi, > > On 10/01/2014 07:43 PM, Hendrik wrote: > > I have always been using the sunxi u-boot from > > 'https://github.com/linux-sunxi/u-boot-sunxi' and that works fine, but now > > I want to boot the kernel from USB. That is not possibl

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

2014-10-03 Thread Hans de Goede
Hi, On 10/02/2014 09:23 AM, Ian Campbell wrote: > 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 featur

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

2014-10-03 Thread Vladimir Komendantskiy
The Allwinner SoCs that have an HDMI pin, also have a memory-mapped HDMI-CEC register located at HDMI base 0xf1c16000 plus the offset 0x214. This register provides the following bits #define CEC_RX 0x0100 /* phys. line value, either high or low */ #define CEC_TX 0x0200 #define CEC_ENABLE

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

2014-10-03 Thread Hans de Goede
Hi, On 10/03/2014 01:31 AM, Julian Calaby wrote: > Hi, > > On Fri, Oct 3, 2014 at 1:14 AM, jonsm...@gmail.com wrote: >> On Thu, Oct 2, 2014 at 10:50 AM, Hans de Goede 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 wr