[linux-sunxi] Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 20:54, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich This adds DRAM initialisation code for sun9i, which calculates the appropriate timings based on timing information for the supplied DDR3 bin and the clock speeds used. With th

[linux-sunxi] Re: [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 6:39 PM, Hans de Goede wrote: > Hi, > > On 28-10-16 20:54, Jagan Teki wrote: >> >> On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: >>> >>> From: Philipp Tomsich >>> >>> This adds DRAM initialisation code for sun9i, which calculates the >>> appropriate timings based o

[linux-sunxi] [PATCH v3 0/2] ARM: dts: sun6i: hummingbird-a31: Enable display output through VGA bridge

2016-10-29 Thread Chen-Yu Tsai
Hi, This is v3 of my sun6i DRM/KMS display enablement series. Most of the patches in v2 were merged, leaving only the dumb-vga-dac patch and the hummingbird-a31 VGA output patch. A few things were changed, mainly the DAC enable method from a GPIO to a regulator supply. Changes since v2: - Cha

[linux-sunxi] [PATCH v3 2/2] ARM: dts: sun6i: hummingbird-a31: Enable display output through VGA bridge

2016-10-29 Thread Chen-Yu Tsai
The Hummingbird A31 board has a VGA DAC which converts RGB output from the LCD interface to VGA analog signals. Add nodes for the VGA DAC, its power supply, and enable this part of the display pipeline. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 76 +++

[linux-sunxi] [PATCH v3 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-10-29 Thread Chen-Yu Tsai
Some dumb VGA DACs are active components which require external power. Add support for specifying a regulator as its power supply. Signed-off-by: Chen-Yu Tsai --- .../bindings/display/bridge/dumb-vga-dac.txt | 2 ++ drivers/gpu/drm/bridge/dumb-vga-dac.c | 35 +

[linux-sunxi] Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 2:45 AM, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: >> From: Philipp Tomsich >> >> On sun9i, the GTBUS manages transaction priority and bandwidth >> for multiple read ports when accessing DRAM. The initialisation >> mirrors the settings from

[linux-sunxi] Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 13:08, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 2:45 AM, Jagan Teki wrote: On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: From: Philipp Tomsich On sun9i, the GTBUS manages transaction priority and bandwidth for multiple read ports when accessing DRAM. The initialis

[linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 28-10-16 19:30, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here: https://git.theo

[linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Hans de Goede
Hi, On 29-10-16 03:16, Chen-Yu Tsai wrote: On Sat, Oct 29, 2016 at 1:30 AM, Hans de Goede wrote: Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Syst

Re: [linux-sunxi] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 02:11, Andre Przywara wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver instantiation by U-Boot. Add the line to point U-Boot to the Ethernet DT node. This enables TFTP boot on the Pine64. Signed-off-by: And

[linux-sunxi] Re: [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 03:24, Andre Przywara wrote: OHCI has a known limitation of allowing only 32-bit DMA buffer addresses, so we have a lot of u32 variables around, which are assigned to pointers and vice versa. This obviously creates issues with 64-bit systems, so the compiler complains here and th

[linux-sunxi] Re: [U-Boot,2/2] sunxi: A64: enable USB support

2016-10-29 Thread Hans de Goede
Hi, On 21-10-16 03:24, Andre Przywara wrote: From: Amit Singh Tomar Mostly by adding MACH_SUN50I to some existing #ifdefs enable support for the the HCI0 USB host controller on the A64. Fix up some minor 64-bit hiccups on the way. Add the bare minimum DT bits to the A64 .dtsi and enable the co

[linux-sunxi] Re: [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-29 Thread Marek Vasut
On 10/29/2016 02:50 PM, Hans de Goede wrote: > Hi, > > On 21-10-16 03:24, Andre Przywara wrote: >> OHCI has a known limitation of allowing only 32-bit DMA buffer >> addresses, so we have a lot of u32 variables around, which are assigned >> to pointers and vice versa. This obviously creates issues

[linux-sunxi] Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4

2016-10-29 Thread Chen-Yu Tsai
Hi, On Fri, Oct 28, 2016 at 1:51 AM, Maxime Ripard wrote: > On Sun, Oct 23, 2016 at 06:31:07PM +0200, Jean-Francois Moine wrote: >> On Tue, 4 Oct 2016 18:55:54 +0200 >> Maxime Ripard wrote: >> >> > On Tue, Oct 04, 2016 at 12:40:11PM +0200, Jean-Francois Moine wrote: >> > > On Tue, 4 Oct 2016 11

Re: [linux-sunxi] Re: [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-29 Thread Chen-Yu Tsai
On Sat, Oct 29, 2016 at 8:06 PM, Hans de Goede wrote: > Hi, > > > On 28-10-16 19:30, Hans de Goede wrote: >> >> Hi Chen-Yu, >> >> On 28-10-16 12:21, Chen-Yu Tsai wrote: >>> >>> Hi everyone, >>> >>> This series adds full SPL with DRAM initialization for sun9i (A80). >>> The bulk of the work was don

[linux-sunxi] Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4

2016-10-29 Thread Jean-Francois Moine
On Sun, 30 Oct 2016 10:06:20 +0800 Chen-Yu Tsai wrote: > >> Yes, I know that the burst size is always a power of 2. > >> The best way to check it would be to change the {src,dts}_maxburst to a > >> bitmap of the possible bursts as 0x0d for 1,4 and 8 bytes. But this > >> asks for a lot of changes.