]> git.baikalelectronics.ru Git - uboot.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)
commitd95e2a57a5a0d23d6fa5056ff2717455ea6e5f46
treed67fd638488c10a72fbfb4fdff5a2f5a57fbabfb
parent58d9bc78789fcb88720b04f89bd6351a6d9825df
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