summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-08-23 06:46:49 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:28:45 +0200
commitf8539ddcbbbca7b6a06e0c2cdfbd116ba43a2fe0 (patch)
treefbc128750d423e91aa3b876f45a723959b84f480
parentgpio: Add bitmask to block requests to unavailable stmpe GPIOs (diff)
downloadlinux-f8539ddcbbbca7b6a06e0c2cdfbd116ba43a2fe0.tar.xz
linux-f8539ddcbbbca7b6a06e0c2cdfbd116ba43a2fe0.zip
mfd: LP3974 PMIC support
LP3974 PMIC support. It has same functionality as max8998. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/Kconfig11
-rw-r--r--drivers/mfd/max8998.c5
2 files changed, 9 insertions, 7 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index b3aedaaa7092..02cd6c0e59cb 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -294,14 +294,15 @@ config MFD_MAX8925
to use the functionality of the device.
config MFD_MAX8998
- bool "Maxim Semiconductor MAX8998 PMIC Support"
+ bool "Maxim Semiconductor MAX8998/National LP3974 PMIC Support"
depends on I2C=y
select MFD_CORE
help
- Say yes here to support for Maxim Semiconductor MAX8998. This is
- a Power Management IC. This driver provies common support for
- accessing the device, additional drivers must be enabled in order
- to use the functionality of the device.
+ Say yes here to support for Maxim Semiconductor MAX8998 and
+ National Semiconductor LP3974. This is a Power Management IC.
+ This driver provies common support for accessing the device,
+ additional drivers must be enabled in order to use the functionality
+ of the device.
config MFD_WM8400
tristate "Support Wolfson Microelectronics WM8400"
diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c
index 73e6f5c4efc9..f1c928915880 100644
--- a/drivers/mfd/max8998.c
+++ b/drivers/mfd/max8998.c
@@ -125,8 +125,9 @@ static int max8998_i2c_remove(struct i2c_client *i2c)
}
static const struct i2c_device_id max8998_i2c_id[] = {
- { "max8998", 0 },
- { }
+ { "max8998", 0 },
+ { "lp3974", 0 },
+ { }
};
MODULE_DEVICE_TABLE(i2c, max8998_i2c_id);