Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347123
b: refs/heads/master
c: 3744c26
h: refs/heads/master
i:
  347121: ecc82ce
  347119: 30cd2ee
v: v3
  • Loading branch information
Peter Ujfalusi authored and Thierry Reding committed Nov 28, 2012
1 parent 22303c5 commit a4c9541
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98ccf49daf3bd626196814e38ec8d2460e0d4517
refs/heads/master: 3744c26386971db1c7ecf5aa5900882deae60492
17 changes: 17 additions & 0 deletions trunk/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Texas Instruments TWL series PWM drivers

Supported PWMs:
On TWL4030 series: PWM1 and PWM2
On TWL6030 series: PWM0 and PWM1

Required properties:
- compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm"
- #pwm-cells: should be 2. The first cell specifies the per-chip index
of the PWM to use and the second cell is the period in nanoseconds.

Example:

twl_pwm: pwm {
compatible = "ti,twl6030-pwm";
#pwm-cells = <2>;
};
9 changes: 9 additions & 0 deletions trunk/drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ config PWM_TWL6030
To compile this driver as a module, choose M here: the module
will be called pwm-twl6030.

config PWM_TWL
tristate "TWL4030/6030 PWM support"
depends on TWL4030_CORE
help
Generic PWM framework driver for TWL4030/6030.

To compile this driver as a module, choose M here: the module
will be called pwm-twl.

config PWM_VT8500
tristate "vt8500 pwm support"
depends on ARCH_VT8500
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/pwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ obj-$(CONFIG_PWM_TIECAP) += pwm-tiecap.o
obj-$(CONFIG_PWM_TIEHRPWM) += pwm-tiehrpwm.o
obj-$(CONFIG_PWM_TIPWMSS) += pwm-tipwmss.o
obj-$(CONFIG_PWM_TWL6030) += pwm-twl6030.o
obj-$(CONFIG_PWM_TWL) += pwm-twl.o
obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o
Loading

0 comments on commit a4c9541

Please sign in to comment.