mbox series

[0/1] gpio: of: prepare for switching stmmac to GPIO descriptors

Message ID 20190610170523.26554-1-martin.blumenstingl@googlemail.com
Headers show
Series gpio: of: prepare for switching stmmac to GPIO descriptors | expand

Message

Martin Blumenstingl June 10, 2019, 5:05 p.m. UTC
This is a preparation patch which is needed before we can switch stmmac
to GPIO descriptors. stmmac has a custom "snps,reset-active-low"
property because it has ignored the GPIO flags including the polarity.

Add the parsing to gpiolib-of so we can port stmmac over to GPIO
descriptors.

This patch is split from my series at [0].

Linus W.: please create an immutable branch as discussed so I can send
the stmmac patches to the net-next tree (which will then have to pull
in your immutable branch).


[0] https://patchwork.kernel.org/cover/10983801/


Martin Blumenstingl (1):
  gpio: of: parse stmmac PHY reset line specific active-low property

 drivers/gpio/gpiolib-of.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Linus Walleij June 12, 2019, 7:49 a.m. UTC | #1
On Mon, Jun 10, 2019 at 7:05 PM Martin Blumenstingl
<martin.blumenstingl@googlemail.com> wrote:

> This is a preparation patch which is needed before we can switch stmmac
> to GPIO descriptors. stmmac has a custom "snps,reset-active-low"
> property because it has ignored the GPIO flags including the polarity.
>
> Add the parsing to gpiolib-of so we can port stmmac over to GPIO
> descriptors.
>
> This patch is split from my series at [0].
>
> Linus W.: please create an immutable branch as discussed so I can send
> the stmmac patches to the net-next tree (which will then have to pull
> in your immutable branch).

Thanks Martin!
I have applied the patch and created an immutable branch:
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
ib-snps-reset-gpio

https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/log/?h=ib-snps-reset-gpio

Please refer to this so the network maintainer can pull it in.

It is based on v5.2-rc1

Yours,
Linus Walleij