• Linus Walleij's avatar
    pwm: Add a driver for the STMPE PWM · ef1f09ec
    Linus Walleij authored
    This adds a driver for the PWM block found in chips of the STMPE 24xx
    series of multi-purpose I2C expanders. (I think STMPE means ST
    Microelectronics Multi-Purpose Expander.) This PWM was designed in
    accordance with Nokia specifications and is kind of weird and usually
    just switched between max and zero duty cycle. However it is indeed a
    PWM so it needs to live in the PWM subsystem.
    This PWM is mostly used for white LED backlight.
    Cc: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
pwm-stmpe.c 7.21 KB