This implements part of the gpio-poweroff and gpio-restart device tree
bindings. Optional properties are not handled currently. It also currently
only supports level-triggered reset.
Details
Details
- Reviewers
gonzo imp adrian - Commits
- rS308709: Add a GPIO poweroff and reset driver.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Except for two nitpicks driver looks OK
sys/dev/gpio/gpiopower.c | ||
---|---|---|
84 ↗ | (On Diff #22208) | May be a good idea to print it only for verbose boot. This information is of no use to normal user. |
111 ↗ | (On Diff #22208) | I think the convention here is not to capitalize message, so it, "dev0: message" looks more natural than "dev0: Message" |