atmel_lcdfb: introduce driver data
From b1cb4bb Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Sat, 6 Jan 2018 14:33:53 +0100
Subject: [PATCH] atmel_lcdfb: introduce driver data

Introduce driver data like known from the kernel.
This allows us to get rid of the hack where the
intensity bit support was included in the lcd wiring mode.
(No longer any support for IBGR, IRBG)

It has the nice side-effect that all places where we test
for hacks can now use flags and not a set of cpu's.
So we keep all the configuration in one place.

The configuration is included for non-DT users.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c06a302 commit 21b932af19bd2a6912fad9664b58e30faff7dd30
@Sam Ravnborg Sam Ravnborg authored on 6 Jan 2018
Sascha Hauer committed on 17 Jan 2018
Showing 3 changed files
View
drivers/video/atmel_lcdfb.c
View
drivers/video/atmel_lcdfb.h
View
drivers/video/atmel_lcdfb_core.c