[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1398727686-14496-1-git-send-email-alexandre.belloni@free-electrons.com>
Date: Tue, 29 Apr 2014 01:28:04 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Thierry Reding <thierry.reding@...il.com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: linux-pwm@...r.kernel.org, linux-doc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Subject: [PATCHv4 0/2] Add Allwinner SoCs PWM support
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
Changes in v4:
- use the non relaxed versions of readl/writel
- dropped the DT patches that got applied
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
.../devicetree/bindings/pwm/pwm-sunxi.txt | 20 ++
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-sunxi.c | 345 +++++++++++++++++++++
4 files changed, 375 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sunxi.txt
create mode 100644 drivers/pwm/pwm-sunxi.c
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists