OSDN Git Service

gpiolib: of: add quirk for phy reset polarity for Freescale Ethernet
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Oct 2022 05:41:10 +0000 (22:41 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 20 Oct 2022 11:57:43 +0000 (13:57 +0200)
commitb02c85c9458cdd15e2c43413d7d2541a468cde57
tree457aebb9333009dd707302b8be736a3598da2fa1
parente3186e36925fc18384492491ebcf3da749780a30
gpiolib: of: add quirk for phy reset polarity for Freescale Ethernet

Bindings for Freescale Fast Ethernet Controller use a separate
property "phy-reset-active-high" to specify polarity of its phy
gpio line. To allow converting the driver to gpiod API we need
to add this quirk to gpiolib.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-of.c