diff options
| author | Sean Paul <[email protected]> | 2014-12-02 17:39:12 -0800 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2014-12-09 09:24:45 +0000 |
| commit | 829b030e58f8349a63909c0fff2fa1913d79314c (patch) | |
| tree | 7fc2c2e84bd396b8299ab2635ec41472d18e652b /include/linux/platform_data | |
| parent | 47726656dd67a2487bd7fafec1a73472da1db956 (diff) | |
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 <[email protected]>
Cc: Aaron Durbin <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Acked-by: Milo Kim <[email protected]>
Acked-by: Bryan Wu <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
| -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 |