summaryrefslogtreecommitdiff
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorYH Huang <yh.huang@mediatek.com>2015-08-18 10:27:54 +0300
committerThierry Reding <thierry.reding@gmail.com>2015-10-06 17:07:30 +0300
commit7e3b7dc76c41f9042a7079eb07d071f744bbd87a (patch)
treec44cdeba036d0c4269c831831ab2aaa0e9f181cb /drivers/pwm/Kconfig
parent3e9e6c28d287a4a2dc62f61cf67654bdae374992 (diff)
downloadlinux-7e3b7dc76c41f9042a7079eb07d071f744bbd87a.tar.xz
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
To compile this driver as a module, choose M here: the module
will be called pwm-lpss-platform.
+config PWM_MTK_DISP
+ tristate "MediaTek display PWM driver"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ Generic PWM framework driver for MediaTek disp-pwm device.
+ The PWM is used to control the backlight brightness for display.
+
+ To compile this driver as a module, choose M here: the module
+ will be called pwm-mtk-disp.
+
config PWM_MXS
tristate "Freescale MXS PWM support"
depends on ARCH_MXS && OF