[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-13 Thread Jean-Francois Moine
On Wed, 6 Jan 2016 21:41:30 +0100 Jens Kuske wrote: > On 05/01/16 19:40, Jean-Francois Moine wrote: > [snip] > > diff --git a/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > > b/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > > new file mode 100644 > > index 000..c54b090 > > --- /dev/null > > +++ b/drivers/gpu/

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-11 Thread Jean-Francois Moine
On Tue, 5 Jan 2016 20:38:17 + Russell King - ARM Linux wrote: > Some comments from an ARM architecture point of view. I haven't > reviewed it from a DRM point of view yet. Anyway, thanks for your explanations and remarks. > > +static void de2_crtc_enable(struct drm_crtc *crtc) > > +{

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-06 Thread Jens Kuske
On 05/01/16 19:40, Jean-Francois Moine wrote: [snip] > diff --git a/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > b/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > new file mode 100644 > index 000..c54b090 > --- /dev/null > +++ b/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > @@ -0,0 +1,478 @@ > +/* > + * Allwinner H3 H

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-05 Thread Russell King - ARM Linux
Some comments from an ARM architecture point of view. I haven't reviewed it from a DRM point of view yet. On Tue, Jan 05, 2016 at 07:40:11PM +0100, Jean-Francois Moine wrote: > +struct tcon { > + u32 gctl; > +#define TCON_GCTL_TCON_En 0x8000 > + u32 gint0; > +#define

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-05 Thread Jean-Francois Moine
In recent SoCs, as the H3, Allwinner uses a new display interface, DE2. This patch adds a DRM video driver for this interface, and also a driver for the HDMI connector found in the H3. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile