# \[RFC PATCH 2/5\] gpio: gpiolib: Add OF support for maintaining GPIO values on reset

- From: Andrew Jeffery \<hidden\>
- Date: 2017-10-20 07:29:53 
- List: linux-aspeed
- Page: https://ratatoskr.run/linux-aspeed/2017/10/5114619
- Thread: https://ratatoskr.run/linux-gpio/2017/10/5114501/t.md

```text
On Fri, 2017-10-20 at 09:18 +0200, Linus Walleij wrote:
> On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery [ref]
> wrote:
> 
> > @@ -32,6 +32,7 @@ enum of_gpio_flags {
> >         OF_GPIO_SINGLE_ENDED = 0x2,
> >         OF_GPIO_OPEN_DRAIN = 0x4,
> >         OF_GPIO_SLEEP_MAY_LOSE_VALUE = 0x8,
> > +       OF_GPIO_RESET_TOLERANT = 0x16,
> 
> Now you're mixing up decimal and hex.

Ugh. Whoops.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20171020/ea6499f4/attachment.sig>
```
