[PATCH v5 13/14] pwm: jz4740: Let the pinctrl driver configure the pins

2017-04-28 Thread Paul Cercueil
Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. One inherent problem of this new approach is that the pinctrl framework does not allow us to configure each pin on demand, when the various PWM channels are

[PATCH v5 13/14] pwm: jz4740: Let the pinctrl driver configure the pins

2017-04-28 Thread Paul Cercueil
Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on the pins being properly configured before the driver probes. One inherent problem of this new approach is that the pinctrl framework does not allow us to configure each pin on demand, when the various PWM channels are