remoteproc/keystone: Switch to using gpiod API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Sep 2022 21:08:33 +0000 (14:08 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 19 Sep 2022 21:32:27 +0000 (15:32 -0600)
commitfa25b944174a6a25a14a2bb1c52cf74d5ad95140
tree08ff50119d78922961e6d93d9bc32e1292a06eff
parent698ae3d76bcbc622d2882f03477ad1dd8179739f
remoteproc/keystone: Switch to using gpiod API

This patch switches the driver away from legacy gpio/of_gpio API to
gpiod API, and removes use of of_get_named_gpio_flags() which I want to
make private to gpiolib.

Note that there is a behavior change in the driver: previously the
driver did not actually request GPIO, it simply parsed GPIO number out
of device tree and poked at it.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/Yxe20ehiOnitDGus@google.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/keystone_remoteproc.c