atmel_lcdfb: add DT support
Some boards use "have_intensity_bit". To support this the
syntax for lcd_wiring_mode was extended to include this info.
This is an extension compared to the documented bindings,
and an extension the kernel does not support (yet).

The binding documents that there can be more than one gpio to
power on/off the display but current implmentation supports only
one gpio. There are no users that requires more than one gpio
so this is good enough.

The clk name used for hclk differs from device trees and
platform data. We could rename the clocl used in platform data
but the name "hclk" is not unique.

Configure clockname based on configuration method.
Devicetree => hclk
Platform data => hck1

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6606dad commit e272a2b1090efe3efd1c2bdaeb1f2ce4d6abd386
@Sam Ravnborg Sam Ravnborg authored on 20 Jul 2017
Sascha Hauer committed on 6 Sep 2017
Showing 2 changed files
View
drivers/video/atmel_lcdfb.c
View
drivers/video/atmel_lcdfb_core.c