Created
May 13, 2015 21:02
-
-
Save RobertCNelson/ae439560b42998c11517 to your computer and use it in GitHub Desktop.
wandboard pin:
This file contains hidden or 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
| <aholler> there was a version of the rfkill-driver which printed a message | |
| * RzR ([email protected]) has joined #wandboard | |
| <aholler> + /* GPIO for detecting C1 revision of Wandboard */ | |
| <aholler> + wand_rev_gpio = of_get_named_gpio(pdev->dev.of_node, "wand-rev-gpio", 0); | |
| <aholler> + if (!gpio_is_valid(wand_rev_gpio)) { | |
| <aholler> + | |
| <aholler> + dev_err(&pdev->dev, "incorrect Wandboard revision check gpio (%d)\n", | |
| <aholler> + wand_rev_gpio); | |
| <aholler> + return -EINVAL; | |
| <aholler> + } | |
| <aholler> wand-rev-gpio = <&gpio2 28 0>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment