imx6q: pwm: Activate stop_mode and remove auto enable after configuration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | imx6q: Configure the pwm node for pinmux supportarch/ | +42 | 2 replies | |
| 2/2 | imx6q: Set pwm control register during enable and config callarch/ arch/ drivers/ | +32 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)