diff options
author | Sean Paul <seanpaul@chromium.org> | 2014-12-02 17:39:12 -0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-12-09 09:24:45 +0000 |
commit | 829b030e58f8349a63909c0fff2fa1913d79314c (patch) | |
tree | 7fc2c2e84bd396b8299ab2635ec41472d18e652b /include/linux/platform_data/lp855x.h | |
parent | 47726656dd67a2487bd7fafec1a73472da1db956 (diff) | |
download | linux-rpi-829b030e58f8349a63909c0fff2fa1913d79314c.tar.gz linux-rpi-829b030e58f8349a63909c0fff2fa1913d79314c.tar.bz2 linux-rpi-829b030e58f8349a63909c0fff2fa1913d79314c.zip |
backlight: lp855x: Add supply regulator to lp855x
This patch adds a supply regulator to the lp855x platform data to facilitate
powering on/off the 3V rail attached to the controller.
Cc: Stéphane Marchesin <marcheu@chromium.org>
Cc: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Milo Kim <milo.kim@ti.com>
Acked-by: Bryan Wu <cooloney@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/platform_data/lp855x.h')
-rw-r--r-- | include/linux/platform_data/lp855x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h index 1b2ba24e4e03..9c7fd1efe495 100644 --- a/include/linux/platform_data/lp855x.h +++ b/include/linux/platform_data/lp855x.h @@ -136,6 +136,7 @@ struct lp855x_rom_data { Only valid when mode is PWM_BASED. * @size_program : total size of lp855x_rom_data * @rom_data : list of new eeprom/eprom registers + * @supply : regulator that supplies 3V input */ struct lp855x_platform_data { const char *name; @@ -144,6 +145,7 @@ struct lp855x_platform_data { unsigned int period_ns; int size_program; struct lp855x_rom_data *rom_data; + struct regulator *supply; }; #endif |