diff options
author | Sangbeom Kim <sbkim73@samsung.com> | 2012-07-11 08:06:40 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-16 06:57:35 -0400 |
commit | 66c9fbb9895499ff3aede96845968138a5bec8ab (patch) | |
tree | 8c2ec903b0c7995e689a80712b8bf9539f4f1cf6 | |
parent | 1faedca9c7bfd3055204b9d10017ce77ad03fc72 (diff) |
mfd: Rename s5m file and directories to samsung
Previously, Samsung PMIC naming rule start with prefix of s5m.
But Naming rule is changed.
From now on, Prefix will be changed to s2m.
So, To support pmic series of s5m and s2m, change mfd file and directory name.
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/Kconfig | 6 | ||||
-rw-r--r-- | drivers/mfd/Makefile | 2 | ||||
-rw-r--r-- | drivers/mfd/sec-core.c (renamed from drivers/mfd/s5m-core.c) | 6 | ||||
-rw-r--r-- | drivers/mfd/sec-irq.c (renamed from drivers/mfd/s5m-irq.c) | 4 | ||||
-rw-r--r-- | drivers/regulator/Kconfig | 2 | ||||
-rw-r--r-- | drivers/regulator/s5m8767.c | 4 | ||||
-rw-r--r-- | include/linux/mfd/samsung/s5m-core.h (renamed from include/linux/mfd/s5m87xx/s5m-core.h) | 2 | ||||
-rw-r--r-- | include/linux/mfd/samsung/s5m-pmic.h (renamed from include/linux/mfd/s5m87xx/s5m-pmic.h) | 0 | ||||
-rw-r--r-- | include/linux/mfd/samsung/s5m-rtc.h (renamed from include/linux/mfd/s5m87xx/s5m-rtc.h) | 0 |
9 files changed, 13 insertions, 13 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 9c3ab2ab7dc7..bad68f82772a 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -508,13 +508,13 @@ config MFD_MAX8998 | |||
508 | additional drivers must be enabled in order to use the functionality | 508 | additional drivers must be enabled in order to use the functionality |
509 | of the device. | 509 | of the device. |
510 | 510 | ||
511 | config MFD_S5M_CORE | 511 | config MFD_SEC_CORE |
512 | bool "SAMSUNG S5M Series Support" | 512 | bool "SAMSUNG Electronics PMIC Series Support" |
513 | depends on I2C=y && GENERIC_HARDIRQS | 513 | depends on I2C=y && GENERIC_HARDIRQS |
514 | select MFD_CORE | 514 | select MFD_CORE |
515 | select REGMAP_I2C | 515 | select REGMAP_I2C |
516 | help | 516 | help |
517 | Support for the Samsung Electronics S5M MFD series. | 517 | Support for the Samsung Electronics MFD series. |
518 | This driver provides common support for accessing the device, | 518 | This driver provides common support for accessing the device, |
519 | additional drivers must be enabled in order to use the functionality | 519 | additional drivers must be enabled in order to use the functionality |
520 | of the device | 520 | of the device |
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 09674a99eb60..9c9727fe3f09 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile | |||
@@ -126,6 +126,6 @@ obj-$(CONFIG_MFD_AAT2870_CORE) += aat2870-core.o | |||
126 | obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o | 126 | obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o |
127 | obj-$(CONFIG_MFD_PALMAS) += palmas.o | 127 | obj-$(CONFIG_MFD_PALMAS) += palmas.o |
128 | obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o | 128 | obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o |
129 | obj-$(CONFIG_MFD_S5M_CORE) += s5m-core.o s5m-irq.o | 129 | obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o |
130 | obj-$(CONFIG_MFD_ANATOP) += anatop-mfd.o | 130 | obj-$(CONFIG_MFD_ANATOP) += anatop-mfd.o |
131 | obj-$(CONFIG_MFD_LM3533) += lm3533-core.o lm3533-ctrlbank.o | 131 | obj-$(CONFIG_MFD_LM3533) += lm3533-core.o lm3533-ctrlbank.o |
diff --git a/drivers/mfd/s5m-core.c b/drivers/mfd/sec-core.c index dd170307e60e..b09036022bca 100644 --- a/drivers/mfd/s5m-core.c +++ b/drivers/mfd/sec-core.c | |||
@@ -21,9 +21,9 @@ | |||
21 | #include <linux/pm_runtime.h> | 21 | #include <linux/pm_runtime.h> |
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <linux/mfd/core.h> | 23 | #include <linux/mfd/core.h> |
24 | #include <linux/mfd/s5m87xx/s5m-core.h> | 24 | #include <linux/mfd/samsung/s5m-core.h> |
25 | #include <linux/mfd/s5m87xx/s5m-pmic.h> | 25 | #include <linux/mfd/samsung/s5m-pmic.h> |
26 | #include <linux/mfd/s5m87xx/s5m-rtc.h> | 26 | #include <linux/mfd/samsung/s5m-rtc.h> |
27 | #include <linux/regmap.h> | 27 | #include <linux/regmap.h> |
28 | 28 | ||
29 | static struct mfd_cell s5m8751_devs[] = { | 29 | static struct mfd_cell s5m8751_devs[] = { |
diff --git a/drivers/mfd/s5m-irq.c b/drivers/mfd/sec-irq.c index 0236676085cf..5e90cc1f0fd7 100644 --- a/drivers/mfd/s5m-irq.c +++ b/drivers/mfd/sec-irq.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/device.h> | 14 | #include <linux/device.h> |
15 | #include <linux/interrupt.h> | 15 | #include <linux/interrupt.h> |
16 | #include <linux/irq.h> | 16 | #include <linux/irq.h> |
17 | #include <linux/mfd/s5m87xx/s5m-core.h> | 17 | #include <linux/mfd/samsung/s5m-core.h> |
18 | 18 | ||
19 | struct s5m_irq_data { | 19 | struct s5m_irq_data { |
20 | int reg; | 20 | int reg; |
@@ -333,7 +333,7 @@ static irqreturn_t s5m8763_irq_thread(int irq, void *data) | |||
333 | 333 | ||
334 | int s5m_irq_resume(struct s5m87xx_dev *s5m87xx) | 334 | int s5m_irq_resume(struct s5m87xx_dev *s5m87xx) |
335 | { | 335 | { |
336 | if (s5m87xx->irq && s5m87xx->irq_base){ | 336 | if (s5m87xx->irq && s5m87xx->irq_base) { |
337 | switch (s5m87xx->device_type) { | 337 | switch (s5m87xx->device_type) { |
338 | case S5M8763X: | 338 | case S5M8763X: |
339 | s5m8763_irq_thread(s5m87xx->irq_base, s5m87xx); | 339 | s5m8763_irq_thread(s5m87xx->irq_base, s5m87xx); |
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index c86b8864e411..12c0c0ee989d 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig | |||
@@ -235,7 +235,7 @@ config REGULATOR_RC5T583 | |||
235 | 235 | ||
236 | config REGULATOR_S5M8767 | 236 | config REGULATOR_S5M8767 |
237 | tristate "Samsung S5M8767A voltage regulator" | 237 | tristate "Samsung S5M8767A voltage regulator" |
238 | depends on MFD_S5M_CORE | 238 | depends on MFD_SEC_CORE |
239 | help | 239 | help |
240 | This driver supports a Samsung S5M8767A voltage output regulator | 240 | This driver supports a Samsung S5M8767A voltage output regulator |
241 | via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and | 241 | via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and |
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 9caadb482178..a77895889f3a 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c | |||
@@ -19,8 +19,8 @@ | |||
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | #include <linux/regulator/driver.h> | 20 | #include <linux/regulator/driver.h> |
21 | #include <linux/regulator/machine.h> | 21 | #include <linux/regulator/machine.h> |
22 | #include <linux/mfd/s5m87xx/s5m-core.h> | 22 | #include <linux/mfd/samsung/s5m-core.h> |
23 | #include <linux/mfd/s5m87xx/s5m-pmic.h> | 23 | #include <linux/mfd/samsung/s5m-pmic.h> |
24 | 24 | ||
25 | struct s5m8767_info { | 25 | struct s5m8767_info { |
26 | struct device *dev; | 26 | struct device *dev; |
diff --git a/include/linux/mfd/s5m87xx/s5m-core.h b/include/linux/mfd/samsung/s5m-core.h index 21603b42f22f..7332ff608c85 100644 --- a/include/linux/mfd/s5m87xx/s5m-core.h +++ b/include/linux/mfd/samsung/s5m-core.h | |||
@@ -340,7 +340,7 @@ struct s5m_platform_data { | |||
340 | int num_regulators; | 340 | int num_regulators; |
341 | 341 | ||
342 | int irq_base; | 342 | int irq_base; |
343 | int (*cfg_pmic_irq)(void); | 343 | int (*cfg_pmic_irq)(void); |
344 | 344 | ||
345 | int ono; | 345 | int ono; |
346 | bool wakeup; | 346 | bool wakeup; |
diff --git a/include/linux/mfd/s5m87xx/s5m-pmic.h b/include/linux/mfd/samsung/s5m-pmic.h index 7c719f20f58a..7c719f20f58a 100644 --- a/include/linux/mfd/s5m87xx/s5m-pmic.h +++ b/include/linux/mfd/samsung/s5m-pmic.h | |||
diff --git a/include/linux/mfd/s5m87xx/s5m-rtc.h b/include/linux/mfd/samsung/s5m-rtc.h index 6ce8da264cec..6ce8da264cec 100644 --- a/include/linux/mfd/s5m87xx/s5m-rtc.h +++ b/include/linux/mfd/samsung/s5m-rtc.h | |||