]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/backlight/lp855x-driver.txt
drivers/video/backlight/lp855x_bl.c: use generic PWM functions
[karo-tx-linux.git] / Documentation / backlight / lp855x-driver.txt
index f5e4caafab7d6a07dbd030cc017fafbe2458af2b..1529394cfe8b3ed51ca44391b81ed16c8635325d 100644 (file)
@@ -35,11 +35,8 @@ For supporting platform specific data, the lp855x platform data can be used.
 * mode : Brightness control mode. PWM or register based.
 * device_control : Value of DEVICE CONTROL register.
 * initial_brightness : Initial value of backlight brightness.
-* pwm_data : Platform specific pwm generation functions.
+* period_ns : Platform specific PWM period value. unit is nano.
             Only valid when brightness is pwm input mode.
-            Functions should be implemented by PWM driver.
-            - pwm_set_intensity() : set duty of PWM
-            - pwm_get_intensity() : get current duty of PWM
 * load_new_rom_data :
        0 : use default configuration data
        1 : update values of eeprom or eprom registers on loading driver
@@ -71,8 +68,5 @@ static struct lp855x_platform_data lp8556_pdata = {
        .mode = PWM_BASED,
        .device_control = PWM_CONFIG(LP8556),
        .initial_brightness = INITIAL_BRT,
-       .pwm_data = {
-                    .pwm_set_intensity = platform_pwm_set_intensity,
-                    .pwm_get_intensity = platform_pwm_get_intensity,
-                    },
+       .period_ns = 1000000,
 };