/*
 * This header provides constants for most GPIO bindings.
 *
 * Most GPIO bindings include a flags cell as part of the GPIO specifier.
 * In most cases, the format of the flags cell uses the standard values
 * defined in this header.
 */

#ifndef _DT_BINDINGS_GPIO_GPIO_H
#define _DT_BINDINGS_GPIO_GPIO_H

/* Bit 0 express polarity */
#define GPIO_ACTIVE_HIGH 0
#define GPIO_ACTIVE_LOW 1

/* Bit 1 express single-endedness */
#define GPIO_PUSH_PULL 0
#define GPIO_SINGLE_ENDED 2

/*
 * Open Drain/Collector is the combination of single-ended active low,
 * Open Source/Emitter is the combination of single-ended active high.
 */
#define GPIO_OPEN_DRAIN (GPIO_SINGLE_ENDED | GPIO_ACTIVE_LOW)
#define GPIO_OPEN_SOURCE (GPIO_SINGLE_ENDED | GPIO_ACTIVE_HIGH)

#endif
ux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='33e962c8871f015f5c8978384553dddcf5b81b22'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=33e962c8871f015f5c8978384553dddcf5b81b22'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/crypto'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/crypto?id=33e962c8871f015f5c8978384553dddcf5b81b22'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/crypto?id=33e962c8871f015f5c8978384553dddcf5b81b22'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/crypto?id=33e962c8871f015f5c8978384553dddcf5b81b22'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/crypto'>
<input type='hidden' name='id' value='33e962c8871f015f5c8978384553dddcf5b81b22'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=33e962c8871f015f5c8978384553dddcf5b81b22'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=33e962c8871f015f5c8978384553dddcf5b81b22'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/crypto?id=33e962c8871f015f5c8978384553dddcf5b81b22'>crypto</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/crypto?id=33e962c8871f015f5c8978384553dddcf5b81b22&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>