Skip to content

Commit f8539dd

Browse files
kyungmin-parkSamuel Ortiz
authored andcommitted
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>
1 parent b8e9cf0 commit f8539dd

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,14 +294,15 @@ config MFD_MAX8925
294294
to use the functionality of the device.
295295

296296
config MFD_MAX8998
297-
bool "Maxim Semiconductor MAX8998 PMIC Support"
297+
bool "Maxim Semiconductor MAX8998/National LP3974 PMIC Support"
298298
depends on I2C=y
299299
select MFD_CORE
300300
help
301-
Say yes here to support for Maxim Semiconductor MAX8998. This is
302-
a Power Management IC. This driver provies common support for
303-
accessing the device, additional drivers must be enabled in order
304-
to use the functionality of the device.
301+
Say yes here to support for Maxim Semiconductor MAX8998 and
302+
National Semiconductor LP3974. This is a Power Management IC.
303+
This driver provies common support for accessing the device,
304+
additional drivers must be enabled in order to use the functionality
305+
of the device.
305306

306307
config MFD_WM8400
307308
tristate "Support Wolfson Microelectronics WM8400"

‎drivers/mfd/max8998.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ static int max8998_i2c_remove(struct i2c_client *i2c)
125125
}
126126

127127
static const struct i2c_device_id max8998_i2c_id[] = {
128-
{ "max8998", 0 },
129-
{ }
128+
{ "max8998", 0 },
129+
{ "lp3974", 0 },
130+
{ }
130131
};
131132
MODULE_DEVICE_TABLE(i2c, max8998_i2c_id);
132133

0 commit comments

Comments
 (0)