diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
| commit | e1b73cba13a0cc68dd4f746eced15bd6bb24cda4 (patch) | |
| tree | b1c9e10730724024a700031ad56c20419dabb500 /include/linux/platform_data/lp855x.h | |
| parent | 98304ad186296dc1e655399e28d5973c21db6a73 (diff) | |
| parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) | |
Merge tag 'v3.10-rc2' into drm-intel-next-queued
Backmerge Linux 3.10-rc2 since the various (rather trivial) conflicts
grew a bit out of hand. intel_dp.c has the only real functional
conflict since the logic changed while dev_priv->edp.bpp was moved
around.
Also squash in a whitespace fixup from Ben Widawsky for
i915_gem_gtt.c, git seems to do something pretty strange in there
(which I don't fully understand tbh).
Conflicts:
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/platform_data/lp855x.h')
| -rw-r--r-- | include/linux/platform_data/lp855x.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h index 20ee8b221dbd..ea3200527dd3 100644 --- a/include/linux/platform_data/lp855x.h +++ b/include/linux/platform_data/lp855x.h | |||
| @@ -69,11 +69,6 @@ enum lp855x_chip_id { | |||
| 69 | LP8557, | 69 | LP8557, |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | enum lp855x_brightness_ctrl_mode { | ||
| 73 | PWM_BASED = 1, | ||
| 74 | REGISTER_BASED, | ||
| 75 | }; | ||
| 76 | |||
| 77 | enum lp8550_brighntess_source { | 72 | enum lp8550_brighntess_source { |
| 78 | LP8550_PWM_ONLY, | 73 | LP8550_PWM_ONLY, |
| 79 | LP8550_I2C_ONLY = 2, | 74 | LP8550_I2C_ONLY = 2, |
| @@ -116,24 +111,18 @@ struct lp855x_rom_data { | |||
| 116 | /** | 111 | /** |
| 117 | * struct lp855x_platform_data | 112 | * struct lp855x_platform_data |
| 118 | * @name : Backlight driver name. If it is not defined, default name is set. | 113 | * @name : Backlight driver name. If it is not defined, default name is set. |
| 119 | * @mode : brightness control by pwm or lp855x register | ||
| 120 | * @device_control : value of DEVICE CONTROL register | 114 | * @device_control : value of DEVICE CONTROL register |
| 121 | * @initial_brightness : initial value of backlight brightness | 115 | * @initial_brightness : initial value of backlight brightness |
| 122 | * @period_ns : platform specific pwm period value. unit is nano. | 116 | * @period_ns : platform specific pwm period value. unit is nano. |
| 123 | Only valid when mode is PWM_BASED. | 117 | Only valid when mode is PWM_BASED. |
| 124 | * @load_new_rom_data : | ||
| 125 | 0 : use default configuration data | ||
| 126 | 1 : update values of eeprom or eprom registers on loading driver | ||
| 127 | * @size_program : total size of lp855x_rom_data | 118 | * @size_program : total size of lp855x_rom_data |
| 128 | * @rom_data : list of new eeprom/eprom registers | 119 | * @rom_data : list of new eeprom/eprom registers |
| 129 | */ | 120 | */ |
| 130 | struct lp855x_platform_data { | 121 | struct lp855x_platform_data { |
| 131 | char *name; | 122 | const char *name; |
| 132 | enum lp855x_brightness_ctrl_mode mode; | ||
| 133 | u8 device_control; | 123 | u8 device_control; |
| 134 | int initial_brightness; | 124 | u8 initial_brightness; |
| 135 | unsigned int period_ns; | 125 | unsigned int period_ns; |
| 136 | u8 load_new_rom_data; | ||
| 137 | int size_program; | 126 | int size_program; |
| 138 | struct lp855x_rom_data *rom_data; | 127 | struct lp855x_rom_data *rom_data; |
| 139 | }; | 128 | }; |
