]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: am3517_evm: Enable TCA6416PW GPIO Expander
authorAdam Ford <aford173@gmail.com>
Sun, 9 Sep 2018 14:21:21 +0000 (09:21 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 29 Sep 2018 12:07:27 +0000 (08:07 -0400)
With DM_I2C and DM_GPIO working, this patch can enable the
GPIO expander on the I2C bus.  This GPIO expander is connected
to some of the DIP switches and can now read the status of these
pins.

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/am3517_evm_defconfig

index b62f5c5bc127b08ddaa6c172ed1e4051babfc05a..e334030e5111fbfc8e46264a149da4ecf9ef36b1 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_DEFAULT_DEVICE_TREE="am3517-evm"
 CONFIG_SPL_OF_PLATDATA=y
 # CONFIG_ENV_IS_IN_FAT is not set
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_DM_PCA953X=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y