backlight: add step power on support
authorEvoke Zhang <evoke.zhang@amlogic.com>
Thu, 2 Aug 2018 09:03:18 +0000 (17:03 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 9 Aug 2018 08:16:26 +0000 (01:16 -0700)
commit7f5e2a4bd44e2fe7bd3797f46a89ff43c9f7a945
tree8acbf1e51f2a95cf50b7b047cdeca86094f498e5
parentcf0cf49f1656ea83acee925271df41c6ab682d4a
backlight: add step power on support

PD#171081: backlight: add step power on support
default disable with bl_step_on_flag = 0.
change bl_step_on_flag to 1 to enable step_on function:
echo 1 >/sys/class/aml_bl/step_on
the brightness will be level_default first,
then come to the system brightness value.

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