pwm: Add MediaTek MT2701 display PWM driver support
authorWeiqing Kong <weiqing.kong@mediatek.com>
Mon, 11 Jul 2016 08:18:08 +0000 (16:18 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Sep 2016 08:48:53 +0000 (10:48 +0200)
commitcd4b45ac449a01f0819b8459c451c840437aa0a3
tree263eac4c1e15a27274f9b0f514784a1666d36ae3
parente093d06acaa99a79c6de30be22ba71faf6b78dd6
pwm: Add MediaTek MT2701 display PWM driver support

Use the mtk_pwm_data struction to define different registers
and add MT2701 specific register operations, such as MT2701
doesn't have commit register, needs to disable double buffer
before writing register, and needs to select manual mode
and use PWM_PERIOD/PWM_HIGH_WIDTH.

Signed-off-by: Weiqing Kong <weiqing.kong@mediatek.com>
[thierry.reding@gmail.com: use of_device_get_match_data()]
[thierry.reding@gmail.com: parameterize more consistently]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mtk-disp.c
This page took 0.025385 seconds and 5 git commands to generate.