mfd: rc5t583: Add support for RICOH PMIC RC5T583
Subsystems (2)
PATCH 1/1 mfd: rc5t583: Add support for RICOH PMIC RC5T583
Ricoh power management IC RC5T583 contains is multi functional device having multiple sub devices inside this. This device has multiple dcdc/ldo regulators, gpios, interrupt controllers, on-key, RTCs, ADCs.
This device have 4 DCDCs, 8 LDOs, 8 GPIOs, 6 ADCs, 3 RTCs etc.
--- drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile | 1 + drivers/mfd/rc5t583-irq.c | 408 +++++++++++++++++++++++++++++++++++++++++++ drivers/mfd/rc5t583.c | 386 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/rc5t583.h | 295 +++++++++++++++++++++++++++++++ 5 files changed, 1104 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/rc5t583-irq.c create mode 100644 drivers/mfd/rc5t583.c create mode 100644 include/linux/mfd/rc5t583.h
drivers/mfd/Kconfig +14 -0
@@ -854,6 +854,20 @@ config MFD_INTEL_MSIC Passage) chip. This chip embeds audio, battery, GPIO, etc. devices used in Intel Medfield platforms. +config MFD_RC5T583 + bool "Ricoh RC5T583 Power Management system device" + depends on I2C && GENERIC_HARDIRQS + select MFD_CORE + select REGMAP_I2C + help + Select this option to get support for the RICOH583 Power + Management system device. + This driver provides common support for accessing the device + through i2c interface. The device supports multiple sub-devices + like GPIO, interrupts, RTC, LDO and DCDC regulators, onkey. + Additional drivers must be enabled in order to use the + different functionality of the device. + endmenu endif
drivers/mfd/Makefile +1 -0
@@ -112,4 +112,5 @@ obj-$(CONFIG_MFD_PM8XXX_IRQ) += pm8xxx-irq.o obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o obj-$(CONFIG_MFD_AAT2870_CORE) += aat2870-core.o obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o +obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o obj-$(CONFIG_MFD_S5M_CORE) += s5m-core.o s5m-irq.o
drivers/mfd/rc5t583-irq.c new file +408 -0
408 lines not on this page · raw message
drivers/mfd/rc5t583.c new file +386 -0
386 lines not on this page · raw message
include/linux/mfd/rc5t583.h new file +295 -0
295 lines not on this page · raw message
Signature · 1 line
1.7.1.1
Hi Laxman,
Quoted 5 lines · Laxman Dewangan
Ricoh power management IC RC5T583 contains is multi functional device having multiple sub devices inside this. This device has multiple dcdc/ldo regulators, gpios, interrupt controllers, on-key, RTCs, ADCs.
This device have 4 DCDCs, 8 LDOs, 8 GPIOs, 6 ADCs, 3 RTCs etc.
Patch applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/