aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-21 00:26:16 -0500
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 09:05:10 -0400
commit705e0984444bc7109c5686c36333b27119d8a888 (patch)
tree3abc89595f1d0eabf6a7b320d2ca493af07b415e /arch/arm/mach-ux500/board-mop500.h
parent871056e7dfb6164ffd6c6665752f921f9d5c6a81 (diff)
mach-ux500: dynamic UIB (user interface boards) detection
Add support for dynamic detection of the UIB used (at the cost of one i2c error on the lesser-used UIB) and also provide an override via a command line parameter if needed. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 3104ae2a02c2..cedf8ebaad95 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -14,8 +14,14 @@
14#define GPIO_SDMMC_EN MOP500_EGPIO(17) 14#define GPIO_SDMMC_EN MOP500_EGPIO(17)
15#define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18) 15#define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
16 16
17struct i2c_board_info;
18
17extern void mop500_sdi_init(void); 19extern void mop500_sdi_init(void);
18extern void mop500_sdi_tc35892_init(void); 20extern void mop500_sdi_tc35892_init(void);
19extern void mop500_keypad_init(void); 21void __init mop500_u8500uib_init(void);
22void __init mop500_stuib_init(void);
23
24void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
25 unsigned n);
20 26
21#endif 27#endif