#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
- -----#include <linux/i2c/tps65010.h>
+ +++++#include <linux/mfd/tps65010.h>
#include <linux/platform_data/gpio-omap.h>
#include <linux/platform_data/omap1_bl.h>
.chip_select = 0,
} };
--- - -#ifdef CONFIG_PM
static irqreturn_t
osk_mistral_wake_interrupt(int irq, void *ignored)
{
return IRQ_HANDLED;
}
--- - -#endif
static void __init osk_mistral_init(void)
{
gpio_direction_input(OMAP_MPUIO(2));
irq_set_irq_type(irq, IRQ_TYPE_EDGE_RISING);
--- - -#ifdef CONFIG_PM
/* share the IRQ in case someone wants to use the
* button for more than wakeup from system sleep.
*/
ret);
} else
enable_irq_wake(irq);
--- - -#endif
} else
printk(KERN_ERR "OSK+Mistral: wakeup button is awol\n");
different functionality of the device.
config MFD_RK808
------ tristate "Rockchip RK808/RK818 Power Management Chip"
++++++ tristate "Rockchip RK805/RK808/RK818 Power Management Chip"
depends on I2C && OF
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
help
------ If you say yes here you get support for the RK808 and RK818
++++++ If you say yes here you get support for the RK805, RK808 and RK818
Power Management chips.
This driver provides common support for accessing the device
through I2C interface. The device supports multiple sub-devices
in various ST Microelectronics and ST-Ericsson embedded
Nomadik series.
+++ +++config MFD_STM32_LPTIMER
+++ +++ tristate "Support for STM32 Low-Power Timer"
+++ +++ depends on (ARCH_STM32 && OF) || COMPILE_TEST
+++ +++ select MFD_CORE
+++ +++ select REGMAP
+++ +++ select REGMAP_MMIO
+++ +++ help
+++ +++ Select this option to enable STM32 Low-Power Timer driver
+++ +++ used for PWM, IIO Trigger, IIO Encoder and Counter. Shared
+++ +++ resources are also dealt with here.
+++ +++
+++ +++ To compile this driver as a module, choose M here: the
+++ +++ module will be called stm32-lptimer.
+++ +++
config MFD_STM32_TIMERS
tristate "Support for STM32 Timers"
depends on (ARCH_STM32 && OF) || COMPILE_TEST