forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auxdata to instantiate the PWFM controller from a device tree, include the corresponding nodes in the dtsi files for Tegra 20 and Tegra 30 and add binding documentation. Acked-by: Stephen Warren <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information
Thierry Reding
committed
Jul 2, 2012
1 parent
0134b93
commit 140fd97
Showing
6 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.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,18 @@ | ||
Tegra SoC PWFM controller | ||
|
||
Required properties: | ||
- compatible: should be one of: | ||
- "nvidia,tegra20-pwm" | ||
- "nvidia,tegra30-pwm" | ||
- reg: physical base address and length of the controller's registers | ||
- #pwm-cells: On Tegra the number of cells used to specify a PWM is 2. The | ||
first cell specifies the per-chip index of the PWM to use and the second | ||
cell is the duty cycle in nanoseconds. | ||
|
||
Example: | ||
|
||
pwm: pwm@7000a000 { | ||
compatible = "nvidia,tegra20-pwm"; | ||
reg = <0x7000a000 0x100>; | ||
#pwm-cells = <2>; | ||
}; |
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
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
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
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
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