Johan Hovold bbd44f6bd9 ARM: at91/avr32/atmel_lcdfb: add platform device-id table
Add platform device-id table in order to identify the controller and
determine its configuration.

The currently used configuration parameters are:

have_alt_pixclock
 - SOC uses an alternate pixel-clock calculation formula (at91sam9g45
   non-ES)

have_hozval
 - SOC has a HOZVAL field in LCDFRMCFG which is used to determine the
   linesize for STN displays (at91sam9261, at921sam9g10 and at32ap)

have_intensity_bit
 - SOC uses IBGR:555 rather than BGR:565 16-bit pixel layout
   (at91sam9261, at91sam9263 and at91sam9rl)

This allows us to remove all the remaining uses of cpu_is macros from
the driver.

Tested on at91sam9263 and at91sam9g45, compile-tested for other
AT91-SOCs, and untested for AVR32.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2013-03-13 11:05:12 +01:00
..
2009-04-01 08:59:27 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2007-10-16 09:43:14 -07:00
2010-05-24 08:47:38 +09:00
2013-02-21 17:22:17 -08:00
2011-03-31 11:26:23 -03:00
2011-04-26 10:22:59 +02:00
2012-12-07 17:06:00 +02:00
2008-07-24 10:47:40 -07:00
2007-10-16 09:43:18 -07:00
2010-12-21 01:05:43 +09:00
2009-12-04 15:39:52 +01:00
2011-03-31 11:26:23 -03:00
2012-04-22 20:16:50 +02:00