Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

imx_rgpio2p.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Peng Fan's avatar
      d665eb61
      gpio: Add Rapid GPIO2P driver for i.MX7ULP · d665eb61
      Peng Fan authored
      
      Add the imx_rgpio2p driver for Rapid GPIO2P controllers on i.MX7ULP.
      Have added all ports on RGPIO2P_0 and RGPIO2P_1.
      
      The configurations CONFIG_IMX_RGPIO2P and CONFIG_DM_GPIO must be set
      to y to enable the drivers.
      
      To use the GPIO function, the IBE and OBE needs to set in IOMUXC.
      We did not set the bits in driver, but leave them to IOMUXC settings
      of the GPIO pins. User should use IMX_GPIO_NR to generate the GPIO number
      for gpio APIs access.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Reviewed-by : Stefano Babic <sbabic@denx.de>
      d665eb61
      History
      gpio: Add Rapid GPIO2P driver for i.MX7ULP
      Peng Fan authored
      
      Add the imx_rgpio2p driver for Rapid GPIO2P controllers on i.MX7ULP.
      Have added all ports on RGPIO2P_0 and RGPIO2P_1.
      
      The configurations CONFIG_IMX_RGPIO2P and CONFIG_DM_GPIO must be set
      to y to enable the drivers.
      
      To use the GPIO function, the IBE and OBE needs to set in IOMUXC.
      We did not set the bits in driver, but leave them to IOMUXC settings
      of the GPIO pins. User should use IMX_GPIO_NR to generate the GPIO number
      for gpio APIs access.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Reviewed-by : Stefano Babic <sbabic@denx.de>