Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Created May 13, 2015 21:02
Show Gist options
  • Select an option

  • Save RobertCNelson/ae439560b42998c11517 to your computer and use it in GitHub Desktop.

Select an option

Save RobertCNelson/ae439560b42998c11517 to your computer and use it in GitHub Desktop.
wandboard pin:
<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