summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-cros-ec.c
diff options
context:
space:
mode:
authorWeiqing Kong <weiqing.kong@mediatek.com>2016-07-11 16:18:08 +0800
committerThierry Reding <thierry.reding@gmail.com>2016-09-06 10:48:53 +0200
commitcd4b45ac449a01f0819b8459c451c840437aa0a3 (patch)
tree263eac4c1e15a27274f9b0f514784a1666d36ae3 /drivers/pwm/pwm-cros-ec.c
parente093d06acaa99a79c6de30be22ba71faf6b78dd6 (diff)
downloadlinux-cd4b45ac449a01f0819b8459c451c840437aa0a3.tar.gz
linux-cd4b45ac449a01f0819b8459c451c840437aa0a3.tar.bz2
linux-cd4b45ac449a01f0819b8459c451c840437aa0a3.zip
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>
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
0 files changed, 0 insertions, 0 deletions