[PATCH v2 2/2] Enable Stop_enable mode during configuration of pwm.

2012-08-27 Thread HACHIMI Samir
From: Samir Hachimi Enable Stop_enable mode during configuration of pwm. Check architecture by looking in driver_data instead of cpu_is_xxx. Signed-off-by: Samir Hachimi --- drivers/pwm/pwm-imx.c | 59 +++- 1 files changed, 43 insertions(+), 16 d

[PATCH v2 0/2] imx6q: pwm: Activate stop_mode and configure pinmux

2012-08-27 Thread HACHIMI Samir
From: Samir Hachimi This patch series enables support for pwm driver on imx6q SoC. The first patch of the series configure the pinctrl for pwm in device-tree. Actually they are several pin who can be set to pwmO for each pwm, so I assume that all of them must be enabled when configuring pin. The

[PATCH v2 1/2] imx6q: pwm: Add device tree support

2012-08-27 Thread HACHIMI Samir
From: Samir Hachimi Add clock look-up for pwm. Add the pinmux support for pwm. Several pin can be set to PwmO for the same Pwm. Signed-off-by: Samir Hachimi --- arch/arm/boot/dts/imx6q.dtsi | 68 ++ 1 files changed, 68 insertions(+), 0 deletions(-)