浏览代码

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>
Kyungmin Park 15 年之前
父节点
当前提交
f8539ddcbb
共有 2 个文件被更改,包括 9 次插入7 次删除
  1. 6 5
      drivers/mfd/Kconfig
  2. 3 2
      drivers/mfd/max8998.c

+ 6 - 5
drivers/mfd/Kconfig

@@ -294,14 +294,15 @@ config MFD_MAX8925
 	  to use the functionality of the device.
 	  to use the functionality of the device.
 
 
 config MFD_MAX8998
 config MFD_MAX8998
-	bool "Maxim Semiconductor MAX8998 PMIC Support"
+	bool "Maxim Semiconductor MAX8998/National LP3974 PMIC Support"
 	depends on I2C=y
 	depends on I2C=y
 	select MFD_CORE
 	select MFD_CORE
 	help
 	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
 config MFD_WM8400
 	tristate "Support Wolfson Microelectronics WM8400"
 	tristate "Support Wolfson Microelectronics WM8400"

+ 3 - 2
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[] = {
 static const struct i2c_device_id max8998_i2c_id[] = {
-       { "max8998", 0 },
-       { }
+	{ "max8998", 0 },
+	{ "lp3974", 0 },
+	{ }
 };
 };
 MODULE_DEVICE_TABLE(i2c, max8998_i2c_id);
 MODULE_DEVICE_TABLE(i2c, max8998_i2c_id);