diff options
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index e0f5663a8acb..83489d899a14 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1763,6 +1763,19 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1763 | }, | 1763 | }, |
1764 | #endif | 1764 | #endif |
1765 | 1765 | ||
1766 | #if defined(CONFIG_AD7414) || defined(CONFIG_AD7414_MODULE) | ||
1767 | { | ||
1768 | I2C_BOARD_INFO("ad7414", 0x9), | ||
1769 | .irq = IRQ_PG5, | ||
1770 | /* | ||
1771 | * platform_data pointer is borrwoed by the driver to | ||
1772 | * store custimer defined IRQ ALART level mode. | ||
1773 | * only IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW are valid. | ||
1774 | */ | ||
1775 | .platform_data = (void *)IRQF_TRIGGER_LOW, | ||
1776 | }, | ||
1777 | #endif | ||
1778 | |||
1766 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) | 1779 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) |
1767 | { | 1780 | { |
1768 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), | 1781 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), |
@@ -2056,6 +2069,8 @@ static struct regulator_init_data adp_switch_regulator_data[] = { | |||
2056 | .constraints = { | 2069 | .constraints = { |
2057 | .name = REGULATOR_ADP122, | 2070 | .name = REGULATOR_ADP122, |
2058 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 2071 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
2072 | .min_uA = 0, | ||
2073 | .max_uA = 300000, | ||
2059 | }, | 2074 | }, |
2060 | .num_consumer_supplies = 1, /* only 1 */ | 2075 | .num_consumer_supplies = 1, /* only 1 */ |
2061 | .consumer_supplies = &adp122_consumers, | 2076 | .consumer_supplies = &adp122_consumers, |
@@ -2065,6 +2080,8 @@ static struct regulator_init_data adp_switch_regulator_data[] = { | |||
2065 | .constraints = { | 2080 | .constraints = { |
2066 | .name = REGULATOR_ADP150, | 2081 | .name = REGULATOR_ADP150, |
2067 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | 2082 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, |
2083 | .min_uA = 0, | ||
2084 | .max_uA = 150000, | ||
2068 | }, | 2085 | }, |
2069 | .num_consumer_supplies = 1, /* only 1 */ | 2086 | .num_consumer_supplies = 1, /* only 1 */ |
2070 | .consumer_supplies = &adp150_consumers, | 2087 | .consumer_supplies = &adp150_consumers, |