diff options
-rw-r--r-- | drivers/mfd/Kconfig | 11 | ||||
-rw-r--r-- | drivers/mfd/sec-irq.c | 8 |
2 files changed, 17 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 7ef170dc766d..8c5dfdce4326 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -1032,17 +1032,24 @@ config MFD_RN5T618 | |||
1032 | functionality of the device. | 1032 | functionality of the device. |
1033 | 1033 | ||
1034 | config MFD_SEC_CORE | 1034 | config MFD_SEC_CORE |
1035 | bool "SAMSUNG Electronics PMIC Series Support" | 1035 | tristate "SAMSUNG Electronics PMIC Series Support" |
1036 | depends on I2C=y | 1036 | depends on I2C=y |
1037 | select MFD_CORE | 1037 | select MFD_CORE |
1038 | select REGMAP_I2C | 1038 | select REGMAP_I2C |
1039 | select REGMAP_IRQ | 1039 | select REGMAP_IRQ |
1040 | help | 1040 | help |
1041 | Support for the Samsung Electronics MFD series. | 1041 | Support for the Samsung Electronics PMIC devices coming |
1042 | usually along with Samsung Exynos SoC chipset. | ||
1042 | This driver provides common support for accessing the device, | 1043 | This driver provides common support for accessing the device, |
1043 | additional drivers must be enabled in order to use the functionality | 1044 | additional drivers must be enabled in order to use the functionality |
1044 | of the device | 1045 | of the device |
1045 | 1046 | ||
1047 | To compile this driver as a module, choose M here: the | ||
1048 | module will be called sec-core. | ||
1049 | Have in mind that important core drivers (like regulators) depend | ||
1050 | on this driver so building this as a module might require proper | ||
1051 | initial ramdisk or might not boot up as well in certain scenarios. | ||
1052 | |||
1046 | config MFD_SI476X_CORE | 1053 | config MFD_SI476X_CORE |
1047 | tristate "Silicon Laboratories 4761/64/68 AM/FM radio." | 1054 | tristate "Silicon Laboratories 4761/64/68 AM/FM radio." |
1048 | depends on I2C | 1055 | depends on I2C |
diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c index 295d24d4501d..ad0099077e7e 100644 --- a/drivers/mfd/sec-irq.c +++ b/drivers/mfd/sec-irq.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/device.h> | 6 | #include <linux/device.h> |
7 | #include <linux/interrupt.h> | 7 | #include <linux/interrupt.h> |
8 | #include <linux/irq.h> | 8 | #include <linux/irq.h> |
9 | #include <linux/module.h> | ||
9 | #include <linux/regmap.h> | 10 | #include <linux/regmap.h> |
10 | 11 | ||
11 | #include <linux/mfd/samsung/core.h> | 12 | #include <linux/mfd/samsung/core.h> |
@@ -493,3 +494,10 @@ int sec_irq_init(struct sec_pmic_dev *sec_pmic) | |||
493 | 494 | ||
494 | return 0; | 495 | return 0; |
495 | } | 496 | } |
497 | EXPORT_SYMBOL_GPL(sec_irq_init); | ||
498 | |||
499 | MODULE_AUTHOR("Sangbeom Kim <sbkim73@samsung.com>"); | ||
500 | MODULE_AUTHOR("Chanwoo Choi <cw00.choi@samsung.com>"); | ||
501 | MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>"); | ||
502 | MODULE_DESCRIPTION("Interrupt support for the S5M MFD"); | ||
503 | MODULE_LICENSE("GPL"); | ||