mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
THis driver supports TI LP8550/LP8551/LP8552/LP8553/LP8556 backlight devices. The brightness can be controlled by the I2C or PWM input. The lp855x driver provides both modes. For the PWM control, pwm-specific functions can be defined in the platform data. And some information can be read via the sysfs(lp855x device attributes). For details, please refer to Documentation/backlight/lp855x-driver.txt. [[email protected]: add missing mutex_unlock in lp855x_read_byte() error path] [[email protected]: check platform data in lp855x_probe()] [[email protected]: small cleanups] [[email protected]: silence a compiler warning] [[email protected]: use id->driver_data to differentiate lp855x chips] [[email protected]: simplify boolean return expression] Signed-off-by: Milo(Woogyom) Kim <[email protected]> Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Cc: Richard Purdie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>