# Re: \[PATCH 1/3\] serial: mctrl\_gpio: restrict MCTRL initialization

- From: Andy Shevchenko \<hidden\>
- Date: 2017-07-27 14:55:44 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2017/07/8142008
- Thread: https://ratatoskr.run/linux-devicetree/2017/07/8142008/t.md

```text
On Thu, 2017-07-27 at 16:00 +0200, Uwe Kleine-König wrote:
> Hello,
> 
> On Thu, Jul 27, 2017 at 03:17:34PM +0200, yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
> wrote:
> > GPIOs specified for serial port can be used either as GPIO driven
> > MCTRL
> > or as a wakeup-source. Use the latter property to abort the MCTRL
> > initialization.
> 
> Why is that an either-or and not an and?

That is how mctrl is designed right now.

Note marking the pin as a wakeup source inside mctrl driver will not
help since there is much bigger issue, i.e. pinctrl is not ready for a
such.

-- 
Andy Shevchenko [ref]
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
