Skip to content

Add Rockchip Soc PWM driver

Beniamino Galvani linux-arm-kernel linux-devicetree linux-pwm lkml 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* address comments from Thierry Reding:
- remove dependency on OF
- use NSEC_PER_SEC from time.h
- fix MODULE_DEVICE_TABLE name
- make pwm_ops struct const
- indentation and cosmetics

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3pwm: add Rockchip SoC PWM supportdrivers/pwm/Kconfig drivers/pwm/Makefile drivers/pwm/pwm-rockchip.c+185 -01 reply
2/3pwm: rockchip: document device tree bindingsDocumentation/devicetree/bindings/pwm/pwm-rockchip.txt+17 -01 reply
3/3ARM: dts: rk3xxx: add PWM nodesarch/arm/boot/dts/rk3188.dtsi arch/arm/boot/dts/rk3xxx.dtsi+72 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Add Rockchip Soc PWM driver

This series adds support for the PWM controller found on Rockchip RK29, RK30 and RK31 SoCs. It is based on the documentation publicly available [0] and kernel sources from Rockchip [1] and has been tested on RK3188.

The last patch, which adds device tree nodes in the dts, depends on the clocks introduced by Heiko in his recent submission of a new clk driver for Rockchip RK3188.

[0] http://dl.radxa.com/rock/docs/hw/ds/Rockchip%20RK30xx%20TRM%20V2.0.pdf
[1] https://github.com/rkchrome/kernel

Changes in v2:
* address comments from Thierry Reding:
- remove dependency on OF
- use NSEC_PER_SEC from time.h
- fix MODULE_DEVICE_TABLE name
- make pwm_ops struct const
- indentation and cosmetics

Beniamino Galvani (3):
pwm: add Rockchip SoC PWM support
pwm: rockchip: document device tree bindings
ARM: dts: rk3xxx: add PWM nodes

 .../devicetree/bindings/pwm/pwm-rockchip.txt       |   17 ++
 arch/arm/boot/dts/rk3188.dtsi                      |   40 +++++
 arch/arm/boot/dts/rk3xxx.dtsi                      |   32 ++++
 drivers/pwm/Kconfig                                |    7 +
 drivers/pwm/Makefile                               |    1 +
 drivers/pwm/pwm-rockchip.c                         |  177 ++++++++++++++++++++
 6 files changed, 274 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
 create mode 100644 drivers/pwm/pwm-rockchip.c
Signature · 1 line
1.7.10.4