From 0e0d38f49bb5f3ba7b1c9e18e61b51a4607f273e Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 17 May 2019 22:25:26 +0200 Subject: [PATCH] ARM: imx: vining2000: Enable DM GPIO Enable DM GPIO support on iMX6SX VINING|2000 and fix up board code where applicable. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Silvio Fricke Cc: Stefano Babic --- board/softing/vining_2000/vining_2000.c | 1 + configs/vining_2000_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index 9ab7fbeddf..d960773671 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -133,6 +133,7 @@ int board_eth_init(bd_t *bis) goto eth_fail; /* reset phy */ + gpio_request(PHY_RESET, "PHY-reset"); gpio_direction_output(PHY_RESET, 0); mdelay(16); gpio_set_value(PHY_RESET, 1); diff --git a/configs/vining_2000_defconfig b/configs/vining_2000_defconfig index 02dd223e63..94df5ac4df 100644 --- a/configs/vining_2000_defconfig +++ b/configs/vining_2000_defconfig @@ -38,6 +38,7 @@ CONFIG_EFI_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx6sx-softing-vining-2000" CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_DM_GPIO=y CONFIG_DM_MMC=y CONFIG_SUPPORT_EMMC_RPMB=y CONFIG_SUPPORT_EMMC_BOOT=y -- 2.39.5