]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mpc8xxx: simplify ls1028a/ls1088a support
authorMichael Walle <michael@walle.cc>
Wed, 30 Sep 2020 07:42:11 +0000 (09:42 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 30 Sep 2020 08:50:30 +0000 (10:50 +0200)
commit2d5430a3bd31e2bd3db0075144b7c86c20745b7f
tree377ce82decd8cd1030af8d14c3a0a2da60761339
parenta45d49390f0af5c1addb6899cd18ab75d8373238
gpio: mpc8xxx: simplify ls1028a/ls1088a support

Some Layerscape/QoriQ SoCs have input buffers which needs to be enabled
first. This was done in two different ways in the driver. Unify it.

This was tested on a LS1028A SoC.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mpc8xxx.c