summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/imx-common
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2015-06-01 13:07:16 (GMT)
committerStefano Babic <sbabic@denx.de>2015-06-08 06:41:54 (GMT)
commitd348a943e77ed72dd809cecf03365552545382b2 (patch)
treebae29b560def8ca251f63b3ef9b914af830b0a4f /arch/arm/include/asm/imx-common
parentae89bb0d363eba33074106309c81c02f84b91ef8 (diff)
downloadu-boot-fsl-qoriq-d348a943e77ed72dd809cecf03365552545382b2.tar.xz
dm: gpio: vf610: Add GPIO driver support
Add GPIO driver support to Freescale VF610 Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Diffstat (limited to 'arch/arm/include/asm/imx-common')
-rw-r--r--arch/arm/include/asm/imx-common/iomux-v3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h
index e0a49be..2581019 100644
--- a/arch/arm/include/asm/imx-common/iomux-v3.h
+++ b/arch/arm/include/asm/imx-common/iomux-v3.h
@@ -187,6 +187,12 @@ void imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list,
*/
void imx_iomux_set_gpr_register(int group, int start_bit,
int num_bits, int value);
+#ifdef CONFIG_IOMUX_SHARE_CONF_REG
+void imx_iomux_gpio_set_direction(unsigned int gpio,
+ unsigned int direction);
+void imx_iomux_gpio_get_function(unsigned int gpio,
+ u32 *gpio_state);
+#endif
/* macros for declaring and using pinmux array */
#if defined(CONFIG_MX6QDL)