The PWM API documentation is lacking information about the 'flags' argument from pwm_pin_configure() and pwm_all_configure() functions. For instance, what are the configuration flags available and what do they do?
Moreover, none of the PWN drivers we have in tree actually use that argument. We need to investigate if it really makes sense to have it. If so, we need to improve documentation with the information highlighted in the first paragraph.