[linux-sunxi] Re: [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets

2015-08-19 Thread Maxime Ripard
On Fri, Aug 14, 2015 at 04:44:37PM +0200, Hans de Goede wrote: > The gt90h is a pcb found in generic 9" tablets with an A23 soc, 1G RAM > and 8G nand, rtl8723as usb wifi, 1 micro usb port and 1 micro sd slot. > > This commit adds a dts for v4 of the gt90h pcb. > > Signed-off-by: Hans de Goede A

[linux-sunxi] Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3

2015-08-19 Thread Maxime Ripard
On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote: > From: Jelle van der Waa > > Enable the otg/drc usb controller on the pcDuino 3. > > Note this board has the otg-vbus connected directly to the 5v-dcc of > the board, so there is no vbus0 regulator, nor vbus0-det. Can it do OTG the

[linux-sunxi] Re: [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file

2015-08-19 Thread Maxime Ripard
On Fri, Aug 14, 2015 at 04:44:34PM +0200, Hans de Goede wrote: > From: Jelle van der Waa > > Add regulator configuration to the pcduino3 dts file. > > Signed-off-by: Jelle van der Waa > Signed-off-by: Hans de Goede Queued, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Ker

[linux-sunxi] Re: [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output

2015-08-19 Thread Maxime Ripard
Hi, On Fri, Aug 14, 2015 at 04:44:32PM +0200, Hans de Goede wrote: > Add a simplefb node for tvencoder / composite-video output, such as found > on the Auxtek-T003 and the CHIP. > > Signed-off-by: Hans de Goede Queued, thanks! I guess the CHIP will have to have the same change for the A13 DTS

Re: [linux-sunxi] U-boot fails to read my SD cards

2015-08-19 Thread Hans de Goede
Hi, On 08/19/2015 09:42 PM, Stefan Monnier wrote: With my recent effort to move all my remaining 3.4 machines to (almost)mainline, I saw a strange pattern: Many of the SD cards I have can't be read by U-boot. Yet, they work fine elsewhere. More specifically, more than half of the SD cards I've

[linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus

2015-08-19 Thread Hans de Goede
Hi, On 08/19/2015 05:17 PM, Maxime Ripard wrote: On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote: We've everything we need to support the gmac on Colombus, turn it on. Signed-off-by: Hans de Goede I recall that the phy was powered by one of the AXP221 regulators, does it requi

[linux-sunxi] Re: [PATCH v8] dma: sun4i: Add support for the DMA engine on sun[457]i SoCs

2015-08-19 Thread Vinod Koul
On Sun, Jul 26, 2015 at 10:50:55PM +0200, Maxime Ripard wrote: > From: Emilio López > > This patch adds support for the DMA engine present on Allwinner A10, > A13, A10S and A20 SoCs. This engine has two kinds of channels: normal > and dedicated. The main difference is in the mode of operation; >

[linux-sunxi] Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support

2015-08-19 Thread Chen-Yu Tsai
On Thu, Aug 20, 2015 at 12:32 AM, Mark Brown wrote: > On Wed, Aug 19, 2015 at 12:20:01PM +0800, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This is my third attempt at adding support for Allwinner's Reduced >> Serial Bus (RSB), which is used to communicate with PMICs and other >> peripherals on thei

Re: [linux-sunxi] [PATCH 1/3] Fix signedness (possible underflow) of "len" parameter for aw_fel_write_uboot_image()

2015-08-19 Thread Siarhei Siamashka
On Mon, 17 Aug 2015 19:22:37 +0200 Bernhard Nortmann wrote: > Hello Siarhei! > > Am 13.08.2015 09:43, schrieb Siarhei Siamashka: > >> [...] > > OK. You are right. Passing this information via global variables got me > > confused. IMHO the code could have been a bit cleaner. But I guess, > > this

[linux-sunxi] U-boot fails to read my SD cards

2015-08-19 Thread Stefan Monnier
With my recent effort to move all my remaining 3.4 machines to (almost)mainline, I saw a strange pattern: Many of the SD cards I have can't be read by U-boot. Yet, they work fine elsewhere. More specifically, more than half of the SD cards I've tried show the following behavior: - I can put U-boo

[linux-sunxi] Re: No reboot: experience report with Hans's sunxi-wip

2015-08-19 Thread Stefan Monnier
Further report: I now tried that very same kernel on my BananaPi, and on that machine, I don't see that reboot problem. I also could test the OTG stuff on that machine (with g_ether) and I was quite happy to see that it works very smoothly. I can now finally say goodbye to sunxi-3.4, yay!

[linux-sunxi] [PATCH] sunxi: Add support for the Olimex A20 EVB

2015-08-19 Thread codekipper
From: Marcus Cooper --- arch/arm/dts/Makefile| 1 + arch/arm/dts/sun7i-a20-olinuxino-evb.dts | 233 +++ board/sunxi/MAINTAINERS | 5 + configs/A20-OLinuXino-EVB_defconfig | 17 +++ 4 files changed, 256 insertions(+) crea

[linux-sunxi][PATCH] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-08-19 Thread codekipper
From: Marcus Cooper The A20-SOM-EVB is a reference design of a 2-layer board for the A20-SOM. It expands the features of A20-SOM by adding VGA connector, HDMI connector, audio In/Out, LCD connector, 2 Mpix camera, gigabit Ethernet, SATA, USB-OTG and 2 USB hosts. This patch adds basic support for

[linux-sunxi] Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support

2015-08-19 Thread Mark Brown
On Wed, Aug 19, 2015 at 12:20:01PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This is my third attempt at adding support for Allwinner's Reduced > Serial Bus (RSB), which is used to communicate with PMICs and other > peripherals on their newer SoCs, such as the A23/A33/A80. This is flagged as

Re: [linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus

2015-08-19 Thread Chen-Yu Tsai
On Wed, Aug 19, 2015 at 11:17 PM, Maxime Ripard wrote: > On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote: >> We've everything we need to support the gmac on Colombus, turn it on. >> >> Signed-off-by: Hans de Goede > > I recall that the phy was powered by one of the AXP221 regulators

[linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus

2015-08-19 Thread Maxime Ripard
On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote: > We've everything we need to support the gmac on Colombus, turn it on. > > Signed-off-by: Hans de Goede I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot),

[linux-sunxi] Re: [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD

2015-08-19 Thread Maxime Ripard
On Fri, Aug 07, 2015 at 05:22:35PM +0200, Hans de Goede wrote: > The Colombus development kit uses an optional 2048x1536 edp panel using > an anx9804 parallel lcd to edp convertor. The anx9804 chip is controlled > via an i2c bus which is connected to 2 regular gpio pins. > > Signed-off-by: Hans de

Re: [linux-sunxi] [PATCH 2/3] Support chip IDs (SoC names) for A33, A80 and A83T

2015-08-19 Thread Siarhei Siamashka
On Tue, 4 Aug 2015 01:26:44 +0200 Bernhard Nortmann wrote: > Signed-off-by: Bernhard Nortmann > --- > fel.c | 21 + > 1 file changed, 13 insertions(+), 8 deletions(-) > > diff --git a/fel.c b/fel.c > index bbaeec9..95c3ee2 100644 > --- a/fel.c > +++ b/fel.c > @@ -186,14 +1

[linux-sunxi] Re: [PATCH v2 0/4] fix and fel spl support for A33, H3, A83T

2015-08-19 Thread Siarhei Siamashka
On Wed, 19 Aug 2015 19:42:35 +0800 Vishnu Patekar wrote: > MMU is not enabled by BROM for A33, H3 and A83 SOCs. > > current fel implementation exits if MMU is not enabled. this patch fixes it. > Also, added the fel spl support for A33, A83T and H3. > > > changes in v2. > 1. added separate patc

[linux-sunxi] [PATCH v2 4/4] fel: add fel spl support for H3

2015-08-19 Thread Vishnu Patekar
Added fel spl support for H3. For H3 MMU is not enabled by BROM. This is tested on Orange Pi H3 Board. Reported-by: Cam Hutchison Signed-off-by: Vishnu Patekar Tested-by: Cam Hutchison --- fel.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fel.c b/fel.c index ecdb82d..bfac81f 100

[linux-sunxi] [PATCH v2 3/4] fel: add fel spl support for A83T

2015-08-19 Thread Vishnu Patekar
For A83T MMU is not enabled by BROM. U-boot SPL support is not yet added for A83T. tested using A33 u-boot binary. $fel spl u-boot-sunxi-with-spl.bin U-Boot SPL 2015.10-rc1-g1a8cf6d (Aug 17 2015 - 15:14:46) DRAM:Timeout initialising DRAM. it jumped to SPL and on serial it displayed above log from

[linux-sunxi] [PATCH v2 2/4] fel: add fel spl support for A33

2015-08-19 Thread Vishnu Patekar
Signed-off-by: Vishnu Patekar Tested-by: Vishnu Patekar --- fel.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fel.c b/fel.c index b1e74d4..0023873 100644 --- a/fel.c +++ b/fel.c @@ -194,6 +194,7 @@ void aw_fel_print_version(libusb_device_handle *usb) case 0x1651: soc_name="

[linux-sunxi] [PATCH v2 0/4] fix and fel spl support for A33, H3, A83T

2015-08-19 Thread Vishnu Patekar
MMU is not enabled by BROM for A33, H3 and A83 SOCs. current fel implementation exits if MMU is not enabled. this patch fixes it. Also, added the fel spl support for A33, A83T and H3. changes in v2. 1. added separate patch for each SOC. 2. if MMU is not enabled by BROM downgraded the fprintf(std

[linux-sunxi] [PATCH v2 1/4] fel: Handle error and don't exit if MMU is not enabled.

2015-08-19 Thread Vishnu Patekar
On allwinner SOCs A33,H3, A83T MMU is not enabled by BROM, so don't exit if MMU is not enabled by BROM and return NULL. It was reported on A33 tablet and Orange Pi H3 Board. I've tested it on A33 tablet and A83T Dev Board by allwinner. Signed-off-by: VishnuPatekar --- fel.c | 11 +++ 1 f

[linux-sunxi] Re: [PATCH 0/4] fix and fel spl support for A33, H3, A83T

2015-08-19 Thread Vishnu Patekar
Sorry, I forgot to mark series as v2. I'll resend it. On Tue, Aug 18, 2015 at 10:34 PM, Vishnu Patekar < vishnupatekar0...@gmail.com> wrote: > It was reported that fel spl u-boot-sunxi-with-spl.bin complains: > MMU is not enabled by the BROM for A33, H3 and A83. > > Also, added the soc id for A33

Re: [linux-sunxi] sun4i-ss-cipher.c warning

2015-08-19 Thread Hans de Goede
Hi, On 19-08-15 12:59, Michal Suchanek wrote: Hello, I noticed that enabling sunxi crypto gives a warning This is possibly specific to debug builds Why are you sending this only to linux-sunxi and not to the actual author / maintainer of the driver ? And also please add relevant upstream mai

[linux-sunxi] sun4i-ss-cipher.c warning

2015-08-19 Thread Michal Suchanek
Hello, I noticed that enabling sunxi crypto gives a warning This is possibly specific to debug builds Thanks Michal In file included from /scratch/build/linux/include/linux/printk.h:277:0, from /scratch/build/linux/include/linux/kernel.h:13, from /scratch/buil