]> git.baikalelectronics.ru Git - kernel.git/commit
sh: ecovec24: add additional properties to the backlight device
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 22 Oct 2019 08:36:25 +0000 (10:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 11:34:01 +0000 (11:34 +0000)
commit520abf313ba5f46ccaa26d56cd26a6cff8ecc0c7
treefed98ed2464335b8b9edf7ea3f56446ad9d1d959
parent5ef49ff59a7cca7490a158ab972f06d6c5b46cb8
sh: ecovec24: add additional properties to the backlight device

Add a GPIO lookup entry and a device property for GPIO backlight to the
board file. Tie them to the platform device which is now registered using
platform_device_register_full() because of the properties. These changes
are inactive now but will be used once the gpio backlight driver is
modified.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/sh/boards/mach-ecovec24/setup.c