[U-Boot] [PATCH v2 3/6] arm: mvebu: helios4: Enable mvebu GPIO
Aditya Prayoga
aditya at kobol.io
Fri Nov 30 02:54:56 UTC 2018
Make use of U-Boot's GPIO DM to control native GPIO and I2C IO expander.
Signed-off-by: Aditya Prayoga <aditya at kobol.io>
---
v2:
* Rearrange the patch, move I2C IO expander DM convertion together
with I2C.
---
configs/helios4_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig
index 6471fa3..69dd774 100644
--- a/configs/helios4_defconfig
+++ b/configs/helios4_defconfig
@@ -22,6 +22,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141
CONFIG_SPL_I2C_SUPPORT=y
# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_PCI=y
@@ -38,6 +39,8 @@ CONFIG_ENV_IS_IN_MMC=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_SPL_OF_TRANSLATE=y
CONFIG_SCSI_AHCI=y
+CONFIG_DM_GPIO=y
+CONFIG_MVEBU_GPIO=y
CONFIG_DM_PCA953X=y
CONFIG_DM_I2C=y
CONFIG_SYS_I2C_MVTWSI=y
--
2.7.4
More information about the U-Boot
mailing list