diff options
author | Tim Harvey <tharvey@gateworks.com> | 2022-04-13 09:02:44 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-21 12:44:23 +0200 |
commit | d5cc234154d3909a71cf58f0b28697d75cdcfad9 (patch) | |
tree | b1b0ee5cd9a59da4c224bbfaa737810c8af05325 /configs | |
parent | fb9ec33878aa72bdcd5c54be73fde1c33277fbab (diff) | |
download | u-boot-d5cc234154d3909a71cf58f0b28697d75cdcfad9.zip u-boot-d5cc234154d3909a71cf58f0b28697d75cdcfad9.tar.gz u-boot-d5cc234154d3909a71cf58f0b28697d75cdcfad9.tar.bz2 |
arm: dts: imx8m*-venice: add gpio hog support
Add gpio hog support for board-specific gpio lines:
- put hogs in u-boot.dtsi so as to keep the regular dts files
in sync with the kernel. The hogs will not be put in the kernel
as that makes them un-usable by userspace as well as
re-initializes them to dt defaults overriding changes which may
have been done by bootloader commands.
- specify gpio names and initial config
- enable GPIO_HOG
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/imx8mm_venice_defconfig | 1 | ||||
-rw-r--r-- | configs/imx8mn_venice_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig index 09f7d8a..b596f7e 100644 --- a/configs/imx8mm_venice_defconfig +++ b/configs/imx8mm_venice_defconfig @@ -73,6 +73,7 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y CONFIG_CLK_COMPOSITE_CCF=y CONFIG_SPL_CLK_IMX8MM=y CONFIG_CLK_IMX8MM=y +CONFIG_GPIO_HOG=y CONFIG_MXC_GPIO=y CONFIG_DM_I2C=y CONFIG_LED=y diff --git a/configs/imx8mn_venice_defconfig b/configs/imx8mn_venice_defconfig index afb9c5c..2f5ea62 100644 --- a/configs/imx8mn_venice_defconfig +++ b/configs/imx8mn_venice_defconfig @@ -72,6 +72,7 @@ CONFIG_TFTP_BLOCKSIZE=4096 CONFIG_SPL_DM=y CONFIG_SPL_CLK_IMX8MN=y CONFIG_CLK_IMX8MN=y +CONFIG_GPIO_HOG=y CONFIG_MXC_GPIO=y CONFIG_DM_I2C=y CONFIG_LED=y |