diff options
author | Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> | 2019-04-17 13:57:14 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2019-05-20 11:57:12 +0200 |
commit | 08cc54f0719cccb27e18d4a09a64c52c84e1a72d (patch) | |
tree | 090d57ad477501514e2b29e88826df2a98c42fd8 /board/beckhoff/mx53cx9020/mx53cx9020_video.c | |
parent | d5006836912e69ef2a0620ecdf1311dcd113a7d2 (diff) | |
download | u-boot-08cc54f0719cccb27e18d4a09a64c52c84e1a72d.tar.gz |
dm: arm: imx: cx9020: enable DM_GPIO
Switch to DM_GPIO and add gpio_request where necessary.
This is needed for DM_VIDEO and fixes an issue with sd card detection
which was introduced by the combination of these commits:
commit 7a0425dd969c ("mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops")
commit 7e04b4c751a1 ("dm: arm: imx: migrate cx9020 to CONFIG_DM_MMC")
Acked-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
Diffstat (limited to 'board/beckhoff/mx53cx9020/mx53cx9020_video.c')
-rw-r--r-- | board/beckhoff/mx53cx9020/mx53cx9020_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/beckhoff/mx53cx9020/mx53cx9020_video.c b/board/beckhoff/mx53cx9020/mx53cx9020_video.c index 4055bccc2b..85f1cdae8a 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020_video.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020_video.c @@ -36,6 +36,7 @@ void setup_iomux_lcd(void) { /* Turn on DVI_PWD */ imx_iomux_v3_setup_pad(MX53_PAD_CSI0_DAT15__GPIO6_1); + gpio_request(CX9020_DVI_PWD, "CX9020_DVI_PWD"); gpio_direction_output(CX9020_DVI_PWD, 1); } |