video: ARM CLCD: backlight support for OF
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jun 2016 09:36:13 +0000 (11:36 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 11 Aug 2016 14:54:52 +0000 (17:54 +0300)
commitc38162be301d59278f568e0b34be31915b6fe3bb
tree8ec2788c7e44bf7cda5b2a4e7c4de8efec08c503
parent1d1e56f4140d0af98f7c232fa315e010cd532ccc
video: ARM CLCD: backlight support for OF

If the device is probed from device tree, we can support
backlight. This is used with some systems such as the
ST Microelectronics Nomadik.

We have to add HAS_IOMEM to the dependencies of CLCD since
the backlight class device will now be selected, and if it
gets selected on an arch that does not have IOMEM,
compilation will fail.

Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/amba-clcd.c
include/linux/amba/clcd.h