spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver
authorLukasz Majewski <lukma@denx.de>
Thu, 5 Sep 2019 07:55:01 +0000 (09:55 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commitc883d6a0f408b0f319637a7e9b2d6099ada75a9f
tree0562dc4665be61027161c5aea36da028e8b8b175
parentcf31914cf2cd681b3e3681523afbfffb8d8a119b
spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver

After this patch the mxs_gpio.c DM/DTS driver can be used at early SPL to
read states of gpio pins (and for example alter the boot flow).

It was necessary to adjust its name to 'fsl_imx_2{38}_gpio' to match
requirements for SPL_OF_PLATDATA usage.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/gpio/mxs_gpio.c