# Re: \[PATCH v6 6/9\] gpio: gpio-aspeed-sgpio: Add set\_config function

- From: Linus Walleij \<hidden\>
- Date: 2021-07-23 09:58:52 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/07/1455755
- Thread: https://ratatoskr.run/linux-gpio/2021/07/1441778/t.md

```text
On Mon, Jul 12, 2021 at 12:04 PM Steven Lee [ref] wrote:

> AST SoC supports *retain pin state* function when wdt reset.
> The patch adds set_config function for handling sgpio reset tolerance
> register.
>
> Signed-off-by: Steven Lee <redacted>
> Reviewed-by: Andrew Jeffery <redacted>

Excellent reuse of existing pin config property.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
```
