[PATCH] drm/sun4i: tcon: Initialize regmap after enabling bus clocks

2016-11-18 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

[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

[PATCH] drm/sun4i: tcon: Initialize regmap after enabling bus clocks

2016-11-16 Thread Chen-Yu Tsai
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 framebuffer (simplefb). Fixes: 9026e0d122ac ("drm: Add Allwinner A10