1. 30 4月, 2013 3 次提交
  2. 22 2月, 2013 1 次提交
  3. 18 12月, 2012 1 次提交
    • K
      drivers/video/backlight/lp855x_bl.c: use generic PWM functions · 8cc9764c
      Kim, Milo 提交于
      The LP855x family devices support the PWM input for the backlight control.
       Period of the PWM is configurable in the platform side.  Platform
      specific functions are unnecessary anymore because generic PWM functions
      are used inside the driver.
      
      (PWM input mode)
      To set the brightness, new lp855x_pwm_ctrl() is used.
      If a PWM device is not allocated, devm_pwm_get() is called.
      The PWM consumer name is from the chip name such as 'lp8550' and 'lp8556'.
      To get the brightness value, no additional handling is required.
      Just the value of 'props.brightness' is returned.
      
      If the PWM driver is not ready while initializing the LP855x driver, it's
      OK.  The PWM device can be retrieved later, when the brightness value is
      changed.
      
      Documentation is updated with an example.
      
      [akpm@linux-foundation.org: coding-style simplification, per Thierry]
      Signed-off-by: NMilo(Woogyom) Kim <milo.kim@ti.com>
      Cc: Thierry Reding <thierry.reding@avionic-design.de>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8cc9764c
  4. 06 10月, 2012 1 次提交
  5. 31 7月, 2012 2 次提交
  6. 24 3月, 2012 1 次提交