[OpenWrt-Devel] gpio-export,output and GPIO_ACTIVE_*

mail at adrianschmutzler.de mail at adrianschmutzler.de
Sun Feb 23 14:51:42 EST 2020


when defining gpio-export nodes, I'm never really sure about how the values for "gpio-export,output" and GPIO_ACTIVE_HIGH/LOW in gpios have to be set up correctly in relation to each other.

I also was not able to retrieve a particular system in how this is set up currently (for different devices).

It would be nice if somebody could elaborate this to me (I've found several shorter explanations in the PR comments throughout GitHub, but they unfortunately were never comprehensive.)

(And I assume the same logic will apply to gpio-hogs with output-low/high and gpios parameter?)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200223/5004ada6/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list