[PATCH v5 4/7] PWM: add PWM driver for STM32 plaftorm

2016-12-08 Thread Benjamin Gaignard
This driver adds support for PWM driver on STM32 platform. The SoC have multiple instances of the hardware IP and each of them could have small differences: number of channels, complementary output, auto reload register size... version 4: - detect at probe time hardware capabilities - fix

[PATCH v5 4/7] PWM: add PWM driver for STM32 plaftorm

2016-12-08 Thread Benjamin Gaignard
This driver adds support for PWM driver on STM32 platform. The SoC have multiple instances of the hardware IP and each of them could have small differences: number of channels, complementary output, auto reload register size... version 4: - detect at probe time hardware capabilities - fix