linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/5] ARM: berlin: PWM support
@ 2015-10-02 14:59 Antoine Tenart
  2015-10-02 14:59 ` [PATCH v7 1/5] Documentation: bindings: document the Berlin PWM driver Antoine Tenart
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Antoine Tenart @ 2015-10-02 14:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

This series adds a driver for the Marvell Berlin PWM controller, which
has 4 channels.

This has been tested on a BG2Q DMP.

Thanks,

Antoine

Changes since v6:
        - Used a prescaler_table again
        - Removed the spinlock
        - Used inline function for read/write
        - Always disable the clock in _remvove()
        - Cosmtic updates
	- Reordered the Documentation patch

Changes since v5:
        - Rebased on top of 4.3-rc1
        - Added a call to clk_disable_unprepare() in case of failure

Changes since v4:
        - Reworked _remove()
        - Reworked _enable()

Changes since v3:
        - Use readl_relaxed
        - Reworked the clk enable / clk disable calls
        - Removed BERLIN_PWM_DISABLE

Changes since v2:
        - Reworked the prescaler/tcnt calculation
        - Added an input clock
        - Updated the documentation
        - Reordered the pwm node
        - Added some definition for BIT()

Changes since v1:
        - Added a sentinel in berlin_pwm_match[]

Antoine Tenart (5):
  Documentation: bindings: document the Berlin PWM driver
  pwm: add the Berlin pwm controller driver
  ARM: berlin: add a PWM node on the BG2Q
  ARM: berlin: add a PWM node on the BG2
  ARM: berlin: add a PWM node on the BG2CD

 .../devicetree/bindings/pwm/pwm-berlin.txt         |  17 ++
 arch/arm/boot/dts/berlin2.dtsi                     |   7 +
 arch/arm/boot/dts/berlin2cd.dtsi                   |   7 +
 arch/arm/boot/dts/berlin2q.dtsi                    |   7 +
 drivers/pwm/Kconfig                                |   9 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-berlin.c                           | 221 +++++++++++++++++++++
 7 files changed, 269 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-berlin.txt
 create mode 100644 drivers/pwm/pwm-berlin.c

-- 
2.6.0

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

end of thread, other threads:[~2015-10-06 19:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 14:59 [PATCH v7 0/5] ARM: berlin: PWM support Antoine Tenart
2015-10-02 14:59 ` [PATCH v7 1/5] Documentation: bindings: document the Berlin PWM driver Antoine Tenart
2015-10-05 14:29   ` Thierry Reding
2015-10-02 14:59 ` [PATCH v7 2/5] pwm: add the Berlin pwm controller driver Antoine Tenart
2015-10-05 14:30   ` Thierry Reding
2015-10-06 19:56     ` [PATCH] pwm: berlin: fix build warning Arnd Bergmann
2015-10-02 14:59 ` [PATCH v7 3/5] ARM: berlin: add a PWM node on the BG2Q Antoine Tenart
2015-10-05 18:19   ` Sebastian Hesselbarth
2015-10-02 14:59 ` [PATCH v7 4/5] ARM: berlin: add a PWM node on the BG2 Antoine Tenart
2015-10-02 14:59 ` [PATCH v7 5/5] ARM: berlin: add a PWM node on the BG2CD Antoine Tenart

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).