[PATCH v9 0/2] PWM: pwm-atmel: add PWM controller driver

From: Bo Shen
Date: Fri Dec 13 2013 - 01:43:09 EST


This patch series add Atmel PWM controller driver support.

Changes in v9:
- Address the comments from Thierry Reding

Changes in v8:
- replace pr_err by dev_err

Changes in v7:
- fix issue for none device tree issues.

Changes in v6:
- using relaxed version for writel and readl
- add none device tree support
- change some define from lower case to upper case
- split device tree binding document as a separate patch

Changes in v5:
- call clk_disable directly, if so, it won't cause more than one channel
enabled, the clock can not be disabled.

Changes in v4:
- check the return value of clk_prepare()
- change channel register size as constant

Changes in v3:
- change compatible string from "atmel,sama5-pwm" to "atmel,sama5d3-pwm"
- Add PWM led example in binding documentation
- Using micro replace hard code

Changes in v2:
- Address the comments from Thierry Reding


Bo Shen (2):
PWM: atmel-pwm: add PWM controller driver
PWM: atmel-pwm: add device tree binding document

.../devicetree/bindings/pwm/atmel-pwm.txt | 41 ++
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-atmel.c | 398 ++++++++++++++++++++
4 files changed, 449 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/atmel-pwm.txt
create mode 100644 drivers/pwm/pwm-atmel.c

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/