-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philip, Avinash
authored and
Thierry Reding
committed
Nov 28, 2012
1 parent
c5c038c
commit ecc82ce
Showing
3 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: d91861dafda44d808272f55758ca91d962feda6e | ||
refs/heads/master: 53ad9e8d37031397ee141f9bf701c0fba4257b0f |
23 changes: 23 additions & 0 deletions
23
trunk/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TI SOC EHRPWM based PWM controller | ||
|
||
Required properties: | ||
- compatible : Must be "ti,am33xx-ehrpwm" | ||
- #pwm-cells: Should be 3. Number of cells being used to specify PWM property. | ||
First cell specifies the per-chip index of the PWM to use, the second | ||
cell is the period in nanoseconds and bit 0 in the third cell is used to | ||
encode the polarity of PWM output. Set bit 0 of the third in PWM specifier | ||
to 1 for inverse polarity & set to 0 for normal polarity. | ||
- reg: physical base address and size of the registers map. | ||
|
||
Optional properties: | ||
- ti,hwmods: Name of the hwmod associated to the EHRPWM: | ||
"ehrpwm<x>", <x> being the 0-based instance number from the HW spec | ||
|
||
Example: | ||
|
||
ehrpwm0: ehrpwm@0 { | ||
compatible = "ti,am33xx-ehrpwm"; | ||
#pwm-cells = <3>; | ||
reg = <0x48300200 0x100>; | ||
ti,hwmods = "ehrpwm0"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters