]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: Add MediaTek display PWM driver support
authorYH Huang <yh.huang@mediatek.com>
Tue, 18 Aug 2015 07:27:54 +0000 (15:27 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Oct 2015 14:07:30 +0000 (16:07 +0200)
commit42543b2849846d015a84a1e0b7f6f5efc4596d30
treec44cdeba036d0c4269c831831ab2aaa0e9f181cb
parent757bb898572116dcbebe838211ff4b86e512e521
pwm: Add MediaTek display PWM driver support

Add display PWM driver support to modify backlight for MT8173 and
MT6595. The PWM has one channel to control the brightness of the
display. When the (high_width / period) is closer to 1, the screen
is brighter; otherwise, it is darker.

Signed-off-by: YH Huang <yh.huang@mediatek.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-mtk-disp.c [new file with mode: 0644]