ata: ahci-imx: Covert to use GPIO descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Jan 2019 22:27:02 +0000 (23:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Oct 2019 22:53:00 +0000 (00:53 +0200)
commit8a99358a1d8e4987f9b2b9cbb5e31a44f9c4c674
tree4f2710b6de81e1ab29019e1595379b6c5fc28695
parentfe12e94375da34d62f7d5556161ce7629212ff80
ata: ahci-imx: Covert to use GPIO descriptor

This converts the i.MX AHCI driver to use a GPIO descriptor
instead of parsing the device tree by itself.

This driver is quite obviously device tree only, and the
GPIO line is treated as optional, so let's keep it as
optional.

None of the device trees in the kernel use this GPIO
facility today, so it is hard to test.

Cc: Egor Starkov <egor.starkov@ge.com>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/ata/ahci_imx.c