aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/mach/mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/mach/mux.h')
-rw-r--r--arch/arm/plat-omap/include/mach/mux.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/arch/arm/plat-omap/include/mach/mux.h b/arch/arm/plat-omap/include/mach/mux.h
index 66ae302f0c0..f3c1d8a9045 100644
--- a/arch/arm/plat-omap/include/mach/mux.h
+++ b/arch/arm/plat-omap/include/mach/mux.h
@@ -51,12 +51,12 @@
51 .pu_pd_reg = PU_PD_SEL_##reg, \ 51 .pu_pd_reg = PU_PD_SEL_##reg, \
52 .pu_pd_val = status, 52 .pu_pd_val = status,
53 53
54#define MUX_REG_730(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \ 54#define MUX_REG_7XX(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \
55 .mux_reg = OMAP7XX_IO_CONF_##reg, \ 55 .mux_reg = OMAP7XX_IO_CONF_##reg, \
56 .mask_offset = mode_offset, \ 56 .mask_offset = mode_offset, \
57 .mask = mode, 57 .mask = mode,
58 58
59#define PULL_REG_730(reg, bit, status) .pull_name = "OMAP7XX_IO_CONF_"#reg, \ 59#define PULL_REG_7XX(reg, bit, status) .pull_name = "OMAP7XX_IO_CONF_"#reg, \
60 .pull_reg = OMAP7XX_IO_CONF_##reg, \ 60 .pull_reg = OMAP7XX_IO_CONF_##reg, \
61 .pull_bit = bit, \ 61 .pull_bit = bit, \
62 .pull_val = status, 62 .pull_val = status,
@@ -74,12 +74,12 @@
74#define PU_PD_REG(reg, status) .pu_pd_reg = PU_PD_SEL_##reg, \ 74#define PU_PD_REG(reg, status) .pu_pd_reg = PU_PD_SEL_##reg, \
75 .pu_pd_val = status, 75 .pu_pd_val = status,
76 76
77#define MUX_REG_730(reg, mode_offset, mode) \ 77#define MUX_REG_7XX(reg, mode_offset, mode) \
78 .mux_reg = OMAP7XX_IO_CONF_##reg, \ 78 .mux_reg = OMAP7XX_IO_CONF_##reg, \
79 .mask_offset = mode_offset, \ 79 .mask_offset = mode_offset, \
80 .mask = mode, 80 .mask = mode,
81 81
82#define PULL_REG_730(reg, bit, status) .pull_reg = OMAP7XX_IO_CONF_##reg, \ 82#define PULL_REG_7XX(reg, bit, status) .pull_reg = OMAP7XX_IO_CONF_##reg, \
83 .pull_bit = bit, \ 83 .pull_bit = bit, \
84 .pull_val = status, 84 .pull_val = status,
85 85
@@ -104,13 +104,13 @@
104 * - for pull-up/down, only has one enable bit which is is in the same register 104 * - for pull-up/down, only has one enable bit which is is in the same register
105 * as mux config 105 * as mux config
106 */ 106 */
107#define MUX_CFG_730(desc, mux_reg, mode_offset, mode, \ 107#define MUX_CFG_7XX(desc, mux_reg, mode_offset, mode, \
108 pull_bit, pull_status, debug_status)\ 108 pull_bit, pull_status, debug_status)\
109{ \ 109{ \
110 .name = desc, \ 110 .name = desc, \
111 .debug = debug_status, \ 111 .debug = debug_status, \
112 MUX_REG_730(mux_reg, mode_offset, mode) \ 112 MUX_REG_7XX(mux_reg, mode_offset, mode) \
113 PULL_REG_730(mux_reg, pull_bit, pull_status) \ 113 PULL_REG_7XX(mux_reg, pull_bit, pull_status) \
114 PU_PD_REG(NA, 0) \ 114 PU_PD_REG(NA, 0) \
115}, 115},
116 116
@@ -202,23 +202,23 @@ struct pin_config {
202 202
203}; 203};
204 204
205enum omap730_index { 205enum omap7xx_index {
206 /* OMAP 730 keyboard */ 206 /* OMAP 730 keyboard */
207 E2_730_KBR0, 207 E2_7XX_KBR0,
208 J7_730_KBR1, 208 J7_7XX_KBR1,
209 E1_730_KBR2, 209 E1_7XX_KBR2,
210 F3_730_KBR3, 210 F3_7XX_KBR3,
211 D2_730_KBR4, 211 D2_7XX_KBR4,
212 C2_730_KBC0, 212 C2_7XX_KBC0,
213 D3_730_KBC1, 213 D3_7XX_KBC1,
214 E4_730_KBC2, 214 E4_7XX_KBC2,
215 F4_730_KBC3, 215 F4_7XX_KBC3,
216 E3_730_KBC4, 216 E3_7XX_KBC4,
217 217
218 /* USB */ 218 /* USB */
219 AA17_730_USB_DM, 219 AA17_7XX_USB_DM,
220 W16_730_USB_PU_EN, 220 W16_7XX_USB_PU_EN,
221 W17_730_USB_VBUSI, 221 W17_7XX_USB_VBUSI,
222}; 222};
223 223
224enum omap1xxx_index { 224enum omap1xxx_index {