OSDN Git Service

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)
commit3795d7cc4fe13200dae9fade93441b4d5f123b74
tree377ce82decd8cd1030af8d14c3a0a2da60761339
parente0ab949f152a7f070fbf7b56d9caa4206b140190
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