aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2011-01-12 16:48:39 -0600
committerRanjani Vaidyanathan <ra5478@freescale.com>2011-01-13 16:56:14 -0600
commit3b360bee678b00c4c69a9e0455dc212a00e4cb4f (patch)
treea66eb8ef1529115bf1dda5e1082d78d5410ecbd1 /arch/arm/plat-mxc/include
parent03c2e69aec78b53c0cb42a6dce6d29bf52fc51a5 (diff)
ENGR00137924-1: Added API to read IOMUX settings
Added APIs to read single and multiple IOMUX pad settings. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r--arch/arm/plat-mxc/include/mach/iomux-v3.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/include/mach/iomux-v3.h b/arch/arm/plat-mxc/include/mach/iomux-v3.h
index c18e69bca9e..02e06dd7205 100644
--- a/arch/arm/plat-mxc/include/mach/iomux-v3.h
+++ b/arch/arm/plat-mxc/include/mach/iomux-v3.h
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2011 Freescale Semiconductor, Inc.
* Copyright (C) 2009 by Jan Weitzel Phytec Messtechnik GmbH,
* <armlinux@phytec.de>
*
@@ -97,15 +98,17 @@ struct pad_cfg {
#define PAD_CTL_SRE_SLOW (0 << 0)
/*
- * setups a single pad in the iomuxer
+ * read/write a single pad in the iomuxer
*/
+int mxc_iomux_v3_get_pad(struct pad_desc *pad);
int mxc_iomux_v3_setup_pad(struct pad_desc *pad);
int mxc_iomux_v3_setup_pad_ext(struct pad_cfg *pad);
/*
- * setups mutliple pads
+ * read/write mutliple pads
* convenient way to call the above function with tables
*/
+int mxc_iomux_v3_get_multiple_pads(struct pad_desc *pad_list, unsigned count);
int mxc_iomux_v3_setup_multiple_pads(struct pad_desc *pad_list, unsigned count);
int mxc_iomux_v3_setup_multiple_pads_ext(struct pad_cfg *pad_list,
unsigned count);