/*
 * 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
.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='b45242c99f503d0a526c2b1f647ad562f9cf9dd5'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/nfc/nci/data.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/nfc/nci/data.c?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/nfc/nci/data.c?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/nfc/nci/data.c?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/nfc/nci/data.c'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='b45242c99f503d0a526c2b1f647ad562f9cf9dd5'/><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/?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/nfc?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>nfc</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/nfc/nci?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>nci</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/nfc/nci/data.c?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>data.c</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/net/nfc/nci/data.c?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>