staging: fbtft: Add support for Himax HX8357D controller
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 31 May 2015 12:44:54 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:26:30 +0000 (06:26 +0900)
commit9cd491e8c390d403bdf881808ef409d83266f4b2
treefc6969f71d9fa14e3ea1fb700b8ed50eebf89ae1
parent5df5910b13e423c54930c4e9f662fd94da856d4f
staging: fbtft: Add support for Himax HX8357D controller

The Himax HX8357D is used e.g. by the Adafruit PITFT Plus 3.5".
Adafruit added HX8357D support to an own fork of fbtft and support
Raspbian only (https://github.com/adafruit/adafruit-rpi-fbtft/).
They don't intend to push it upstream but gave me the ok to do so.
Original author: Sean Cross <xobs@kosagi.com>

I just applied small changes to the driver to align it with the other
fbtft drivers.
- add "compatible" argument to FBTFT_REGISTER_DRIVER call
- add missing MODULE_ALIAS declarations

Tested successfully with this display on an RPI2 under Arch Linux ARM
(kernel 3.18.13).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/Kconfig
drivers/staging/fbtft/Makefile
drivers/staging/fbtft/fb_hx8357d.c [new file with mode: 0644]
drivers/staging/fbtft/fb_hx8357d.h [new file with mode: 0644]