Skip to contentSkip to conversation

mfd: enable max8925

PATCH New Haojian Zhuang 1 participant 1 message Dec 17, 2009 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: enable max8925

Max8925 is a Power Management IC from Maxim Semiconductor.

Do basic support on accessing MAX8925.

---
 drivers/mfd/Kconfig         |    9 ++
 drivers/mfd/Makefile        |    2 +
 drivers/mfd/max8925-core.c  |  256 +++++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/max8925-i2c.c   |  202 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/max8925.h |  112 +++++++++++++++++++
 5 files changed, 581 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mfd/max8925-core.c
 create mode 100644 drivers/mfd/max8925-i2c.c
 create mode 100644 include/linux/mfd/max8925.h
drivers/mfd/Kconfig +9 -0
index 570be13..259cabf 100644
@@ -160,6 +160,15 @@ config PMIC_DA903X
 	  individual components like LCD backlight, voltage regulators,
 	  LEDs and battery-charger under the corresponding menus.
 
+config MFD_MAX8925
+	tristate "Maxim Semiconductor MAX8925 PMIC Support"
+	depends on I2C
+	help
+	  Say yes here to support for Maxim Semiconductor MAX8925. 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"
 	select MFD_CORE
drivers/mfd/Makefile +2 -0
index f3b277b..2809869 100644
@@ -44,6 +44,8 @@ endif
 obj-$(CONFIG_UCB1400_CORE)	+= ucb1400_core.o
 
 obj-$(CONFIG_PMIC_DA903X)	+= da903x.o
+max8925-objs			:= max8925-core.o max8925-i2c.o
+obj-$(CONFIG_MFD_MAX8925)	+= max8925.o
 
 obj-$(CONFIG_MFD_PCF50633)	+= pcf50633-core.o
 obj-$(CONFIG_PCF50633_ADC)	+= pcf50633-adc.o
drivers/mfd/max8925-core.c new file +256 -0

256 lines not on this page · raw message

drivers/mfd/max8925-i2c.c new file +202 -0

202 lines not on this page · raw message

include/linux/mfd/max8925.h new file +112 -0

112 lines not on this page · raw message

Signature · 1 line
1.5.6.5