gpio: mxc_gpio: add OF_PLATDATA support
authorWalter Lozano <walter.lozano@collabora.com>
Wed, 29 Jul 2020 15:31:18 +0000 (12:31 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2020 12:50:29 +0000 (14:50 +0200)
commita2845c9eebb61f840397380a209981d9ab709d1a
tree4f109e12331f4dc471c48c1068ec8f49e1164df2
parent23721778647775df398ae1055364c7a881e62263
gpio: mxc_gpio: add OF_PLATDATA support

Continuing with the OF_PLATADATA support for iMX6 to reduce SPL
footprint, add it to mxc_gpio. Thanks to this, it will be possible to
enable card detection on MMC driver.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
drivers/gpio/mxc_gpio.c