summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorYH Huang <yh.huang@mediatek.com>2015-08-18 03:27:54 -0400
committerThierry Reding <thierry.reding@gmail.com>2015-10-06 10:07:30 -0400
commit7e3b7dc76c41f9042a7079eb07d071f744bbd87a (patch)
treec44cdeba036d0c4269c831831ab2aaa0e9f181cb /drivers/pwm/Kconfig
parent3e9e6c28d287a4a2dc62f61cf67654bdae374992 (diff)
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>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 49ef5156b418..0cfaf6b3aa03 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -249,6 +249,17 @@ config PWM_LPSS_PLATFORM
249 To compile this driver as a module, choose M here: the module 249 To compile this driver as a module, choose M here: the module
250 will be called pwm-lpss-platform. 250 will be called pwm-lpss-platform.
251 251
252config PWM_MTK_DISP
253 tristate "MediaTek display PWM driver"
254 depends on ARCH_MEDIATEK || COMPILE_TEST
255 depends on HAS_IOMEM
256 help
257 Generic PWM framework driver for MediaTek disp-pwm device.
258 The PWM is used to control the backlight brightness for display.
259
260 To compile this driver as a module, choose M here: the module
261 will be called pwm-mtk-disp.
262
252config PWM_MXS 263config PWM_MXS
253 tristate "Freescale MXS PWM support" 264 tristate "Freescale MXS PWM support"
254 depends on ARCH_MXS && OF 265 depends on ARCH_MXS && OF