arm: dts: imx8m*-venice: add gpio hog support
authorTim Harvey <tharvey@gateworks.com>
Wed, 13 Apr 2022 16:02:44 +0000 (09:02 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 10:44:23 +0000 (12:44 +0200)
commitd5cc234154d3909a71cf58f0b28697d75cdcfad9
treeb1b0ee5cd9a59da4c224bbfaa737810c8af05325
parentfb9ec33878aa72bdcd5c54be73fde1c33277fbab
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>
arch/arm/dts/imx8mm-venice-gw71xx-0x-u-boot.dtsi
arch/arm/dts/imx8mm-venice-gw72xx-0x-u-boot.dtsi
arch/arm/dts/imx8mm-venice-gw73xx-0x-u-boot.dtsi
arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi
arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi
arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi
configs/imx8mm_venice_defconfig
configs/imx8mn_venice_defconfig