summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-21 06:26:16 +0100
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 14:05:10 +0100
commit705e0984444bc7109c5686c36333b27119d8a888 (patch)
tree3abc89595f1d0eabf6a7b320d2ca493af07b415e /arch/arm/mach-ux500/board-mop500.h
parentmach-ux500: fix ux500 build error (diff)
downloadlinux-705e0984444bc7109c5686c36333b27119d8a888.tar.xz
linux-705e0984444bc7109c5686c36333b27119d8a888.zip
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 @@
#define GPIO_SDMMC_EN MOP500_EGPIO(17)
#define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
+struct i2c_board_info;
+
extern void mop500_sdi_init(void);
extern void mop500_sdi_tc35892_init(void);
-extern void mop500_keypad_init(void);
+void __init mop500_u8500uib_init(void);
+void __init mop500_stuib_init(void);
+
+void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
+ unsigned n);
#endif