Skip to content
Commit cd4b45ac authored by Weiqing Kong's avatar Weiqing Kong Committed by Thierry Reding
Browse files

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: default avatarWeiqing 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: default avatarThierry Reding <thierry.reding@gmail.com>
parent e093d06a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment