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

- From: Linus Walleij \<hidden\>
- Date: 2017-10-20 07:29:33 
- List: linux-aspeed
- Page: https://ratatoskr.run/linux-aspeed/2017/10/5114620
- Thread: https://ratatoskr.run/linux-gpio/2017/10/5114501/t.md

```text
On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery [ref] wrote:

> Expose a new 'maintain' sysfs attribute to control both suspend and
> reset tolerance.
>
> Signed-off-by: Andrew Jeffery <redacted>

NAK. You will find the actual ABI documentation in
Documentation/ABI/obsolete/sysfs-gpio
that's why. This is being phased out and should not be extended.
Everyone should use the character device, especially for new
functionality.

Yours,
Linus Walleij
```
