Page MenuHomeFreeBSD

Add a GPIO poweroff and reset driver.
ClosedPublic

Authored by jhibbits on Nov 15 2016, 5:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 7:20 AM
Unknown Object (File)
Nov 4 2024, 11:04 AM
Unknown Object (File)
Oct 2 2024, 1:48 PM
Unknown Object (File)
Oct 2 2024, 10:25 AM
Unknown Object (File)
Sep 30 2024, 11:16 PM
Unknown Object (File)
Sep 29 2024, 4:39 PM
Unknown Object (File)
Sep 29 2024, 4:32 PM
Unknown Object (File)
Sep 27 2024, 2:45 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhibbits retitled this revision from to Add a GPIO poweroff and reset driver..
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added reviewers: gonzo, adrian, imp.
gonzo edited edge metadata.

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"

This revision is now accepted and ready to land.Nov 15 2016, 5:44 PM
This revision was automatically updated to reflect the committed changes.