Skip to content

imx6q: pwm: Activate stop_mode and remove auto enable after configuration

hachimi.samir at gmail.com linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2imx6q: Configure the pwm node for pinmux supportarch/arm/boot/dts/imx6q.dtsi+42 -02 replies
2/2imx6q: Set pwm control register during enable and config callarch/arm/boot/dts/imx6q.dtsi arch/arm/mach-imx/clk-imx6q.c drivers/pwm/pwm-imx.c+32 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] imx6q: pwm: Activate stop_mode and remove auto enable after configuration

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 second patch activate stop_enable mode and unset the enable bit during configuration of pwm, and set the enable bit in pwm CR register during enable.

Samir Hachimi (2):
imx6q: Configure the pwm node for pinmux support.
imx6q: Set pwm control register during enable and config call

---
 arch/arm/boot/dts/imx6q.dtsi  |   50 ++++++++
 arch/arm/mach-imx/clk-imx6q.c |    4 ++++
 drivers/pwm/pwm-imx.c         |   37 ++++++++++++++++++++++++++-----------
 3 files changed, 80 insertions(+), 11 deletions(-)