-
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.
yaml --- r: 331347 b: refs/heads/master c: 55fb8b0 h: refs/heads/master i: 331345: 14e6b1e 331343: 3151c5b v: v3
- Loading branch information
Jamie Lentin
authored and
Jason Cooper
committed
Sep 22, 2012
1 parent
180459e
commit 6a18bfa
Showing
3 changed files
with
146 additions
and
1 deletion.
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: f37fbd36c5f9fe716ddf783415a67de03fb0dc3d | ||
refs/heads/master: 55fb8b06813b190a9366fee396fac109638a9c9d |
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,25 @@ | ||
Bindings for fan connected to GPIO lines | ||
|
||
Required properties: | ||
- compatible : "gpio-fan" | ||
- gpios: Specifies the pins that map to bits in the control value, | ||
ordered MSB-->LSB. | ||
- gpio-fan,speed-map: A mapping of possible fan RPM speeds and the | ||
control value that should be set to achieve them. This array | ||
must have the RPM values in ascending order. | ||
|
||
Optional properties: | ||
- alarm-gpios: This pin going active indicates something is wrong with | ||
the fan, and a udev event will be fired. | ||
|
||
Examples: | ||
|
||
gpio_fan { | ||
compatible = "gpio-fan"; | ||
gpios = <&gpio1 14 1 | ||
&gpio1 13 1>; | ||
gpio-fan,speed-map = <0 0 | ||
3000 1 | ||
6000 2>; | ||
alarm-gpios = <&gpio1 15 1>; | ||
}; |
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