backlight: add pwm range 0~255 support
authorEvoke Zhang <evoke.zhang@amlogic.com>
Thu, 2 Aug 2018 08:09:10 +0000 (16:09 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 5 Sep 2018 07:09:03 +0000 (00:09 -0700)
commit9664c0275f0a520f0e561a1d51f4a00bde5b796e
tree55aae836220e85e71c151453eefb1290ccbe67cd
parent9d1ae432a7029f3af978b28cd51986a6e8544a7b
backlight: add pwm range 0~255 support

PD#171080: backlight: add pwm range 0~255 support
both support 0~100, 0~255 pwm range,
depend on pwm_duty_max value is bigger than 100 or not.

Change-Id: Ib5962ccaf5fbc728640326dfae3f82f70594001e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
drivers/amlogic/media/vout/backlight/aml_bl.c