diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-22 06:16:27 -0500 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-01-04 06:17:43 -0500 |
commit | 87c13493e6a59c0da55c2824f0205f9ef941b760 (patch) | |
tree | e18146c62399a0195be0bb8e6f215dc102c4df7a /drivers | |
parent | 0931a4c6dbfab03f2bfd22a9170130f7b155d53a (diff) |
mfd: move drivers/i2c/chips/tps65010.c to drivers/mfd
Move the tps65010 driver from drivers/i2c/chips to drivers/mfd
since it's more of a multi-function device than anything else,
and since Jean is trying to vanish drivers/i2c/chips ASAP.
One way to think of these chips are as the PMIC family most
used with OMAP1 generation chips.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/chips/Kconfig | 13 | ||||
-rw-r--r-- | drivers/i2c/chips/Makefile | 1 | ||||
-rw-r--r-- | drivers/mfd/Kconfig | 13 | ||||
-rw-r--r-- | drivers/mfd/Makefile | 4 | ||||
-rw-r--r-- | drivers/mfd/tps65010.c (renamed from drivers/i2c/chips/tps65010.c) | 0 |
5 files changed, 16 insertions, 15 deletions
diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index 4c35702830ce..fa69c992c442 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig | |||
@@ -126,19 +126,6 @@ config ISP1301_OMAP | |||
126 | This driver can also be built as a module. If so, the module | 126 | This driver can also be built as a module. If so, the module |
127 | will be called isp1301_omap. | 127 | will be called isp1301_omap. |
128 | 128 | ||
129 | config TPS65010 | ||
130 | tristate "TPS6501x Power Management chips" | ||
131 | depends on GPIOLIB | ||
132 | default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK | ||
133 | help | ||
134 | If you say yes here you get support for the TPS6501x series of | ||
135 | Power Management chips. These include voltage regulators, | ||
136 | lithium ion/polymer battery charging, and other features that | ||
137 | are often used in portable devices like cell phones and cameras. | ||
138 | |||
139 | This driver can also be built as a module. If so, the module | ||
140 | will be called tps65010. | ||
141 | |||
142 | config SENSORS_MAX6875 | 129 | config SENSORS_MAX6875 |
143 | tristate "Maxim MAX6875 Power supply supervisor" | 130 | tristate "Maxim MAX6875 Power supply supervisor" |
144 | depends on EXPERIMENTAL | 131 | depends on EXPERIMENTAL |
diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile index 23d2a31b0a64..0c7e2f1e0c4b 100644 --- a/drivers/i2c/chips/Makefile +++ b/drivers/i2c/chips/Makefile | |||
@@ -19,7 +19,6 @@ obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o | |||
19 | obj-$(CONFIG_PCF8575) += pcf8575.o | 19 | obj-$(CONFIG_PCF8575) += pcf8575.o |
20 | obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o | 20 | obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o |
21 | obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o | 21 | obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o |
22 | obj-$(CONFIG_TPS65010) += tps65010.o | ||
23 | obj-$(CONFIG_MENELAUS) += menelaus.o | 22 | obj-$(CONFIG_MENELAUS) += menelaus.o |
24 | obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o | 23 | obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o |
25 | obj-$(CONFIG_MCU_MPC8349EMITX) += mcu_mpc8349emitx.o | 24 | obj-$(CONFIG_MCU_MPC8349EMITX) += mcu_mpc8349emitx.o |
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 02e9146ca44a..182e1486e9d1 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -69,6 +69,19 @@ config UCB1400_CORE | |||
69 | To compile this driver as a module, choose M here: the | 69 | To compile this driver as a module, choose M here: the |
70 | module will be called ucb1400_core. | 70 | module will be called ucb1400_core. |
71 | 71 | ||
72 | config TPS65010 | ||
73 | tristate "TPS6501x Power Management chips" | ||
74 | depends on I2C && GPIOLIB | ||
75 | default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK | ||
76 | help | ||
77 | If you say yes here you get support for the TPS6501x series of | ||
78 | Power Management chips. These include voltage regulators, | ||
79 | lithium ion/polymer battery charging, and other features that | ||
80 | are often used in portable devices like cell phones and cameras. | ||
81 | |||
82 | This driver can also be built as a module. If so, the module | ||
83 | will be called tps65010. | ||
84 | |||
72 | config TWL4030_CORE | 85 | config TWL4030_CORE |
73 | bool "Texas Instruments TWL4030/TPS659x0 Support" | 86 | bool "Texas Instruments TWL4030/TPS659x0 Support" |
74 | depends on I2C=y && GENERIC_HARDIRQS | 87 | depends on I2C=y && GENERIC_HARDIRQS |
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 8f6cd5c48930..3989e30e954e 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile | |||
@@ -19,6 +19,8 @@ wm8350-objs := wm8350-core.o wm8350-regmap.o wm8350-gpio.o | |||
19 | obj-$(CONFIG_MFD_WM8350) += wm8350.o | 19 | obj-$(CONFIG_MFD_WM8350) += wm8350.o |
20 | obj-$(CONFIG_MFD_WM8350_I2C) += wm8350-i2c.o | 20 | obj-$(CONFIG_MFD_WM8350_I2C) += wm8350-i2c.o |
21 | 21 | ||
22 | obj-$(CONFIG_TPS65010) += tps65010.o | ||
23 | |||
22 | obj-$(CONFIG_TWL4030_CORE) += twl4030-core.o twl4030-irq.o | 24 | obj-$(CONFIG_TWL4030_CORE) += twl4030-core.o twl4030-irq.o |
23 | 25 | ||
24 | obj-$(CONFIG_MFD_CORE) += mfd-core.o | 26 | obj-$(CONFIG_MFD_CORE) += mfd-core.o |
@@ -33,4 +35,4 @@ obj-$(CONFIG_MCP_UCB1200) += ucb1x00-assabet.o | |||
33 | endif | 35 | endif |
34 | obj-$(CONFIG_UCB1400_CORE) += ucb1400_core.o | 36 | obj-$(CONFIG_UCB1400_CORE) += ucb1400_core.o |
35 | 37 | ||
36 | obj-$(CONFIG_PMIC_DA903X) += da903x.o \ No newline at end of file | 38 | obj-$(CONFIG_PMIC_DA903X) += da903x.o |
diff --git a/drivers/i2c/chips/tps65010.c b/drivers/mfd/tps65010.c index acf8b9d5f575..acf8b9d5f575 100644 --- a/drivers/i2c/chips/tps65010.c +++ b/drivers/mfd/tps65010.c | |||