[linux-sunxi] [PATCH] clk: sunxi-ng: sun6i-a31: Enable PLL-MIPI LDOs when ungating it

2016-11-17 Thread Chen-Yu Tsai
The PLL-MIPI clock is somewhat special as it has its own LDOs which need to be turned on for this PLL to actually work and output a clock signal. Add the 2 LDO enable bits to the gate bits. This fixes issues with the TCON not sending vblank interrupts when the tcon and dot clock are indirectly clo

Re: [linux-sunxi] [PATCH sunxi-boards] add fex file from Nintendo NES Classic Edition

2016-11-17 Thread Chen-Yu Tsai
On Fri, Nov 18, 2016 at 3:01 PM, Naoki FUKAUMI wrote: > ah, sorry, my reply was about u-boot patch, not fex file... > > then, that fex is came from Japanese version. I can wait English > version to compare difference. > > or should I use name of Japanese version? I guess the English name is more

Re: [linux-sunxi] [PATCH sunxi-boards] add fex file from Nintendo NES Classic Edition

2016-11-17 Thread Naoki FUKAUMI
ah, sorry, my reply was about u-boot patch, not fex file... then, that fex is came from Japanese version. I can wait English version to compare difference. or should I use name of Japanese version? On Fri, Nov 18, 2016 at 1:18 PM, Naoki FUKAUMI wrote: > hi > > On Fri, Nov 18, 2016 at 11:01 AM,

Re: [linux-sunxi] [PATCH sunxi-boards] add fex file from Nintendo NES Classic Edition

2016-11-17 Thread Naoki FUKAUMI
hi On Fri, Nov 18, 2016 at 11:01 AM, Chen-Yu Tsai wrote: > Just to clarify, is this the Japanese version or the U.S. version? well, I have only Japanese version, but I prefer to use name of English version for this kind of things. my patch is intended to support both version. I tested it on on

[linux-sunxi] Re: [PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-17 Thread Chen-Yu Tsai
On Fri, Nov 18, 2016 at 3:02 AM, Maxime Ripard wrote: > On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: >> The sun4i DRM driver counts the number of endpoints it found and >> registers the whole DRM pipeline if any endpoints are found. >> >> However, if the TCON and its child endpoin

[linux-sunxi] Re: [PATCH] drm/sun4i: tcon: Initialize regmap after enabling bus clocks

2016-11-17 Thread Chen-Yu Tsai
On Fri, Nov 18, 2016 at 3:05 AM, Maxime Ripard wrote: > On Wed, Nov 16, 2016 at 05:37:32PM +0800, Chen-Yu Tsai wrote: >> If we attempt to read/write the TCON registers before the bus clock >> is enabled, those accesses get ignored. >> >> In practice this almost never occurs because U-boot had alre

Re: [linux-sunxi] [PATCH sunxi-boards] add fex file from Nintendo NES Classic Edition

2016-11-17 Thread Chen-Yu Tsai
Hi, Just to clarify, is this the Japanese version or the U.S. version? AFAIK the Japanese version is Famicom Mini? I think you mentioned on IRC that one has an LED and the other doesn't? Thanks ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" gr

[linux-sunxi] Re: [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-17 Thread Simon Glass
Hi Oliver, On 8 November 2016 at 08:54, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/designware.c | 18 ++ > 1 file changed, 18 insert

[linux-sunxi] [PATCH] sunxi: add support for Nintendo NES Classic Edition

2016-11-17 Thread FUKAUMI Naoki
Signed-off-by: FUKAUMI Naoki --- arch/arm/dts/Makefile | 1 + .../dts/sun8i-r16-nintendo-nes-classic-edition.dts | 63 ++ board/sunxi/MAINTAINERS| 5 ++ configs/Nintendo_NES_Classic_Edition_defconfig | 24 +

[linux-sunxi] [PATCH sunxi-boards] add fex file from Nintendo NES Classic Edition

2016-11-17 Thread FUKAUMI Naoki
--- sys_config/a33/nintendo_nes_classic_edition.fex | 944 1 file changed, 944 insertions(+) create mode 100644 sys_config/a33/nintendo_nes_classic_edition.fex diff --git a/sys_config/a33/nintendo_nes_classic_edition.fex b/sys_config/a33/nintendo_nes_classic_edition.fex

[linux-sunxi] Fwd: pine64 booting in kernelci.org

2016-11-17 Thread Benjamin Henrion
FYI -- Forwarded message -- From: Kevin Hilman Date: Thu, Nov 17, 2016 at 11:45 PM Subject: pine64 booting in kernelci.org To: André , Maxime Ripard Cc: Benjamin Henrion FYI... Now that the base DTs have landed in linux-next, pine64 is booting successfully in my kernelci.org

[linux-sunxi] Re: [PATCH] ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins

2016-11-17 Thread Maxime Ripard
On Thu, Nov 17, 2016 at 05:34:38PM +0800, Chen-Yu Tsai wrote: > In the past, all the MMC pins had > > allwinner,pull = ; > > which was actually a no-op. We were relying on U-boot to set the bias > pull up for us. These properties were removed as part of the fix up to > actually support no b

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

2016-11-17 Thread Maxime Ripard
On Wed, Nov 16, 2016 at 11:42:32PM +0800, Chen-Yu Tsai wrote: > 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: Che

[linux-sunxi] Re: [PATCH] drm/sun4i: tcon: Initialize regmap after enabling bus clocks

2016-11-17 Thread Maxime Ripard
On Wed, Nov 16, 2016 at 05:37:32PM +0800, Chen-Yu Tsai wrote: > If we attempt to read/write the TCON registers before the bus clock > is enabled, those accesses get ignored. > > In practice this almost never occurs because U-boot had already enabled > the bus clock as part of its firmware provided

[linux-sunxi] Re: [PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-17 Thread Maxime Ripard
On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: > The sun4i DRM driver counts the number of endpoints it found and > registers the whole DRM pipeline if any endpoints are found. > > However, if the TCON and its child endpoints (LCD panels, TV encoder, > HDMI encoder, MIPI DSI encoder

[linux-sunxi] Re: [PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-11-17 Thread Jean-Francois Moine
On Wed, 16 Nov 2016 22:33:06 +0100 Maxime Ripard wrote: > > > > The Device Engine just handles the planes of the LCDs, but, indeed, > > > > the LCDs must know about the DE and the DE must know about the LCDs. > > > > There are 2 ways to realize this knowledge in the DT: > > > > 1) either the DE h

[linux-sunxi] [PATCH 4.8 65/92] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-11-17 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 593876838826914a7e4e05fbbcb728be6fbc4d89 upstream. struct clocksource is also used by the clk notifier callback, to unregister and re-register the clocksource with a differe

[linux-sunxi] [PATCH] ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins

2016-11-17 Thread Chen-Yu Tsai
In the past, all the MMC pins had allwinner,pull = ; which was actually a no-op. We were relying on U-boot to set the bias pull up for us. These properties were removed as part of the fix up to actually support no bias on the pins. During the transition some boards experienced regular MMC