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)
commit7e3b7dc76c41f9042a7079eb07d071f744bbd87a
treec44cdeba036d0c4269c831831ab2aaa0e9f181cb
parent3e9e6c28d287a4a2dc62f61cf67654bdae374992
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]