Commit 96947e23 authored by Trilok Soni's avatar Trilok Soni Committed by Tony Lindgren

ARM: OMAP: menelaus chip info for H4 board.

- Add menelaus i2c chip info for H4 board.
Signed-off-by: default avatarTrilok Soni <soni.trilok@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9f12fda2
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/input.h> #include <linux/input.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/i2c.h>
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
...@@ -491,6 +492,15 @@ static void __init tusb_evm_setup(void) ...@@ -491,6 +492,15 @@ static void __init tusb_evm_setup(void)
#endif #endif
static struct i2c_board_info __initdata h4_i2c_board_info[] = {
#ifdef CONFIG_MENELAUS
{
I2C_BOARD_INFO("menelaus", 0x72),
.irq = INT_24XX_SYS_NIRQ,
},
#endif
};
static void __init omap_h4_init(void) static void __init omap_h4_init(void)
{ {
/* /*
...@@ -519,6 +529,9 @@ static void __init omap_h4_init(void) ...@@ -519,6 +529,9 @@ static void __init omap_h4_init(void)
omap_cfg_reg(V19_24XX_USB1_RCV); omap_cfg_reg(V19_24XX_USB1_RCV);
#endif #endif
i2c_register_board_info(1, h4_i2c_board_info,
ARRAY_SIZE(h4_i2c_board_info));
platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices)); platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices));
omap_board_config = h4_config; omap_board_config = h4_config;
omap_board_config_size = ARRAY_SIZE(h4_config); omap_board_config_size = ARRAY_SIZE(h4_config);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment