Page MenuHomeFreeBSD

jh7110_gpio: handle preset high/low
ClosedPublic

Authored by mhorne on Thu, Sep 24, 4:35 PM.
Tags
None
Referenced Files
F176187935: D59991.diff
Fri, Oct 16, 7:37 PM
F176187514: D59991.id187617.diff
Fri, Oct 16, 7:32 PM
F176181124: D59991.id188238.diff
Fri, Oct 16, 6:08 PM
F176168832: D59991.diff
Fri, Oct 16, 3:34 PM
Unknown Object (File)
Thu, Oct 15, 5:14 AM
Unknown Object (File)
Wed, Oct 14, 4:29 PM
Unknown Object (File)
Wed, Oct 14, 11:33 AM
Unknown Object (File)
Wed, Oct 7, 10:28 PM
Subscribers

Details

Summary

Take action in the presence of the GPIO_PIN_PRESET_LOW/HIGH flags. This
part of the GPIO interface seems to be unused, but is trivially
implemented in our driver.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Works fine for me.
Can't say if it works 100% correctly since there is a (very short) delay between setting the pin to output and setting the value. I don't have equipment to see how long that delay is in practice but suspect it is way to fast to be noticed for any practical use. I wonder if it is possible to set the value before setting the pin to output? I haven't seen anything suggesting that it is either possible or impossible.

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Sep 30, 7:28 PM
This revision was automatically updated to reflect the committed changes.