diff options
author | Milo Kim <milo.kim@ti.com> | 2013-11-12 18:08:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 22:09:14 -0500 |
commit | 5812c13a4e636da4bd7f7cabbbbc59d9dbf3c86c (patch) | |
tree | 7547afebf6d8f53030b4bfc2b95a3eb2b5bbfa54 /Documentation | |
parent | b300645aec9a5d71f6d85d5138215a9d6d7fe5e6 (diff) |
backlight: lp855x_bl: support new LP8555 device
LP8555 is one of the LP855x family devices.
This device needs pre_init_device() and post_init_device() driver
structure. It's same as LP8557, so the device configuration code is
shared with LP8557. Backlight outputs are generated from dual DC-DC boost
converters. It's configurable EPROM settings which are defined in the
platform data.
Driver documentation and device tree bindings are updated.
Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/backlight/lp855x-driver.txt | 5 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/lp855x.txt | 29 |
2 files changed, 31 insertions, 3 deletions
diff --git a/Documentation/backlight/lp855x-driver.txt b/Documentation/backlight/lp855x-driver.txt index 1c732f0c6758..01bce243d3d7 100644 --- a/Documentation/backlight/lp855x-driver.txt +++ b/Documentation/backlight/lp855x-driver.txt | |||
@@ -4,7 +4,8 @@ Kernel driver lp855x | |||
4 | Backlight driver for LP855x ICs | 4 | Backlight driver for LP855x ICs |
5 | 5 | ||
6 | Supported chips: | 6 | Supported chips: |
7 | Texas Instruments LP8550, LP8551, LP8552, LP8553, LP8556 and LP8557 | 7 | Texas Instruments LP8550, LP8551, LP8552, LP8553, LP8555, LP8556 and |
8 | LP8557 | ||
8 | 9 | ||
9 | Author: Milo(Woogyom) Kim <milo.kim@ti.com> | 10 | Author: Milo(Woogyom) Kim <milo.kim@ti.com> |
10 | 11 | ||
@@ -24,7 +25,7 @@ Value : pwm based or register based | |||
24 | 25 | ||
25 | 2) chip_id | 26 | 2) chip_id |
26 | The lp855x chip id. | 27 | The lp855x chip id. |
27 | Value : lp8550/lp8551/lp8552/lp8553/lp8556/lp8557 | 28 | Value : lp8550/lp8551/lp8552/lp8553/lp8555/lp8556/lp8557 |
28 | 29 | ||
29 | Platform data for lp855x | 30 | Platform data for lp855x |
30 | ------------------------ | 31 | ------------------------ |
diff --git a/Documentation/devicetree/bindings/video/backlight/lp855x.txt b/Documentation/devicetree/bindings/video/backlight/lp855x.txt index 1482103d288f..96e83a56048e 100644 --- a/Documentation/devicetree/bindings/video/backlight/lp855x.txt +++ b/Documentation/devicetree/bindings/video/backlight/lp855x.txt | |||
@@ -2,7 +2,7 @@ lp855x bindings | |||
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553", | 4 | - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553", |
5 | "ti,lp8556", "ti,lp8557" | 5 | "ti,lp8555", "ti,lp8556", "ti,lp8557" |
6 | - reg: I2C slave address (u8) | 6 | - reg: I2C slave address (u8) |
7 | - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device. | 7 | - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device. |
8 | 8 | ||
@@ -15,6 +15,33 @@ Optional properties: | |||
15 | 15 | ||
16 | Example: | 16 | Example: |
17 | 17 | ||
18 | /* LP8555 */ | ||
19 | backlight@2c { | ||
20 | compatible = "ti,lp8555"; | ||
21 | reg = <0x2c>; | ||
22 | |||
23 | dev-ctrl = /bits/ 8 <0x00>; | ||
24 | pwm-period = <10000>; | ||
25 | |||
26 | /* 4V OV, 4 output LED0 string enabled */ | ||
27 | rom_14h { | ||
28 | rom-addr = /bits/ 8 <0x14>; | ||
29 | rom-val = /bits/ 8 <0xcf>; | ||
30 | }; | ||
31 | |||
32 | /* Heavy smoothing, 24ms ramp time step */ | ||
33 | rom_15h { | ||
34 | rom-addr = /bits/ 8 <0x15>; | ||
35 | rom-val = /bits/ 8 <0xc7>; | ||
36 | }; | ||
37 | |||
38 | /* 4 output LED1 string enabled */ | ||
39 | rom_19h { | ||
40 | rom-addr = /bits/ 8 <0x19>; | ||
41 | rom-val = /bits/ 8 <0x0f>; | ||
42 | }; | ||
43 | }; | ||
44 | |||
18 | /* LP8556 */ | 45 | /* LP8556 */ |
19 | backlight@2c { | 46 | backlight@2c { |
20 | compatible = "ti,lp8556"; | 47 | compatible = "ti,lp8556"; |