Skip to content
Commit b6a00fae authored by Tim Kryger's avatar Tim Kryger Committed by Thierry Reding
Browse files

pwm: Add pwmchip_add_with_polarity() API



Add a new function to register a PWM chip with channels that have their
initial polarity as specified by an additional parameter. This benefits
drivers of controllers that by default operate with inversed polarity
by removing the need to modify the polarity during initialization.

Signed-off-by: default avatarTim Kryger <tim.kryger@gmail.com>
Signed-off-by: default avatarJonathan Richardson <jonathar@broadcom.com>
[thierry.reding@gmail.com: export pwmchip_add_with_polarity()]
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 472ac3dc
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