04 Mar, 2019

1 commit

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

    Signed-off-by: Jitao Shi
    Signed-off-by: Thierry Reding

    Jitao Shi
     

06 Sep, 2016

1 commit

  • 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
    [thierry.reding@gmail.com: use of_device_get_match_data()]
    [thierry.reding@gmail.com: parameterize more consistently]
    Signed-off-by: Thierry Reding

    Weiqing Kong
     

06 Oct, 2015

1 commit

  • 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
    Signed-off-by: Thierry Reding

    YH Huang