linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/7] Add Allwinner SoCs PWM support
@ 2014-04-28 16:17 Alexandre Belloni
  2014-04-28 16:17 ` [PATCHv3 1/7] pwm: Add Allwinner SoC support Alexandre Belloni
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Alexandre Belloni @ 2014-04-28 16:17 UTC (permalink / raw)
  To: Thierry Reding, Maxime Ripard
  Cc: linux-pwm, linux-doc, linux-arm-kernel, linux-kernel,
	Alexandre Belloni

Hi,

This patch set adds support for the PWM controller found on the Allwinner SoCs.

The first patch adds the driver itself.
The second patch adds the DT binding documentation
The third patch adds the bindings to the sun7i-a20 DTS include.
And finally, the la patch adds support for the PWMs to the cubietruck which is
the board I used to test.

Changes in v3:
 - added COMPILE_TEST as a dependency
 - fixed indentation
 - modified the macros like suggested by Maxime

Changes in v2:
 - changed the compatible string
 - documented the clocks property
 - Added support in the A10 dtsi
 - split the patch adding pinctrl
 - a few cosmetic changes (removed empty lines, PWM_PRESCAL_MASK, ...)
 - fixed the period register calculation (the period is actually N + 1 cycles)
   so write prd - 1
 - properly locked accesses to PWM_CTRL_REG with a mutex

Alexandre Belloni (7):
  pwm: Add Allwinner SoC support
  pwm: sunxi: document OF bindings
  ARM: sun4i: dt: add pinmux configuration for the PWM
  ARM: sun4i: dt: add PWM support
  ARM: sun7i: dt: add pinmux configuration for the PWM
  ARM: sun7i: dt: add PWM support
  ARM: sunxi: dt: add PWM support for the cubietruck

 .../devicetree/bindings/pwm/pwm-sunxi.txt          |  20 ++
 arch/arm/boot/dts/sun4i-a10.dtsi                   |  22 ++
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts         |   6 +
 arch/arm/boot/dts/sun7i-a20.dtsi                   |  22 ++
 drivers/pwm/Kconfig                                |   9 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-sunxi.c                            | 345 +++++++++++++++++++++
 7 files changed, 425 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sunxi.txt
 create mode 100644 drivers/pwm/pwm-sunxi.c

-- 
1.9.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-04-28 19:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 16:17 [PATCHv3 0/7] Add Allwinner SoCs PWM support Alexandre Belloni
2014-04-28 16:17 ` [PATCHv3 1/7] pwm: Add Allwinner SoC support Alexandre Belloni
2014-04-28 19:10   ` Maxime Ripard
2014-04-28 16:17 ` [PATCHv3 2/7] pwm: sunxi: document OF bindings Alexandre Belloni
2014-04-28 16:17 ` [PATCHv3 3/7] ARM: sun4i: dt: add pinmux configuration for the PWM Alexandre Belloni
2014-04-28 19:09   ` Maxime Ripard
2014-04-28 16:17 ` [PATCHv3 4/7] ARM: sun4i: dt: add PWM support Alexandre Belloni
2014-04-28 19:13   ` Maxime Ripard
2014-04-28 16:17 ` [PATCHv3 5/7] ARM: sun7i: dt: add pinmux configuration for the PWM Alexandre Belloni
2014-04-28 19:11   ` Maxime Ripard
2014-04-28 16:17 ` [PATCHv3 6/7] ARM: sun7i: dt: add PWM support Alexandre Belloni
2014-04-28 19:13   ` Maxime Ripard
2014-04-28 16:17 ` [PATCHv3 7/7] ARM: sunxi: dt: add PWM support for the cubietruck Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).