]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mvpp2: fix polarity of PHY reset signal
authorBaruch Siach <baruch@tkos.co.il>
Mon, 15 Oct 2018 10:16:47 +0000 (13:16 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 24 Oct 2018 19:45:38 +0000 (14:45 -0500)
commitfa14027d5c54e6715d2df9526bc951df7ffc78e7
treed67fd638488c10a72fbfb4fdff5a2f5a57fbabfb
parent1ddcf5edbbe48347ecdfdeb904b62ba5f8345757
net: mvpp2: fix polarity of PHY reset signal

The dm_gpio_set_value() call sets the logical level of the GPIO signal.
That is, it takes the GPIO_ACTIVE_{LOW,HIGH} property into account. The
driver needs to assert the reset, and then deassert it. Not the other
way around.

Cc: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/mvpp2.c