Skip to content

Commit

Permalink
overlays: clarify w1-gpio pullup options, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Elwell committed Feb 4, 2015
1 parent 28f1f25 commit 400dbb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions boot/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -207,19 +207,23 @@ Params: gpiopin GPIO input pin (default "18")
File: w1-gpio-overlay.dtb
Info: Configures the w1-gpio Onewire interface module.
Use this overlay if you *don't* need a pin to drive an external pullup.
N.B. The parasitic power feature is not yet functional using DT.
Load: dtoverlay=w1-gpio,<param>=<val>
Params: gpiopin GPIO pin for I/O (default "4")

pullup Non-zero, "on", or "y" to enable the parasitic
power (2-wire, power-on-data) feature


File: w1-gpio-pullup-overlay.dtb
Info: Configures the w1-gpio Onewire interface module.
Use this overlay if you *do* need a pin to drive an external pullup.
N.B. The parasitic power feature is not yet functional using DT.
Load: dtoverlay=w1-gpio-pullup,<param>=<val>,...
Params: gpiopin GPIO pin for I/O (default "4")

pullup GPIO pin for external pullup (default "5")
pullup Non-zero, "on", or "y" to enable the parasitic
power (2-wire, power-on-data) feature

extpullup GPIO pin for external pullup (default "5")


Troubleshooting
Expand Down
Binary file modified boot/overlays/w1-gpio-overlay.dtb
Binary file not shown.
Binary file modified boot/overlays/w1-gpio-pullup-overlay.dtb
Binary file not shown.

2 comments on commit 400dbb7

@PeterPablo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this please be pushed to rpi-update. The rpi-firmware repository currently servers up to commit Hexxeh/rpi-firmware@2d2052a.

@popcornmix
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be up to date now.

Please sign in to comment.