Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 28 Aug 2013 15:46:53 +0200 | Subject | Re: [PATCH] pinctrl: at91: add support for OUTPUT config | From | Linus Walleij <> |
| |
On Tue, Aug 27, 2013 at 4:51 PM, Boris BREZILLON <b.brezillon@overkiz.com> wrote:
> Add support for pin output control through the pinctrl config: > - support enabling/disabling output on a given pin > - support output level setting (high or low) > > Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
NAK.
We already have this:
* @PIN_CONFIG_OUTPUT: this will configure the pin in output, use argument * 1 to indicate high level, argument 0 to indicate low level.
It also has device tree bindings:
output-low - set the pin to output mode with low level output-high - set the pin to output mode with high level
Yours, Linus Walleij
| ![\](/images/icornerr.gif) |